]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Only ignore already reset requests
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 7 Feb 2020 16:16:02 +0000 (16:16 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 7 Feb 2020 20:52:41 +0000 (20:52 +0000)
commit6e17ae73807c6b9b638f8e8ed5946f28e81e12ff
tree109a1d0a5cecf5b11fa511190aebe59cd277e768
parent0db1a5f8706a8cfb905b9cf3607c2ad626e7bff1
drm/i915/gt: Only ignore already reset requests

If a request is being re-run after an innocent reset, it is marked as
-EAGAIN. So only skip an engine reset if the request is marked as -EIO.

Testcase: igt/gem_ctx_exec/basic-nohangcheck
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200207161602.2838218-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gem/i915_gem_context.c
drivers/gpu/drm/i915/gt/intel_reset.c