summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_perf.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2011-09-27 02:31:36 +0200
committerBen Skeggs <bskeggs@redhat.com>2011-12-21 10:01:13 +0100
commit35bb5089cc74e6d64cf0171b55c93e1bf8b8198d (patch)
treee6bec318d2056073371c6a860ad2fdd8ef78b86e /drivers/gpu/drm/nouveau/nouveau_perf.c
parentdrm/nouveau/pm: remove defunct fanspeed_set/get from pm table (diff)
downloadlinux-35bb5089cc74e6d64cf0171b55c93e1bf8b8198d.tar.xz
linux-35bb5089cc74e6d64cf0171b55c93e1bf8b8198d.zip
drm/nv50/pm: s/unk05/vdec/
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_perf.c')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_perf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_perf.c b/drivers/gpu/drm/nouveau/nouveau_perf.c
index 6ea57c91162b..da584e3a8f6a 100644
--- a/drivers/gpu/drm/nouveau/nouveau_perf.c
+++ b/drivers/gpu/drm/nouveau/nouveau_perf.c
@@ -301,8 +301,7 @@ nouveau_perf_init(struct drm_device *dev)
perflvl->core = ROM16(entry[8]) * 1000;
perflvl->shader = ROM16(entry[10]) * 1000;
perflvl->memory = ROM16(entry[12]) * 1000;
- /*XXX: confirm on 0x35 */
- perflvl->unk05 = ROM16(entry[16]) * 1000;
+ perflvl->vdec = ROM16(entry[16]) * 1000;
break;
case 0x40:
#define subent(n) (ROM16(entry[perf[2] + ((n) * perf[3])]) & 0xfff) * 1000