[Intel-gfx] [PATCH 0/3] Flush G2H handler during a GT reset

Matthew Brost
2022-01-18T21:49:55Z

After a small fix to error capture code, we now can flush G2H during a
GT reset which simplifies code and seals some extreme corner case races.

v2:
(CI)
- Don't trigger GT reset from G2H handler

Signed-off-by: Matthew Brost <matthew.brost@intel.com>

Matthew Brost (3):
drm/i915: Allocate intel_engine_coredump_alloc with ALLOW_FAIL
drm/i915/guc: Add work queue to trigger a GT reset
drm/i915/guc: Flush G2H handler during a GT reset

drivers/gpu/drm/i915/gt/uc/intel_guc.h | 5 +++
.../gpu/drm/i915/gt/uc/intel_guc_submission.c | 41 +++++++++----------
drivers/gpu/drm/i915/i915_gpu_error.c | 2 +-
3 files changed, 26 insertions(+), 22 deletions(-)

--
2.34.1