linux/drivers/gpu/drm/amd/display
Joshua Aberback 60df562814 drm/amd/display: handle invalid connector indices
[Why]
The function to count the number of valid connectors does not
guarantee that the first n indices are valid, only that there
exist n valid indices. When invalid indices are present, this
results in later valid connectors being missed, as processing
would end after checking n indices.

[How]
 - count valid indices separately from total indices examined
 - add explicit definition of MAX_LINKS

Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Acked-by: Roman Li <roman.li@amd.com>
Signed-off-by: Joshua Aberback <joshua.aberback@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-04-09 21:59:37 -04:00
..
amdgpu_dm drm/amd/display: FEC overhead should be checked once for mst slot nums 2024-04-09 21:59:29 -04:00
dc drm/amd/display: handle invalid connector indices 2024-04-09 21:59:37 -04:00
dmub drm/amd/display: [FW Promotion] Release 0.0.210.0 2024-03-27 01:43:35 -04:00
include drm/amd/display: Fix compiler redefinition warnings for certain configs 2024-04-09 21:51:11 -04:00
modules Revert "drm/amd/display: Fix sending VSC (+ colorimetry) packets for DP/eDP displays without PSR" 2024-03-22 15:52:12 -04:00
Kconfig drm/amd/display: Allow building DC with clang on RISC-V 2023-07-21 16:52:25 -04:00
Makefile drm/amd/display: Refactor DPP into a component directory 2024-03-20 13:37:37 -04:00