]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Mark all incomplete requests as -EIO when wedged
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 10 Jan 2017 17:22:45 +0000 (17:22 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 10 Jan 2017 20:49:31 +0000 (20:49 +0000)
commitefcc71cd6be44382364d4258dc8b98dfeab81dd8
tree2bee7c645c24691980f626bd44d8d292bb8b8921
parent46d890534fa6be3d11b9c4a4daaa6504826a804c
drm/i915: Mark all incomplete requests as -EIO when wedged

Similarly to a normal reset, after we mark the GPU as wedged (completely
fubar and no more requests can be executed), set the error status on all
the in flight requests.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170110172246.27297-4-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem.c