]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/therm: force a minimum hysteresis on temperature alarm thresholds
authorMartin Peres <martin.peres@labri.fr>
Sat, 8 Dec 2012 13:00:38 +0000 (14:00 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 20 Feb 2013 06:00:30 +0000 (16:00 +1000)
commit47520fc49c75be0a471f6e1715c44f40d05a0466
tree09d491e27b43fecc16f4cd7bf66420717565a46f
parente334c89caed30b00fb3bc9ed71ed51cd82c2683e
drm/nouveau/therm: force a minimum hysteresis on temperature alarm thresholds

This should avoid the situation where a user gets its kernel logs flooded when
temperature oscillates around a threshold with 0°C hysteresis.

This patch is just meant to fix broken vbios (as reported on a nv4e on
sysfs hwmon interface.

Signed-off-by: Martin Peres <martin.peres@labri.fr>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/subdev/therm/temp.c