]> git.openfabrics.org - ~emulex/infiniband.git/commit
drm/nouveau/therm: make sure the temperature settings are sane on nv84+
authorMartin Peres <martin.peres@free.fr>
Sun, 24 Aug 2014 21:15:10 +0000 (23:15 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 15 Sep 2014 12:25:02 +0000 (22:25 +1000)
commitc5b4865e20d47b7ebc1ad78602b744e0b4307224
tree49b74e871da399cc4b587a7e0e46d5ffcf853919
parent3ca6cd435effd1d762217529baaab010f34f8cc8
drm/nouveau/therm: make sure the temperature settings are sane on nv84+

One of my nv92 has a calibrated internal sensor but it displays 0°C
as the default values use sw calibration values to force the temperature
to 0.

Since we cannot read the temperature from the adt7473 present on this board,
let's re-enable the internal reading!

Signed-off-by: Martin Peres <martin.peres@free.fr>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/subdev/therm/nv84.c
drivers/gpu/drm/nouveau/core/subdev/therm/nva3.c
drivers/gpu/drm/nouveau/core/subdev/therm/nvd0.c
drivers/gpu/drm/nouveau/core/subdev/therm/priv.h