Files
linux/drivers/gpu/drm
Lucas Stach e123b4edb2 drm/etnaviv: avoid cleaning up sched_job when submit succeeded
While the labels may mislead the casual reader, the tail of the function
etnaviv_ioctl_gem_submit is always executed, as a lot of the structures
set up in this function need to be cleaned up regardless of whether the
submit succeeded or failed.

An exception is the newly added drm_sched_job_cleanup, which must only
be called when the submit failed before handing the job to the
scheduler.

Fixes: b827c84f5e ("drm/etnaviv: Use scheduler dependency handling")
Reported-by: Michael Walle <michael@walle.cc>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20220504090229.2506560-1-l.stach@pengutronix.de
2022-05-04 14:09:34 +02:00
..
2022-04-28 16:08:19 +01:00
2022-04-25 11:17:45 +02:00
2022-02-07 16:35:35 -08:00
2022-05-04 14:05:47 +02:00
2022-04-25 11:17:45 +02:00
2022-04-07 11:31:52 +02:00
2022-04-25 10:18:52 +03:00
2022-02-07 16:35:35 -08:00
2022-05-03 11:53:42 +02:00
2022-03-16 09:36:13 +01:00
2022-02-07 16:35:35 -08:00
2022-05-04 14:09:34 +02:00
2022-04-12 09:27:20 +03:00
2022-04-07 12:53:53 +02:00
2021-11-30 09:41:28 +01:00
2021-10-01 15:55:47 +02:00
2021-11-30 09:41:28 +01:00
2022-02-07 16:35:35 -08:00
2022-04-12 09:27:20 +03:00