aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorJoshua Aberback <[email protected]>2024-03-15 08:07:42 +0000
committerAlex Deucher <[email protected]>2024-04-10 01:59:37 +0000
commit60df5628144b59d5876f8ceac624a7661c336665 (patch)
treee73b50b774ba7080d98322ed09ce17a8592713c4 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parentdrm/amd/display: FEC overhead should be checked once for mst slot nums (diff)
downloadkernel-60df5628144b59d5876f8ceac624a7661c336665.tar.gz
kernel-60df5628144b59d5876f8ceac624a7661c336665.zip
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 <[email protected]> Acked-by: Roman Li <[email protected]> Signed-off-by: Joshua Aberback <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions