Hi Christian, Patch is, Reviewed-by: Luben Tuikov <luben.tuikov@xxxxxxx> Regards, Luben On 2023-04-27 08:27, Christian König wrote: > When no hw fence is provided for a job that means that the job didn't executed. > > Signed-off-by: Christian König <christian.koenig@xxxxxxx> > --- > drivers/gpu/drm/scheduler/sched_main.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/scheduler/sched_main.c b/drivers/gpu/drm/scheduler/sched_main.c > index 7849e2d7780e..b09cdacfd062 100644 > --- a/drivers/gpu/drm/scheduler/sched_main.c > +++ b/drivers/gpu/drm/scheduler/sched_main.c > @@ -542,7 +542,7 @@ void drm_sched_start(struct drm_gpu_scheduler *sched, bool full_recovery) > DRM_DEV_ERROR(sched->dev, "fence add callback failed (%d)\n", > r); > } else > - drm_sched_job_done(s_job, 0); > + drm_sched_job_done(s_job, -ECANCELED); > } > > if (full_recovery) {