mirror-linux/drivers/gpu/drm/amd/display/dc
Alex Deucher 90d239cc53 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: 7c8fb3b8e9 ("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 3b5620f7ee)
Cc: stable@vger.kernel.org
2026-03-24 13:55:47 -04:00
..
basics Convert more 'alloc_obj' cases to default GFP_KERNEL arguments 2026-02-21 20:03:00 -08:00
bios Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
clk_mgr drm/amd: fix dcn 2.01 check 2026-03-17 12:15:57 -04:00
core drm/amd/display: Use GFP_ATOMIC in dc_create_stream_for_sink 2026-02-25 17:56:22 -05:00
dccg drm/amd/display: Check for S0i3 to be done before DCCG init on DCN21 2026-03-11 14:01:39 -04:00
dce Convert more 'alloc_obj' cases to default GFP_KERNEL arguments 2026-02-21 20:03:00 -08:00
dce60
dce80
dce110 Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
dce112 Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
dce120
dcn10
dcn20
dcn21 drm/amd/display: refactor HPD to increase flexibility 2025-12-08 13:56:40 -05:00
dcn30 drm/amd/display: extend delta clamping logic to CM3 LUT helper 2026-02-03 16:47:25 -05:00
dcn31
dcn201 drm/amd/display: refactor HPD to increase flexibility 2025-12-08 13:56:40 -05:00
dcn301
dio Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
dml Revert "drm/amd/display: Add Gfx Base Case For Linear Tiling Handling" 2026-02-19 12:16:11 -05:00
dml2_0 Revert "drm/amd/display: Add Handling for gfxversion DcGfxBase" 2026-02-19 12:16:11 -05:00
dpp drm/amd/display: bypass post csc for additional color spaces in dal 2026-02-12 15:16:09 -05:00
dsc drm/amd/display: Make DSC FGCG a DSC block level function 2026-02-03 16:39:37 -05:00
dwb Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
gpio Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
hdcp
hpo
hubbub drm/amd/display: Expose functions of other dcn use 2026-02-19 12:16:10 -05:00
hubp Revert "drm/amd/display: Add Gfx Base Case For Linear Tiling Handling" 2026-02-19 12:16:11 -05:00
hwss drm/amd/display: Fallback to boot snapshot for dispclk 2026-03-02 17:13:52 -05:00
inc drm/amd/display: Enable DAC in DCE link encoder 2026-02-19 12:16:12 -05:00
irq Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
link Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
mmhubbub
mpc drm/amd/display: Remove conditional for shaper 3DLUT power-on 2026-02-19 12:16:11 -05:00
opp drm/amd/display: Add more DC HW state info to underflow logging 2025-10-28 09:57:44 -04:00
optc drm/amd/display: Expose functions of other dcn use 2026-02-19 12:16:10 -05:00
pg Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
resource drm/amd/display: Fix DCE LVDS handling 2026-03-24 13:55:47 -04:00
soc_and_ip_translator Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
sspl drm/amd/display: Add static keyword for sharpness tables 2026-02-18 10:42:30 -05:00
Makefile drm/amd/display: Refactor virtual directory reorganize encoder and hwss files. 2026-02-12 15:08:49 -05:00
dc.h drm/amd/display: Disable SR feature on eDP1 by default 2026-02-19 12:16:10 -05:00
dc_bios_types.h drm/amd/display: Add DAC_LoadDetection to BIOS parser (v2) 2025-10-28 10:09:55 -04:00
dc_ddc_types.h
dc_dmub_srv.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
dc_dmub_srv.h drm/amd/display: Add dc interface to log pre os firmware information 2025-10-28 09:58:11 -04:00
dc_dp_types.h drm/amd/display: PR error HPD_IRQ handling 2026-01-10 14:21:53 -05:00
dc_dsc.h
dc_edid_parser.c
dc_edid_parser.h
dc_fused_io.c
dc_fused_io.h
dc_hdmi_types.h drm/amd/display: Bump the HDMI clock to 340MHz 2026-01-10 14:21:53 -05:00
dc_helper.c drm/amd/display: Disable VRR on DCE 6 2025-09-15 17:04:28 -04:00
dc_hw_types.h Revert "drm/amd/display: Add Gfx Base Case For Linear Tiling Handling" 2026-02-19 12:16:11 -05:00
dc_plane.h
dc_plane_priv.h
dc_spl_translate.c drm/amd/display: Add debug option to override EASF scaler taps 2025-10-20 18:19:27 -04:00
dc_spl_translate.h
dc_stat.h
dc_state.h
dc_state_priv.h
dc_stream.h drm/amd/display: Implementing ramless idle mouse trigger 2026-02-19 12:16:10 -05:00
dc_stream_priv.h
dc_trace.h
dc_types.h drm/amd/display: Add oem panel config for new features 2026-02-03 16:39:58 -05:00
dm_cp_psp.h
dm_event_log.h
dm_helpers.h drm/amd/display: Disable SR feature on eDP1 by default 2026-02-19 12:16:10 -05:00
dm_pp_smu.h
dm_services.h drm/amd/display: Refactor SMU tracing 2025-09-23 10:31:51 -04:00
dm_services_types.h
irq_types.h
os_types.h drm/amd/display: Permit DC_FP_START/END only in non-FP compilation units 2025-12-08 13:56:37 -05:00