]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/bios/fan: hardcode the fan mode to linear
authorMartin Peres <martin.peres@free.fr>
Sun, 29 Nov 2015 14:10:18 +0000 (16:10 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 17 Dec 2015 23:01:22 +0000 (09:01 +1000)
commit32df2feab1f13d73028642a635dbee74f5a7a374
tree8ba48fe60f0dbe3d3c7ba408f7a9245ad04e47d5
parent14e3a5a255c3e63774445b3d42ee2a8cf07915c5
drm/nouveau/bios/fan: hardcode the fan mode to linear

This is an oversight that made use of the trip-point-based fan managenent on
cards that never expose those. This led the fan to stay at fan_min.

Fortunately, the emergency code would kick when the temperature would reach
90°C.

Reported-by: Tom Englund <tomenglund26@gmail.com>
Tested-by: Tom Englund <tomenglund26@gmail.com>
Signed-off-by: Martin Peres <martin.peres@free.fr>
Tested-by: Daemon32 <lnf.purple@gmail.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=92126
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/nouveau/nvkm/subdev/bios/fan.c