]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amd/display: Fix DCE LVDS handling
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 26 Feb 2026 22:12:08 +0000 (17:12 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 24 Mar 2026 17:34:32 +0000 (13:34 -0400)
commit3b5620f7ee688177fcf65cf61588c5435bce1872
tree2a85dbfc4930368b3c4bff307d8091737bc74652
parentab2fcdd7021908d5b1537f97be5a1994339fd6da
drm/amd/display: Fix DCE LVDS handling

LVDS does not use an HPD pin so it may be invalid.  Handle
this case correctly in link encoder creation.

Fixes: 7c8fb3b8e9ba ("drm/amd/display: Add hpd_source index check for DCE60/80/100/110/112/120 link encoders")
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/5012
Cc: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Cc: Roman Li <roman.li@amd.com>
Reviewed-by: Roman Li <roman.li@amd.com>
Reviewed-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/resource/dce100/dce100_resource.c
drivers/gpu/drm/amd/display/dc/resource/dce110/dce110_resource.c
drivers/gpu/drm/amd/display/dc/resource/dce112/dce112_resource.c
drivers/gpu/drm/amd/display/dc/resource/dce120/dce120_resource.c
drivers/gpu/drm/amd/display/dc/resource/dce60/dce60_resource.c
drivers/gpu/drm/amd/display/dc/resource/dce80/dce80_resource.c