]> 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)
commit74f85e6c7d33dced59d5688a8ab073383672a9c3
treedc23294a415ef1622eb9648feba468c7b2aff5d7
parent0dd94dfc04753451abc1d5162353973a105f32eb
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