drm/nouveau/pm: introduce ram reclocking helper
authorBen Skeggs <bskeggs@redhat.com>
Mon, 23 Jan 2012 03:12:09 +0000 (13:12 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 13 Mar 2012 07:08:13 +0000 (17:08 +1000)
commit2d85bc8855d2734f5585861b261c5fe7a7ed92c1
tree37fdb182217e9adbfe3e526cf8587e081ebf3846
parent085028ce3bf7136c5ab2eeb8bf012024d88905c8
drm/nouveau/pm: introduce ram reclocking helper

This will probably result in more lines of code, however, we're going to
have at least 3 slightly different implementations of this very soon and
I'd rather keep the ram reclocking logic separate from the hw specifics.

DDR2/DDR3/GDDR3 implemented thus far, others will be added as necessary.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Martin Peres <martin.peres@labri.fr>
drivers/gpu/drm/nouveau/nouveau_mem.c
drivers/gpu/drm/nouveau/nouveau_pm.h