OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e608425
)
drm/nv40/pm: fix fanspeed regression
author
Ben Skeggs
<bskeggs@redhat.com>
Thu, 9 Feb 2012 05:25:25 +0000
(15:25 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Tue, 13 Mar 2012 07:14:59 +0000
(17:14 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_perf.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nouveau_perf.c
b/drivers/gpu/drm/nouveau/nouveau_perf.c
index
e649015
..
69a528d
100644
(file)
--- a/
drivers/gpu/drm/nouveau/nouveau_perf.c
+++ b/
drivers/gpu/drm/nouveau/nouveau_perf.c
@@
-300,6
+300,10
@@
nouveau_perf_init(struct drm_device *dev)
return;
}
+ perf = nouveau_perf_table(dev, &ver);
+ if (ver >= 0x20 && ver < 0x40)
+ pm->fan.pwm_divisor = ROM16(perf[6]);
+
while ((perf = nouveau_perf_entry(dev, ++i, &ver, &hdr, &cnt, &len))) {
struct nouveau_pm_level *perflvl = &pm->perflvl[pm->nr_perflvl];