Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1] drm/xe/guc_submit: Log wedged mode correctly
@ 2026-02-28 19:05 Raag Jadav
  2026-02-28 19:15 ` ✓ CI.KUnit: success for " Patchwork
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Raag Jadav @ 2026-02-28 19:05 UTC (permalink / raw)
  To: intel-xe
  Cc: matthew.brost, rodrigo.vivi, riana.tauro, michal.wajdeczko,
	matthew.d.roper, lukasz.laguna, Raag Jadav

The device can be declared wedged in basically any wedged mode. Log the
correct one that is set in device struct instead of hardcoding it.

Fixes: 17d3c3365ba9 ("drm/xe: Validate wedged_mode parameter and define enum for modes")
Signed-off-by: Raag Jadav <raag.jadav@intel.com>
---
 drivers/gpu/drm/xe/xe_guc_submit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/xe/xe_guc_submit.c b/drivers/gpu/drm/xe/xe_guc_submit.c
index de716c1fb18e..4c761087c830 100644
--- a/drivers/gpu/drm/xe/xe_guc_submit.c
+++ b/drivers/gpu/drm/xe/xe_guc_submit.c
@@ -1319,7 +1319,7 @@ void xe_guc_submit_wedge(struct xe_guc *guc)
 	if (err) {
 		xe_gt_err(gt, "Failed to register clean-up in wedged.mode=%s; "
 			  "Although device is wedged.\n",
-			  xe_wedged_mode_to_string(XE_WEDGED_MODE_UPON_ANY_HANG_NO_RESET));
+			  xe_wedged_mode_to_string(guc_to_xe(guc)->wedged.mode));
 		return;
 	}
 
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-03-02  4:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-28 19:05 [PATCH v1] drm/xe/guc_submit: Log wedged mode correctly Raag Jadav
2026-02-28 19:15 ` ✓ CI.KUnit: success for " Patchwork
2026-02-28 19:58 ` ✓ Xe.CI.BAT: " Patchwork
2026-02-28 21:00 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-03-02  4:40 ` [PATCH v1] " Matthew Brost

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox