Chris Wilson a24c57d0b3 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: be90e344836a ("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>
2020-03-26 10:21:30 -07:00
..
2020-01-20 11:42:57 +10:00
2020-03-02 09:22:43 +01:00
2020-03-19 11:01:58 +10:00
2020-01-30 08:04:01 -08:00
2020-03-11 07:27:21 +10:00
2020-02-21 05:44:40 +10:00
2020-03-20 13:08:38 +10:00
2020-03-02 09:22:49 +01:00
2020-03-12 12:42:56 +10:00
2020-03-19 11:01:58 +10:00
2020-03-12 12:42:56 +10:00
2020-03-02 09:22:56 +01:00
2020-03-11 07:27:21 +10:00
2020-03-19 10:11:09 +10:00
2020-03-19 11:01:58 +10:00
2020-03-12 12:42:56 +10:00
2020-03-16 09:26:18 +01:00
2020-03-11 07:27:21 +10:00
2020-01-14 16:22:17 -05:00
2019-10-08 18:29:00 +02:00
2020-03-19 10:40:27 +10:00
2020-03-19 11:01:58 +10:00
2020-01-14 16:22:17 -05:00
2020-01-14 16:22:17 -05:00
2020-03-16 09:27:09 +01:00
2020-03-09 09:22:50 +00:00
2020-03-16 09:25:22 +01:00