提交 8b83d67c 编写于 作者: B Ben Skeggs

drm/nv40/pm: fix fanspeed regression

Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册