Re: [PATCH 1/2] drm/sched: Add error code parameter to drm_sched_start

2024-07-25 Thread Alex Deucher
On Wed, Jul 24, 2024 at 11:30 PM wrote: > > From: Vitaly Prosyak > > The current implementation of drm_sched_start uses a hardcoded -ECANCELED to > dispose of a job when > the parent/hw fence is NULL. This results in drm_sched_job_done being called > with -ECANCELED for > each job with a NULL p

[PATCH 1/2] drm/sched: Add error code parameter to drm_sched_start

2024-07-24 Thread vitaly.prosyak
From: Vitaly Prosyak The current implementation of drm_sched_start uses a hardcoded -ECANCELED to dispose of a job when the parent/hw fence is NULL. This results in drm_sched_job_done being called with -ECANCELED for each job with a NULL parent in the pending list, making it difficult to disti