提交 09dacc7b 编写于 作者: B Ben Skeggs

drm/nv40/therm: fix slowing down fan when pstate undefined

Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
上级 b9d9dcda
......@@ -117,7 +117,8 @@ nouveau_therm_update(struct nouveau_therm *therm, int mode)
priv->fan->bios.linear_max_temp) {
duty = nouveau_therm_update_linear(therm);
} else {
duty = priv->cstate;
if (priv->cstate)
duty = priv->cstate;
poll = false;
}
immd = false;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册