]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Cancel a hung context if already closed
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 19 Mar 2020 17:07:07 +0000 (17:07 +0000)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 26 Mar 2020 17:21:30 +0000 (10:21 -0700)
commit8fc7857739cfc97eb9a2e5f49382d04f3078be5e
tree245e2e219205ef23a1498c8b3ebdf3485b46e1b4
parent26ffb2fbe01b05dfa2b5a386a4aaa71c5f4012c8
drm/i915/gt: Cancel a hung context if already closed

Use the restored ability to check if a context is closed to decide
whether or not to immediately ban the context from further execution
after a hang.

Fixes: 239f2098a352 ("drm/i915/gt: Cancel banned contexts after GT reset")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200319170707.8262-2-chris@chris-wilson.co.uk
(cherry picked from commit 8e37d699139128139c0468e005c2f0d6215b0c55)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/gt/intel_reset.c