linux/drivers/gpu
Martin Peres c4a62a7660 drm/nouveau/therm: survive to suspend/resume cycles
Therm uses 3 ptimer alarms. Two to drive the fan and one for polling the
temperature. When suspending/resuming, alarms will never be fired.
As we are checking if there isn't an alarm pending before rescheduling
another one, we end up never checking temperature or updating the
fan speed.

This commit also adds debug messages to be able to spot more easily
if this case happens again in the future. Sorry for the spam if you
activate the debug level though.

Tested-by: Dash Four <mr.dash.four@googlemail.com>

v2:
- fix temperature polling too

Signed-off-by: Martin Peres <martin.peres@labri.fr>
Tested-by: Martin Peres <martin.peres@labri.fr>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2013-09-04 13:46:52 +10:00
..
drm drm/nouveau/therm: survive to suspend/resume cycles 2013-09-04 13:46:52 +10:00
host1x drm/tegra: Changes for v3.12-rc1 2013-09-04 09:01:02 +10:00
vga gpu/vga_switcheroo: add driver control power feature. (v3) 2013-08-29 13:30:21 +10:00
Makefile gpu: host1x: Add host1x driver 2013-04-22 12:32:40 +02:00