summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorWenjing Liu <wenjing.liu@amd.com>2026-06-24 17:57:17 -0400
committerAlex Deucher <alexander.deucher@amd.com>2026-07-28 18:37:26 -0400
commit598abe0aadcf96acae2bb2315dea4f9a1f2b6659 (patch)
treede10bb6efc84c4051b9a88feb5bebff82e0fec7e /tools/perf/scripts/python/stackcollapse.py
parent2ab5a13778265fe082050699ca0e921029a653f9 (diff)
drm/amd/display: Introduce dc_state_get_status unified status accessor
[Why] dc_state_get_stream_status() is typed against streams only, leaving no extensible slot for future status classes. The public status accessor signature needs to stay stable as new status classes are added. [How] Add a dc_get_status_type bitmask and the dc_get_status_options / dc_state_status structs. Implement dc_state_get_status() to populate the output object per the options bitmask, and make dc_state_get_stream_status() a shim over it. Reviewed-by: Dominik Kaszewski <dominik.kaszewski@amd.com> Signed-off-by: Wenjing Liu <wenjing.liu@amd.com> Signed-off-by: Wayne Lin <wayne.lin@amd.com> Tested-by: Dan Wheeler <daniel.wheeler@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