drm: Fix locking issues in drm_irq.c
authorFrançois Tigeot <ftigeot@wolfpond.org>
Tue, 15 Jul 2014 20:02:10 +0000 (22:02 +0200)
committerFrançois Tigeot <ftigeot@wolfpond.org>
Tue, 15 Jul 2014 20:03:46 +0000 (22:03 +0200)
commitea2ce9e4d5fa44f1930704d06b54c5ddd1cad027
treed731ce99b0fceb8106d6dc1e8de88c7058bba308
parentdb2ac896813080e775d0cce25ee903932bc75292
drm: Fix locking issues in drm_irq.c

* Some functions expected the drm lock to be used differently than what
  gpu drivers really did, leading to crashes

* Sync them with Linux 3.8.13

Reported-by: Johannes Hofmann
sys/dev/drm/drm_irq.c