drm/i915: Ignore GPU wedged errors while pinning scanout buffers
authorKeith Packard <keithp@keithp.com>
Fri, 29 Jul 2011 21:45:21 +0000 (14:45 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 29 Jul 2011 22:08:41 +0000 (15:08 -0700)
commite0e3fb482105c65ce6f5480a86092e966a29ed79
treef19850467602a94720200a8e92b48c9997f74ef7
parentb055c8f3ef9f7bc6ba415d900f298d7801a9d1d4
drm/i915: Ignore GPU wedged errors while pinning scanout buffers

Failing to pin a scanout buffer will most likely lead to a black
screen, so if the GPU is wedged, then just let the pin happen and hope
that things work out OK.

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_gem.c