]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: handle DP2.0 RX with UHBR20 but not UHBR13.5 support
authorWenjing Liu <wenjing.liu@amd.com>
Tue, 15 Feb 2022 23:34:08 +0000 (18:34 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Mar 2022 18:25:15 +0000 (14:25 -0400)
commit5a1b979855a0a93ac723808ec4e055f7299cd366
treedc23294a415ef1622eb9648feba468c7b2aff5d7
parent52c3ea284d27881b898b901f8eca8edf2a2500f0
drm/amd/display: handle DP2.0 RX with UHBR20 but not UHBR13.5 support

[why]
DP2.0 defines DP2.0 RX capability using bit maps. This means there is
a corner case the DP2.0 RX can declare UHBR20 capability but not UHBR13.5 support.
In this case we should skip UHBR13.5 selection and continue to our next option
in decide liink settings.

Reviewed-by: George Shen <George.Shen@amd.com>
Acked-by: Alan Liu <HaoPing.Liu@amd.com>
Signed-off-by: Wenjing Liu <wenjing.liu@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/core/dc_link_dp.c