summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorThomas Lamprecht <t.lamprecht@proxmox.com>2026-11-02 12:29:43 +0100
committerAlex Deucher <alexander.deucher@amd.com>2026-11-18 01:50:45 -0500
commitfb3d0ee0f7cf41488aff58c45f1b31a8f54f3372 (patch)
treeb84860f08880b7a9b9f3ff3b7edcf40890a253b9 /tools/perf/scripts/python/bin
parent988ab04d773ac089588ce17742f491e9ee8b1793 (diff)
drm/amd/display: Don't warn about links without an HPD GPIO
Since commit def3488eb0fd ("drm/amd/display: refactor HPD to increase flexibility"), the link encoder programs the HPD filter, and dce110_program_hpd_filter() and dcn10_program_hpd_filter() hit ASSERT(0) if the encoder has no HPD GPIO. That is the case if link_get_hpd_gpio() finds no usable HPD info for the connector in the VBIOS, where program_hpd_filter() used to return early without a warning. This logs a warning with a stack trace on every boot of some systems, for example with Ryzen 7 PRO 4750G APUs on ASRock Rack X570D4U and X470D4U2-2T boards: WARNING: drivers/gpu/drm/amd/amdgpu/../display/dc/dio/dcn10/dcn10_link_encoder.c:1514 at dcn10_program_hpd_filter+0x39/0x90 [amdgpu], CPU#7: (udev-worker)/836 Call Trace: program_hpd_filter+0x5d/0xb0 [amdgpu] construct_phy+0x96f/0xe60 [amdgpu] link_create+0x1f0/0x240 [amdgpu] create_links+0x164/0x4f0 [amdgpu] dc_create+0x3ba/0x720 [amdgpu] amdgpu_dm_init+0x2c9/0x420 [amdgpu] Return false without asserting if there is no HPD GPIO, as before, and keep the assertion for failing to lock the pin. Fixes: def3488eb0fd ("drm/amd/display: refactor HPD to increase flexibility") Link: https://forum.proxmox.com/threads/kernel-7-0-14-24-and-7-0-14-25-bug-in-amdgpu.187181/ Reviewed-by: Wayne Lin <Wayne.Lin@amd.com> Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com> Signed-off-by: Wayne Lin <Wayne.Lin@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit 62ea146c23e14f958744507c37025f1a7f9c041b) Cc: stable@vger.kernel.org
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions