aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorDaniele Ceraolo Spurio <[email protected]>2023-08-22 10:33:33 -0700
committerRodrigo Vivi <[email protected]>2023-12-21 11:40:27 -0500
commit923e42381745f55ba27a8805a055b51139af6830 (patch)
tree1cc391211735aa61942ea215e1f9255c51e7eb74 /tools/perf/scripts/python/bin
parent1c66c0f391da32534cf143e6a0f6391776aa9bf8 (diff)
drm/xe: split kernel vs permanent engine flags
If an engine is only destroyed on driver unload, we can skip its clean-up steps with the GuC because the GuC is going to be tuned off as well, so it doesn't matter if we're in sync with it or not. Currently, we apply this optimization to all engines marked as kernel, but this stops us to supporting kernel engines that don't stick around until unload. To remove this limitation, add a separate flag to indicate if the engine is expected to only be destryed on driver unload and use that to trigger the optimzation. While at it, add a small comment to explain what each engine flag represents. v2: s/XE_BUG_ON/XE_WARN_ON, s/ENGINE/EXEC_QUEUE v3: rebased Signed-off-by: Daniele Ceraolo Spurio <[email protected]> Cc: Matthew Brost <[email protected]> Reviewed-by: Matthew Brost <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions