]> git.ipfire.org Git - thirdparty/kernel/stable.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:55:47 +0000 (13:55 -0400)
commit90d239cc53723c1a3f89ce08eac17bf3a9e9f2d4
tree0b848a9bf67a658d643cd1b7cafd0bb47f32472a
parent4e9597f22a3cb8600c72fc266eaac57981d834c8
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>
(cherry picked from commit 3b5620f7ee688177fcf65cf61588c5435bce1872)
Cc: stable@vger.kernel.org
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