drm/nouveau/drm/therm/fan: add a fallback if no fan control is specified in the vbios
authorMartin Peres <martin.peres@free.fr>
Thu, 29 Sep 2016 00:41:35 +0000 (03:41 +0300)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 17 Feb 2017 07:38:17 +0000 (17:38 +1000)
commit800efb4c2857ec543fdc33585bbcb1fd5ef28337
treeaa5da9c49ec0cbeda3d79a9dd2a3a03d39975e37
parent7722e1b0b6accab2ca11da0e9c708459fff65fb4
drm/nouveau/drm/therm/fan: add a fallback if no fan control is specified in the vbios

This seems to be absolutely necessary for a lot of NV40.

Reported-by: gsgf on IRC/freenode
Signed-off-by: Martin Peres <martin.peres@free.fr>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c