diff options
author | Martin Peres <martin.peres@labri.fr> | 2014-03-14 03:26:52 +0400 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2014-03-26 08:08:24 +0400 |
commit | 61679fe153b2b9ea5b5e2ab93305419e85e99a9d (patch) | |
tree | 4ee9e9b60320cc6f97c5b0dde16a30542d2f3111 /drivers/auxdisplay | |
parent | 6c3252bc83155ae69d78fefdc7458aa64d8a87db (diff) | |
download | linux-61679fe153b2b9ea5b5e2ab93305419e85e99a9d.tar.xz |
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: <stable@vger.kernel.org> # 3.9+
Reported-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Tested-by: Timothée Ravier <tim@siosm.fr>
Tested-by: Boris Fersing (IRC nick fersingb, no public email address)
Signed-off-by: Martin Peres <martin.peres@free.fr>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/auxdisplay')
0 files changed, 0 insertions, 0 deletions