drm/i915: Fix unresponsive X server issues
authorFrançois Tigeot <ftigeot@wolfpond.org>
Sun, 8 Jun 2014 21:14:56 +0000 (23:14 +0200)
committerFrançois Tigeot <ftigeot@wolfpond.org>
Sun, 8 Jun 2014 21:18:17 +0000 (23:18 +0200)
commit1e83febc5546aeb9cb2e9f491218008e90422c45
tree13b1a21ebbd962310cc3f35110bc4e367141e5c3
parentb030f26bec19aa96a4b0bb999ca8ca20a300e931
drm/i915: Fix unresponsive X server issues

* In some circumstances, the drm/i915 driver slept on irq_lock with no
  timeout and never woke up, causing the X server to become unresponsive

* It turns the absence of timeout came from the original FreeBSD version
  of this driver; Linux uses a 1 second timeout by default

* Add the same 1-second timeout to the culprit function calls, hopefully
  fixing this issue for good
sys/dev/drm/i915/i915_gem.c