Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://lore.kernel.org/r/20250428175505.935694-1-matthew.brost@intel.com

+6 -3
+6 -3
drivers/gpu/drm/xe/xe_guc_submit.c
··· 1179 1179 process_name = q->vm->xef->process_name; 1180 1180 pid = q->vm->xef->pid; 1181 1181 } 1182 - xe_gt_notice(guc_to_gt(guc), "Timedout job: seqno=%u, lrc_seqno=%u, guc_id=%d, flags=0x%lx in %s [%d]", 1183 - xe_sched_job_seqno(job), xe_sched_job_lrc_seqno(job), 1184 - q->guc->id, q->flags, process_name, pid); 1182 + 1183 + if (!exec_queue_killed(q)) 1184 + xe_gt_notice(guc_to_gt(guc), 1185 + "Timedout job: seqno=%u, lrc_seqno=%u, guc_id=%d, flags=0x%lx in %s [%d]", 1186 + xe_sched_job_seqno(job), xe_sched_job_lrc_seqno(job), 1187 + q->guc->id, q->flags, process_name, pid); 1185 1188 1186 1189 trace_xe_sched_job_timedout(job); 1187 1190