diff options
author | Martin Peres <[email protected]> | 2013-08-11 22:48:52 -0400 |
---|---|---|
committer | Ben Skeggs <[email protected]> | 2013-09-04 13:46:52 +1000 |
commit | c4a62a766062c268d08c1aacf2e18e057e277db4 (patch) | |
tree | 381ecbe9bcdc9c009e359720a281b235c78e8760 /lib/net_utils.c | |
parent | b925a75d6729cec8debd0c378b354d8c228b36aa (diff) |
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 <[email protected]>
v2:
- fix temperature polling too
Signed-off-by: Martin Peres <[email protected]>
Tested-by: Martin Peres <[email protected]>
Signed-off-by: Ben Skeggs <[email protected]>
Diffstat (limited to 'lib/net_utils.c')
0 files changed, 0 insertions, 0 deletions