diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2011-06-17 06:11:31 (GMT) |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-09-20 06:02:36 (GMT) |
commit | 4fd2847e9bfa592ef8f76d5ec8a5c809682c323d (patch) | |
tree | 2ba114c48a713a7eb512d2a0042ede73f5e93d38 /drivers/gpu/drm/nouveau/nouveau_perf.c | |
parent | ca94a71fc4d99c99871dfca528a88aab1557641c (diff) | |
download | linux-fsl-qoriq-4fd2847e9bfa592ef8f76d5ec8a5c809682c323d.tar.xz |
drm/nva3/pm: parse/reclock vdec/41a0 clocks
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.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_perf.c b/drivers/gpu/drm/nouveau/nouveau_perf.c index b0e995f..b00cf4b 100644 --- a/drivers/gpu/drm/nouveau/nouveau_perf.c +++ b/drivers/gpu/drm/nouveau/nouveau_perf.c @@ -291,6 +291,8 @@ nouveau_perf_init(struct drm_device *dev) perflvl->core = ROM16(subent(0)) & 0xfff; perflvl->shader = ROM16(subent(1)) & 0xfff; perflvl->memory = ROM16(subent(2)) & 0xfff; + perflvl->vdec = ROM16(subent(3)) & 0xfff; + perflvl->unka0 = ROM16(subent(4)) & 0xfff; } else { perflvl->shader = ROM16(subent(3)) & 0xfff; perflvl->core = perflvl->shader / 2; @@ -302,6 +304,8 @@ nouveau_perf_init(struct drm_device *dev) perflvl->shader *= 1000; perflvl->memory *= 1000; perflvl->unk0a *= 1000; + perflvl->vdec *= 1000; + perflvl->unka0 *= 1000; break; } |