drm/i915: Skip GPU wait for scanout pin while wedged
authorKeith Packard <keithp@keithp.com>
Tue, 19 Jul 2011 23:21:40 +0000 (16:21 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 22 Jul 2011 03:18:31 +0000 (20:18 -0700)
commitf0b69efc29b024747a88ce020dada425e3193d5a
treec39f14bf91434cae760489c79b711f25cadf1aad
parenta5071c2fd91f320bc40952df59517053a7346fa9
drm/i915: Skip GPU wait for scanout pin while wedged

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.

v2: Just ignore any error from i915_gem_object_wait_rendering, as
suggested by Chris Wilson

Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/i915_gem.c