]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: add support for handling 128b/132b link training test request
authorWenjing Liu <wenjing.liu@amd.com>
Fri, 18 Mar 2022 16:22:35 +0000 (12:22 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 5 Apr 2022 14:29:48 +0000 (10:29 -0400)
commitc262d5c64b0c00812319cdc373781fd5643cebf9
tree300e4eb9295d48809f52e007ce0805960afface0
parent3c974438933e16631ee4a4dede61c0f736cdf33b
drm/amd/display: add support for handling 128b/132b link training test request

[why]
DP2.x added new enum values for UHBR link rates in link training test
request for test automation. We need to add UHBR link rates test request
support in preparation for compliance test automation.

[how]
added a function that translate test link rate to dc link rate.  Call
the translation function to decide the requested test link rate.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: George Shen <George.Shen@amd.com>
Acked-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: Wenjing Liu <wenjing.liu@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/dc_dp_types.h