summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorYang Wang <kevinyang.wang@amd.com>2026-06-23 11:36:20 +0800
committerAlex Deucher <alexander.deucher@amd.com>2026-07-01 11:23:43 -0400
commit055a40c32f3a2dcd4d1a6f85ff4c231cf35f1b53 (patch)
tree719eaf1051b9e19fbf574fff0903df39a7e1600e /tools/perf/scripts/python/stackcollapse.py
parenta17e79d01f22182a9fcbe79fcbe2ad1477d43e0f (diff)
drm/amd/pm: Use uploaded size for legacy custom PPTable
The legacy powerplay path used to allocate hardcode_pp_table from the original VBIOS PPTable size, copy only the uploaded bytes into it, and keep soft_pp_table_size unchanged. If a custom PPTable is shorter than the original table, later code can still treat the stale tail as valid table data. Treat the uploaded buffer as the complete custom PPTable: duplicate the uploaded buffer directly, replace hardcode_pp_table atomically, and set soft_pp_table_size to the uploaded size. Signed-off-by: Yang Wang <kevinyang.wang@amd.com> Reviewed-by: Hawking Zhang <Hawking.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