drm/amd/display: Fix fallback issues for DP LL 1.4a tests
authorMustapha Ghaddar <mustapha.ghaddar@amd.com>
Wed, 26 Oct 2022 17:54:27 +0000 (13:54 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 9 Nov 2022 22:41:28 +0000 (17:41 -0500)
commitbe9f6b222c529f315a77c0a182a47c988c28f7f1
tree874a855adfd1ece0aeb84c8df6d878199dc8889e
parentde020e5fa9ebc6fc32e82ae6ccb0282451ed937c
drm/amd/display: Fix fallback issues for DP LL 1.4a tests

[WHY]
Unlike DP or USBC, the USB4 link does not get its own encoder and
has to share therefore verify_caps is skipped.

[HOW]
Fix the fallback logic for automated tests and take that
into consideration for LT and LS.

Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Alan Liu <HaoPing.Liu@amd.com>
Signed-off-by: Mustapha Ghaddar <mustapha.ghaddar@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
drivers/gpu/drm/amd/display/dc/core/dc_link_dpia.c
drivers/gpu/drm/amd/display/dc/dc_link.h