diff options
author | Francois Dugast <francois.dugast@intel.com> | 2024-08-09 17:51:34 +0200 |
---|---|---|
committer | Matthew Brost <matthew.brost@intel.com> | 2024-08-17 18:31:57 -0700 |
commit | d16ef1a18e39a5086a419d8b3c71adb30273881a (patch) | |
tree | be59cd8412ee10b6c9458beb7c211944d48c0741 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 770bd1d341130ff38feda169177159cd78389cfc (diff) |
drm/xe/exec: Switch hw engine group execution mode upon job submission
If the job about to be submitted is a dma-fence job, update the current
execution mode of the hw engine group. This triggers an immediate suspend
of the exec queues running faulting long-running jobs.
If the job about to be submitted is a long-running job, kick a new worker
used to resume the exec queues running faulting long-running jobs once
the dma-fence jobs have completed.
v2: Kick the resume worker from exec IOCTL, switch to unordered workqueue,
destroy it after use (Matt Brost)
v3: Do not resume if no exec queue was suspended (Matt Brost)
v4: Squash commits (Matt Brost)
v5: Do not kick the worker when xe_vm_in_preempt_fence_mode (Matt Brost)
Signed-off-by: Francois Dugast <francois.dugast@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240809155156.1955925-10-francois.dugast@intel.com
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions