]> git.baikalelectronics.ru Git - kernel.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)
commitf9e270bc9970ad3679c8c7ba8f4f663954ceb682
tree49b74e871da399cc4b587a7e0e46d5ffcf853919
parentfaaa1a298b5bb4730c52406aa7c9d0ae4aed1d6d
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