]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915/execlists: Only mark incomplete requests as -EIO on cancelling
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 11 Oct 2019 10:33:45 +0000 (11:33 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 11 Oct 2019 12:07:24 +0000 (13:07 +0100)
commitcbbf2787782ca5d17b479deb962a07f0421a7932
treec5af41bb7a5ad5fcf80a980901bdf5a0a4f336fe
parentc97fb526ca0666e515e94f96e922dfc50467fd01
drm/i915/execlists: Only mark incomplete requests as -EIO on cancelling

Only the requests that have not completed do we want to change the
status of to signal the -EIO when cancelling the inflight set of requests
upon wedging.

Reported-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191011103345.26013-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_lrc.c