From: Martin Peres Date: Sun, 4 Nov 2012 23:18:49 +0000 (+0100) Subject: drm/nouveau/therm: implement support for temperature alarms X-Git-Tag: v3.9-rc1~83^2~10^2~72 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0083b91dac482c70eeb96745d9ef604f904da3e5;p=pandora-kernel.git drm/nouveau/therm: implement support for temperature alarms For now, we only boost the fan speed to the maximum and auto-mode when hitting the FAN_BOOST threshold and halt the computer when it reaches the shutdown temperature. The downclock and critical thresholds do nothing. On nv43:50 and nva3+, temperature is polled because of the limited hardware. I'll improve the nva3+ situation by implementing alarm management in PDAEMON whenever I can but polling once every second shouldn't be such a problem. v2 (Ben Skeggs): - rebased v3: fixed false-detections and threshold reprogrammation handling on nv50:nvc0 Signed-off-by: Ben Skeggs Signed-off-by: Martin Peres --- Reading git-diff-tree failed