diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2010-09-27 04:13:23 +0400 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2010-10-05 03:57:49 +0400 |
commit | aee582de806c7008756df23aa444c8e7d58004a9 (patch) | |
tree | 375bf48a622d8732ddc4681dccc9fe71505bb73d /drivers/gpu/drm/nouveau/nouveau_perf.c | |
parent | 5c6dc6575460a0afe56d8cae7666e769e08ef942 (diff) | |
download | linux-aee582de806c7008756df23aa444c8e7d58004a9.tar.xz |
drm/nouveau: run perflvl and M table scripts on mem clock change
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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_perf.c b/drivers/gpu/drm/nouveau/nouveau_perf.c index 6b641b69cb77..5a95be654123 100644 --- a/drivers/gpu/drm/nouveau/nouveau_perf.c +++ b/drivers/gpu/drm/nouveau/nouveau_perf.c @@ -160,6 +160,7 @@ nouveau_perf_init(struct drm_device *dev) perflvl->memory = ROM16(entry[12]) * 1000; break; case 0x30: + perflvl->memscript = ROM16(entry[2]); case 0x35: perflvl->fanspeed = entry[6]; perflvl->voltage = entry[7]; |