]> 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)
commit3cd9442f66dc116089c5ac6257cf51652d8112bd
tree2bee7c645c24691980f626bd44d8d292bb8b8921
parent3c1b284759876785e31335d0f2278bfd507a1862
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