summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_pm.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_pm.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_pm.c')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_pm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_pm.c b/drivers/gpu/drm/nouveau/nouveau_pm.c
index 3ebc3f575c58..ea620d8de007 100644
--- a/drivers/gpu/drm/nouveau/nouveau_pm.c
+++ b/drivers/gpu/drm/nouveau/nouveau_pm.c
@@ -154,7 +154,7 @@ nouveau_pm_perflvl_set(struct drm_device *dev, struct nouveau_pm_level *perflvl)
nouveau_pm_clock_set(dev, perflvl, PLL_CORE, perflvl->core);
nouveau_pm_clock_set(dev, perflvl, PLL_SHADER, perflvl->shader);
nouveau_pm_clock_set(dev, perflvl, PLL_MEMORY, perflvl->memory);
- nouveau_pm_clock_set(dev, perflvl, PLL_UNK05, perflvl->unk05);
+ nouveau_pm_clock_set(dev, perflvl, PLL_UNK05, perflvl->vdec);
}
pm->cur = perflvl;
@@ -222,7 +222,7 @@ nouveau_pm_perflvl_get(struct drm_device *dev, struct nouveau_pm_level *perflvl)
ret = pm->clock_get(dev, PLL_UNK05);
if (ret > 0)
- perflvl->unk05 = ret;
+ perflvl->vdec = ret;
}
if (pm->voltage.supported && pm->voltage_get) {