Commit 09dacc7b authored by Ben Skeggs's avatar Ben Skeggs

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

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent b9d9dcda
...@@ -117,6 +117,7 @@ nouveau_therm_update(struct nouveau_therm *therm, int mode) ...@@ -117,6 +117,7 @@ nouveau_therm_update(struct nouveau_therm *therm, int mode)
priv->fan->bios.linear_max_temp) { priv->fan->bios.linear_max_temp) {
duty = nouveau_therm_update_linear(therm); duty = nouveau_therm_update_linear(therm);
} else { } else {
if (priv->cstate)
duty = priv->cstate; duty = priv->cstate;
poll = false; poll = false;
} }
......
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