drm/i915: Propagate error from flushing the ring
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 7 Jan 2011 17:09:48 +0000 (17:09 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 11 Jan 2011 20:44:50 +0000 (20:44 +0000)
commit882417851a0f2e09e110038a13e88e9b5a100800
tree6c96e700acb948aabbc7857f823bb8ad114b3b44
parent776ad8062bb77697b8728a9794e3a394b28cf885
drm/i915: Propagate error from flushing the ring

... in order to avoid a BUG() and potential unbounded waits.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_execbuffer.c