Skip to content

Commit 844758b

Browse files
committed
drm/xe: Print GuC queue submission state on engine reset
Print the GuC queue submission state when an engine reset occurs, as this provides clues about the cause of the reset. Signed-off-by: Matthew Brost <matthew.brost@intel.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Link: https://patch.msgid.link/20251218224546.4057424-1-matthew.brost@intel.com
1 parent 651065d commit 844758b

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

drivers/gpu/drm/xe/xe_guc_submit.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3080,8 +3080,9 @@ int xe_guc_exec_queue_reset_handler(struct xe_guc *guc, u32 *msg, u32 len)
30803080
if (unlikely(!q))
30813081
return -EPROTO;
30823082

3083-
xe_gt_info(gt, "Engine reset: engine_class=%s, logical_mask: 0x%x, guc_id=%d",
3084-
xe_hw_engine_class_to_str(q->class), q->logical_mask, guc_id);
3083+
xe_gt_info(gt, "Engine reset: engine_class=%s, logical_mask: 0x%x, guc_id=%d, state=0x%0x",
3084+
xe_hw_engine_class_to_str(q->class), q->logical_mask, guc_id,
3085+
atomic_read(&q->guc->state));
30853086

30863087
trace_xe_exec_queue_reset(q);
30873088

0 commit comments

Comments
 (0)