summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAlex Hung <alex.hung@amd.com>2026-09-03 23:59:06 -0600
committerAlex Deucher <alexander.deucher@amd.com>2026-09-23 13:27:27 -0400
commita6b2fb633ca51eaf542a6c11317466b5dde0ad79 (patch)
tree52787736b045b2af1c84629d45d5ac9b5cb2ed89 /tools/perf/scripts/python/stackcollapse.py
parent0a2e54900a25a820d88f6a3457c58bad5cb64c6d (diff)
downloadlinux-a6b2fb633ca51eaf542a6c11317466b5dde0ad79.tar.gz
linux-a6b2fb633ca51eaf542a6c11317466b5dde0ad79.zip
drm/amd/display: Test unassigned OTG CRTC lookup
[WHAT] amdgpu_dm_get_crtc_by_otg_inst() had no test for an OTG instance of -1, so its WARN_ON guard and the fallback to the first CRTC were never executed. [HOW] Add dm_test_get_crtc_by_otg_inst_unassigned_otg(), which installs a CRTC as mode_info.crtcs[0] and asserts the lookup returns it rather than walking the CRTC list. Assisted-by: Copilot:Claude-Opus-5 Reviewed-by: Bhawanpreet Lakha <bhawanpreet.lakha@amd.com> Signed-off-by: Alex Hung <alex.hung@amd.com> Signed-off-by: George Zhang <george.zhang@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