drm/nouveau: pass perflvl struct to clock_pre()
On certain boards, there's BIOS scripts and memory timings that need to be modified with the memclk. Just pass in the entire perflvl struct and let the chipset-specific code decide what to do. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
@@ -39,7 +39,8 @@ nv04_pm_clock_get(struct drm_device *dev, u32 id)
|
||||
}
|
||||
|
||||
void *
|
||||
nv04_pm_clock_pre(struct drm_device *dev, u32 id, int khz)
|
||||
nv04_pm_clock_pre(struct drm_device *dev, struct nouveau_pm_level *perflvl,
|
||||
u32 id, int khz)
|
||||
{
|
||||
struct nv04_pm_state *state;
|
||||
int ret;
|
||||
|
Reference in New Issue
Block a user