Commit 8b83d67c authored by Ben Skeggs's avatar Ben Skeggs
Browse files

drm/nv40/pm: fix fanspeed regression


Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent e6084257
......@@ -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];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment