Re: [PATCH 4/9] drm/panfrost: handle job hw submit errors

2024-10-21 Thread Boris Brezillon
On Tue, 15 Oct 2024 00:31:39 +0100 Adrián Larumbe wrote: > -static void panfrost_job_hw_submit(struct panfrost_job *job, int js) > +static int panfrost_job_hw_submit(struct panfrost_job *job, int js) > { > struct panfrost_device *pfdev = job->pfdev; > unsigned int subslot; > @@ -207,

[PATCH 4/9] drm/panfrost: handle job hw submit errors

2024-10-14 Thread Adrián Larumbe
Avoid waiting for the DRM scheduler job timeout handler and let the DRM scheduler core signal the error fence immediately instead when HW job submission fails. Signed-off-by: Adrián Larumbe --- drivers/gpu/drm/panfrost/panfrost_job.c | 17 - 1 file changed, 12 insertions(+), 5 de