diff options
author | Francois Dugast <francois.dugast@intel.com> | 2024-08-09 18:51:28 +0300 |
---|---|---|
committer | Matthew Brost <matthew.brost@intel.com> | 2024-08-18 04:31:51 +0300 |
commit | 7970cb36966c9b9183255dc097ae0446300eebcf (patch) | |
tree | 801bf233060bf532820d702d4813e9b399634273 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 3dc6da76ae55d667fca2c9f9497e8ea1a27497b1 (diff) | |
download | linux-7970cb36966c9b9183255dc097ae0446300eebcf.tar.xz |
'drm/xe/hw_engine_group: Register hw engine group's exec queues
Add helpers to safely add and delete the exec queues attached to a hw
engine group, and make use them at the time of creation and destruction of
the exec queues. Keeping track of them is required to control the
execution mode of the hw engine group.
v2: Improve error handling and robustness, suspend exec queues created in
fault mode if group in dma-fence mode, init queue link (Matt Brost)
v3: Delete queue from hw engine group when it is destroyed by the user,
also clean up at the time of closing the file in case the user did
not destroy the queue
v4: Use correct list when checking if empty, do not add the queue if VM
is in xe_vm_in_preempt_fence_mode (Matt Brost)
v5: Remove unrelated newline, add checks and asserts for group, unwind on
suspend failure (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-4-francois.dugast@intel.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions