diff options
author | Maíra Canal <mcanal@igalia.com> | 2025-07-14 19:07:09 -0300 |
---|---|---|
committer | Maíra Canal <mcanal@igalia.com> | 2025-07-15 08:27:08 -0300 |
commit | 9fb32803dfba63697080db7969bc3aa1bf323dc3 (patch) | |
tree | 74b78fbdc42fcc941d121d3302bb8caa8daf166a /tools/perf/scripts/python/task-analyzer.py | |
parent | 53dcd0eaa271e870ca5d0b203be67b468214c1bc (diff) |
drm/panfrost: Use DRM_GPU_SCHED_STAT_NO_HANG to skip the reset
Panfrost can skip the reset if TDR has fired before the free-job worker.
Currently, since Panfrost doesn't take any action on these scenarios, the
job is being leaked, considering that `free_job()` won't be called.
To avoid such leaks, inform the scheduler that the job did not actually
timeout and no reset was performed through the new status code
DRM_GPU_SCHED_STAT_NO_HANG.
Reviewed-by: Steven Price <steven.price@arm.com>
Link: https://lore.kernel.org/r/20250714-sched-skip-reset-v6-8-5c5ba4f55039@igalia.com
Signed-off-by: Maíra Canal <mcanal@igalia.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions