diff options
author | 2021-01-09 16:34:55 +0000 | |
---|---|---|
committer | 2021-01-09 18:29:07 +0000 | |
commit | baa7c2cd99c6326b4d1dece6046479b183533943 (patch) | |
tree | e2b97256fd27e401e19d35ec9cfaf31f26601aa9 /drivers/gpu/drm/i915/gt/selftest_execlists.c | |
parent | drm/i915/gt: Mark up a debug-only function (diff) | |
download | linux-dev-baa7c2cd99c6326b4d1dece6046479b183533943.tar.xz linux-dev-baa7c2cd99c6326b4d1dece6046479b183533943.zip |
drm/i915: Refactor marking a request as EIO
When wedging the device, we cancel all outstanding requests and mark
them as EIO. Rather than duplicate the small function to do so between
each submission backend, export one.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Andi Shyti <andi.shyti@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210109163455.28466-3-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/gt/selftest_execlists.c')
0 files changed, 0 insertions, 0 deletions