mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-03-22 07:27:12 +08:00
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
This commit is contained in:
@@ -3080,8 +3080,9 @@ int xe_guc_exec_queue_reset_handler(struct xe_guc *guc, u32 *msg, u32 len)
|
||||
if (unlikely(!q))
|
||||
return -EPROTO;
|
||||
|
||||
xe_gt_info(gt, "Engine reset: engine_class=%s, logical_mask: 0x%x, guc_id=%d",
|
||||
xe_hw_engine_class_to_str(q->class), q->logical_mask, guc_id);
|
||||
xe_gt_info(gt, "Engine reset: engine_class=%s, logical_mask: 0x%x, guc_id=%d, state=0x%0x",
|
||||
xe_hw_engine_class_to_str(q->class), q->logical_mask, guc_id,
|
||||
atomic_read(&q->guc->state));
|
||||
|
||||
trace_xe_exec_queue_reset(q);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user