drm/amd/display: Refactor function dm_dp_mst_is_port_support_mode()
authorWayne Lin <wayne.lin@amd.com>
Mon, 20 May 2024 08:37:01 +0000 (16:37 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Jun 2024 20:17:16 +0000 (16:17 -0400)
commitfa57924c76d995e87ca3533ec60d1d5e55769a27
tree7c181cbc2705bfca93d239d85c6534af05fbd893
parentfcf6a49d79923a234844b8efe830a61f3f0584e4
drm/amd/display: Refactor function dm_dp_mst_is_port_support_mode()

[Why]
dm_dp_mst_is_port_support_mode() is a bit not following the original design rule and cause
light up issue with multiple 4k monitors after mst dsc hub.

[How]
Refactor function dm_dp_mst_is_port_support_mode() a bit to solve the light up issue.

Reviewed-by: Jerry Zuo <jerry.zuo@amd.com>
Acked-by: Zaeem Mohamed <zaeem.mohamed@amd.com>
Signed-off-by: Wayne Lin <wayne.lin@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c