summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2025-01-09 01:15:56 +0300
committerAlex Deucher <alexander.deucher@amd.com>2025-02-13 05:02:55 +0300
commit8fdb3958e3965fcd11408e1cd5380895cdc96e06 (patch)
treea99761a32a34e687ff6dda3171f1fc3068546859 /tools/perf/scripts/python/stackcollapse.py
parent8544374c0f82edb285779f21b149826fe2c2977c (diff)
downloadlinux-8fdb3958e3965fcd11408e1cd5380895cdc96e06.tar.xz
drm/amdgpu/gfx: add ring helpers for setting workload profile
Add helpers to switch the workload profile dynamically when commands are submitted. This allows us to switch to the FULLSCREEN3D or COMPUTE profile when work is submitted. Add a delayed work handler to delay switching out of the selected profile if additional work comes in. This works the same as the VIDEO profile for VCN. This lets dynamically enable workload profiles on the fly and then move back to the default when there is no work. Reviewed-by: Lijo Lazar <lijo.lazar@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions