Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -117,6 +117,7 @@ nouveau_therm_update(struct nouveau_therm *therm, int mode)
		    priv->fan->bios.linear_max_temp) {
			duty = nouveau_therm_update_linear(therm);
		} else {
			if (priv->cstate)
				duty = priv->cstate;
			poll = false;
		}