]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/nouveau: Don't disable polling in fallback mode
authorTakashi Iwai <tiwai@suse.de>
Wed, 12 Sep 2018 10:58:43 +0000 (12:58 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 11 Jan 2019 06:25:54 +0000 (16:25 +1000)
commit118780066e30c34de3d9349710b51780bfa0ba83
treefafdb878d3aed4cc3f53832b673240f764321918
parent15f77c4ade3364106a3a397f0a8d6fce9d6a6326
drm/nouveau: Don't disable polling in fallback mode

When a fan is controlled via linear fallback without cstate, we
shouldn't stop polling.  Otherwise it won't be adjusted again and
keeps running at an initial crazy pace.

Fixes: 800efb4c2857 ("drm/nouveau/drm/therm/fan: add a fallback if no fan control is specified in the vbios")
Bugzilla: https://bugzilla.suse.com/show_bug.cgi?id=1103356
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107447
Reported-by: Thomas Blume <thomas.blume@suse.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Reviewed-by: Martin Peres <martin.peres@free.fr>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c