diff options
author | Tejas Upadhyay <tejas.upadhyay@intel.com> | 2025-02-25 07:57:54 +0300 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2025-02-26 16:16:21 +0300 |
commit | 12c2f962fe71f390951d9242725bc7e608f55927 (patch) | |
tree | 7e374e70f6c3fa654a762ccc884882d7f55f94aa /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f2ba0cf1ca32e075617813de98c826ab55d57f11 (diff) | |
download | linux-12c2f962fe71f390951d9242725bc7e608f55927.tar.xz |
drm/xe: cancel pending job timer before freeing scheduler
The async call to __guc_exec_queue_fini_async frees the scheduler
while a submission may time out and restart. To prevent this race
condition, the pending job timer should be canceled before freeing
the scheduler.
V3(MattB):
- Adjust position of cancel pending job
- Remove gitlab issue# from commit message
V2(MattB):
- Cancel pending jobs before scheduler finish
Fixes: a20c75dba192 ("drm/xe: Call __guc_exec_queue_fini_async direct for KERNEL exec_queues")
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250225045754.600905-1-tejas.upadhyay@intel.com
Signed-off-by: Tejas Upadhyay <tejas.upadhyay@intel.com>
(cherry picked from commit 18fbd567e75f9b97b699b2ab4f1fa76b7cf268f6)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions