[PATCH 2/2] drm/xe/guc: Suppress Dead CTB Dump during fault injection tests
Michal Wajdeczko
michal.wajdeczko at intel.com
Mon May 12 16:19:47 UTC 2025
There is no point in generating a CTB dump due to a fault
injected by our tests, as it they will just stress our CI.
Signed-off-by: Michal Wajdeczko <michal.wajdeczko at intel.com>
Cc: Satyanarayana K V P <satyanarayana.k.v.p at intel.com>
Cc: John Harrison <john.c.harrison at intel.com>
---
drivers/gpu/drm/xe/xe_guc_ct.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/gpu/drm/xe/xe_guc_ct.c b/drivers/gpu/drm/xe/xe_guc_ct.c
index ff6edf1b14f4..c21dc88099ab 100644
--- a/drivers/gpu/drm/xe/xe_guc_ct.c
+++ b/drivers/gpu/drm/xe/xe_guc_ct.c
@@ -1964,6 +1964,10 @@ static void ct_dead_capture(struct xe_guc_ct *ct, struct guc_ctb *ctb, u32 reaso
if (ctb)
ctb->info.broken = true;
+ /* Skip dumps during internal testing */
+ if (xe_fault_injection_in_progress(ct_to_xe(ct)))
+ return;
+
/* Ignore further errors after the first dump until a reset */
if (ct->dead.reported)
return;
--
2.47.1
More information about the Intel-xe
mailing list