Rather allocating an error capture in nowait context to break a lockdep splat [1], do the error capture async compared to the G2H processing.
Signed-off-by: Matthew Brost matthew.brost@intel.com
[1] https://patchwork.freedesktop.org/patch/451415/?series=93704&rev=5
John Harrison (1): drm/i915/guc: Refcount context during error capture
Matthew Brost (3): drm/i915/guc: Move guc_ids under submission_state sub-structure drm/i915/guc: Do error capture asynchronously drm/i915/guc: Flush G2H work queue during reset
drivers/gpu/drm/i915/gt/intel_context.c | 2 + drivers/gpu/drm/i915/gt/intel_context_types.h | 16 ++- drivers/gpu/drm/i915/gt/uc/intel_guc.h | 36 +++-- .../gpu/drm/i915/gt/uc/intel_guc_submission.c | 133 ++++++++++++------ 4 files changed, 128 insertions(+), 59 deletions(-)