[PATCH 4/4] HAX wip debugging + messages for igt analysis
Alan Previn
alan.previn.teres.alexis at intel.com
Fri Sep 9 04:52:20 UTC 2022
HAX wip debugging + messages for igt analysis
---
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c b/drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c
index f9bba377ea8f..0cabfabfd236 100644
--- a/drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c
+++ b/drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c
@@ -3129,7 +3129,7 @@ static void guc_flush_all_delayed_disable_sched_contexts(struct intel_guc *guc)
unsigned long flags;
unsigned long ceflags;
//intel_wakeref_t wakeref;
- //u16 guc_id;
+ u16 guc_id;
xa_lock_irqsave(&guc->context_lookup, flags);
DRM_INFO("ALANPREVIN - start flushing all delay-disable workers");
@@ -3146,8 +3146,8 @@ static void guc_flush_all_delayed_disable_sched_contexts(struct intel_guc *guc)
with_intel_runtime_pm(&guc_to_gt(guc)->i915->runtime_pm, wakeref)
__guc_context_sched_disable(guc, ce, guc_id);*/
spin_lock_irqsave(&ce->guc_state.lock, ceflags);
+ guc_id = prep_context_pending_disable(ce);
spin_unlock_irqrestore(&ce->guc_state.lock, ceflags);
- intel_context_sched_disable_unpin(ce);
}
xa_lock(&guc->context_lookup);
}
--
2.25.1
More information about the Intel-gfx-trybot
mailing list