Commit 3182f363 authored by Matthew Brost's avatar Matthew Brost
Browse files

drm/xe: Do not print timedout job message on killed exec queues



If a user ctrl-c an app while something is running on the GPU, jobs are
expected to timeout. Do not spam dmesg with timedout job messages in
this case.

Signed-off-by: default avatarMatthew Brost <matthew.brost@intel.com>
Reviewed-by: default avatarMatthew Auld <matthew.auld@intel.com>
Link: https://lore.kernel.org/r/20250428175505.935694-1-matthew.brost@intel.com
parent 9c088a5c
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -1179,7 +1179,10 @@ guc_exec_queue_timedout_job(struct drm_sched_job *drm_job)
		process_name = q->vm->xef->process_name;
		pid = q->vm->xef->pid;
	}
	xe_gt_notice(guc_to_gt(guc), "Timedout job: seqno=%u, lrc_seqno=%u, guc_id=%d, flags=0x%lx in %s [%d]",

	if (!exec_queue_killed(q))
		xe_gt_notice(guc_to_gt(guc),
			     "Timedout job: seqno=%u, lrc_seqno=%u, guc_id=%d, flags=0x%lx in %s [%d]",
			     xe_sched_job_seqno(job), xe_sched_job_lrc_seqno(job),
			     q->guc->id, q->flags, process_name, pid);