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)
commit4185f99094d50a2f402153ff8922bc694f5f6d96
treedc23294a415ef1622eb9648feba468c7b2aff5d7
parent4a897de1d607c15ebb9aa11a424ec3f3243304a3
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