summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAustin Zheng <Austin.Zheng@amd.com>2026-06-09 19:01:13 -0400
committerAlex Deucher <alexander.deucher@amd.com>2026-07-14 19:12:35 -0400
commit78d36c5b53e5c7c3cb7ffb31e0ff6251fd1dcacb (patch)
tree2d4f0c5bc41cb565e758a57bf3dd11a6de7a0bf3 /tools/perf/scripts/python/stackcollapse.py
parent9dfd0da5e3caecee5dac3954997ae5acc8ad737e (diff)
drm/amd/display: Add Debug Option To Enable Per-DPM De-rate Usage
[Why] DML has been updated to use per-DPM derates when provided but per-DPM de-rates have not been finalized. Need to validate to see what values should be stored in the bounding box. [How] Add debug options to set custom derates per DPM (starting at DPM0) and their values Each entry in the custom derate expects the derates to be stored in the following format: bits 0-7: dram_derate_percent_pixel bits 8-15: fclk_derate_percent bits 16-23: dcfclk_derate_percent bits 24-31 are unused. e.g. Using the value 0x414020 will set the following derates for DPM0 DPM0: 0x20, 0x40, 0x41 for dram, fclk, and dcfclk respectively Note that global derate value will be used if the per-DPM derate is 0. Reviewed-by: Dillon Varone <dillon.varone@amd.com> Signed-off-by: Austin Zheng <Austin.Zheng@amd.com> Signed-off-by: George Zhang <george.zhang@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