Skip to content
Snippets Groups Projects
Commit 09dacc7b authored by Ben Skeggs's avatar Ben Skeggs
Browse files

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


Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent b9d9dcda
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment