drm/nouveau: pass perflvl struct to clock_pre()
authorBen Skeggs <bskeggs@redhat.com>
Sun, 26 Sep 2010 23:47:56 +0000 (09:47 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 4 Oct 2010 23:57:41 +0000 (09:57 +1000)
commit5c6dc6575460a0afe56d8cae7666e769e08ef942
treeec0ccbac221f82212b99247249ee9cbb78f88100
parentfe224bb7e12f1ea9a785ec942bc5d59950543888
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>
drivers/gpu/drm/nouveau/nouveau_drv.h
drivers/gpu/drm/nouveau/nouveau_pm.c
drivers/gpu/drm/nouveau/nouveau_pm.h
drivers/gpu/drm/nouveau/nv04_pm.c
drivers/gpu/drm/nouveau/nv50_pm.c