drm/amd/display: fix dc_get_edp_link_panel_inst to only consider links with panels
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Tue, 6 Dec 2022 15:06:14 +0000 (10:06 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 3 Jan 2023 21:57:57 +0000 (16:57 -0500)
commit324de40a56550e22b0a5ec40442ee13d5a0e7688
tree6f23334f99c8a939617c8887ee6b52007b82b28f
parent2d90a1c054831338d57b39aec4d273cf3e867590
drm/amd/display: fix dc_get_edp_link_panel_inst to only consider links with panels

This function is meant to be used on multi-edp systems and only makes sense
if only links with connected panels are considered.

Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dc_link.h