We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed931fb commit 82926f5Copy full SHA for 82926f5
drivers/gpu/drm/xe/xe_guc_submit.c
@@ -1030,10 +1030,13 @@ guc_exec_queue_timedout_job(struct drm_sched_job *drm_job)
1030
1031
/*
1032
* TDR has fired before free job worker. Common if exec queue
1033
- * immediately closed after last fence signaled.
+ * immediately closed after last fence signaled. Add back to pending
1034
+ * list so job can be freed and kick scheduler ensuring free job is not
1035
+ * lost.
1036
*/
1037
if (test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &job->fence->flags)) {
- guc_exec_queue_free_job(drm_job);
1038
+ xe_sched_add_pending_job(sched, job);
1039
+ xe_sched_submission_start(sched);
1040
1041
return DRM_GPU_SCHED_STAT_NOMINAL;
1042
}
0 commit comments