linux/drivers/gpu/drm/amd/display/dc/inc
Charlene Liu bec947cbe9 drm/amd/display: increase max link count and fix link->enc NULL pointer access
[why]
1.) dc->links[MAX_LINKS] array size smaller than actual requested.
max_connector + max_dpia + 4 virtual = 14.
increase from 12 to 14.

2.) hw_init() access null LINK_ENC for dpia non display_endpoint.

Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Meenakshikumar Somasundaram <meenakshikumar.somasundaram@amd.com>
Reviewed-by: Chris Park <chris.park@amd.com>
Signed-off-by: Charlene Liu <Charlene.Liu@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit d7f5a61e1b04ed87b008c8d327649d184dc5bb45)
Cc: stable@vger.kernel.org
2025-10-21 09:50:27 -04:00
..
hw drm/amd/display: increase max link count and fix link->enc NULL pointer access 2025-10-21 09:50:27 -04:00
bw_fixed.h
clock_source.h
compressor.h
core_status.h drm/amd/display: Add new DP tunnel bandwidth validation 2025-06-24 09:55:35 -04:00
core_types.h Revert "drm/amd/display: Reduce Stack Usage by moving 'audio_output' into 'stream_res' v4" 2025-09-15 17:01:17 -04:00
custom_float.h
dce_calcs.h
dcn_calc_math.h
dcn_calcs.h drm/amd/display: replace fast_validate with enum dc_validate_mode 2025-06-03 15:36:23 -04:00
link_enc_cfg.h drm/amd/display: Remove unused link_enc_cfg_get_link_enc_used_by_stream 2025-02-12 21:03:03 -05:00
link_hwss.h
link_service.h drm/amd/display: Rename header file link.h to link_service.h 2025-09-15 16:57:29 -04:00
reg_helper.h drm/amd/display: Use sync version of indirect register access. 2025-04-07 15:18:31 -04:00
resource.h drm/amd/display: prepare dml 2.1 for new asic 2025-09-15 16:57:15 -04:00
soc_and_ip_translator.h drm/amd/display: Add Component To Handle Bounding Box Values and IP Caps 2025-08-29 10:14:02 -04:00
vm_helper.h