diff options
| author | Lucas Stach <[email protected]> | 2022-05-04 11:02:29 +0200 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2022-05-04 14:09:34 +0200 |
| commit | e123b4edb2a13b67c4de7caee2e3d5e083bef58b (patch) | |
| tree | 2951d764330c4bec1e5c202e24d7e8df3f8e2193 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py | |
| parent | 420f95b0ad603165684528276ca9bf1a290bfb4e (diff) | |
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: b827c84f5e84 ("drm/etnaviv: Use scheduler dependency handling")
Reported-by: Michael Walle <[email protected]>
Signed-off-by: Lucas Stach <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py')
0 files changed, 0 insertions, 0 deletions