aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/nva3_pm.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2011-06-21 15:12:26 +1000
committerBen Skeggs <bskeggs@redhat.com>2011-09-20 16:03:34 +1000
commit9698b9a680e9aee124b1cd752abf1c672ea24c03 (patch)
treed42bcd462415b86d59e19448fa443e90ff67d2fa /drivers/gpu/drm/nouveau/nva3_pm.c
parent354d0781e5cef1f227ee3064cb65053365177d3b (diff)
downloadlinux-linaro-stable-9698b9a680e9aee124b1cd752abf1c672ea24c03.tar.gz
drm/nvc0/pm: more complete parsing of clock domains
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nva3_pm.c')
-rw-r--r--drivers/gpu/drm/nouveau/nva3_pm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nva3_pm.c b/drivers/gpu/drm/nouveau/nva3_pm.c
index 8541d5215e0d..864a15bd6128 100644
--- a/drivers/gpu/drm/nouveau/nva3_pm.c
+++ b/drivers/gpu/drm/nouveau/nva3_pm.c
@@ -215,6 +215,8 @@ nva3_pm_clocks_get(struct drm_device *dev, struct nouveau_pm_level *perflvl)
perflvl->memory = read_pll(dev, 0x02, 0x4000);
perflvl->unka0 = read_clk(dev, 0x20, false);
perflvl->vdec = read_clk(dev, 0x21, false);
+ perflvl->daemon = read_clk(dev, 0x25, false);
+ perflvl->copy = perflvl->core;
return 0;
}