diff options
author | Martin Peres <[email protected]> | 2014-03-14 00:26:52 +0100 |
---|---|---|
committer | Ben Skeggs <[email protected]> | 2014-03-26 14:08:24 +1000 |
commit | 61679fe153b2b9ea5b5e2ab93305419e85e99a9d (patch) | |
tree | 4ee9e9b60320cc6f97c5b0dde16a30542d2f3111 /lib/memory-notifier-error-inject.c | |
parent | 6c3252bc83155ae69d78fefdc7458aa64d8a87db (diff) |
drm/nouveau/pm/fan: drop the fan lock in fan_update() before rescheduling
This should fix a deadlock that has been reported to us where fan_update()
would hold the fan lock and try to grab the alarm_program_lock to reschedule
an update. On an other CPU, the alarm_program_lock would have been taken
before calling fan_update(), leading to a deadlock.
We should Cc: <[email protected]> # 3.9+
Reported-by: Marcin Slusarz <[email protected]>
Tested-by: Timothée Ravier <[email protected]>
Tested-by: Boris Fersing (IRC nick fersingb, no public email address)
Signed-off-by: Martin Peres <[email protected]>
Signed-off-by: Ben Skeggs <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions