mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-03 07:36:10 -04:00
drm/xe: skip error capture when exec queue is killed
When user closes exec queue soon after job submission, we are generating error coredump. Instead check if exec queue is killed during job timeout then skip error coredump capture. V2: - Just skip error capture - MattB Signed-off-by: Tejas Upadhyay <tejas.upadhyay@intel.com> Reviewed-by: Matthew Brost <matthew.brost@intel.com> Signed-off-by: Matthew Brost <matthew.brost@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240430131229.2228809-1-tejas.upadhyay@intel.com
This commit is contained in:
committed by
Matthew Brost
parent
a4cb575d91
commit
c18a5e3e61
@@ -980,8 +980,10 @@ guc_exec_queue_timedout_job(struct drm_sched_job *drm_job)
|
||||
xe_gt_WARN(q->gt, q->flags & EXEC_QUEUE_FLAG_VM && !exec_queue_killed(q),
|
||||
"VM job timed out on non-killed execqueue\n");
|
||||
|
||||
simple_error_capture(q);
|
||||
xe_devcoredump(job);
|
||||
if (!exec_queue_killed(q)) {
|
||||
simple_error_capture(q);
|
||||
xe_devcoredump(job);
|
||||
}
|
||||
|
||||
trace_xe_sched_job_timedout(job);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user