]> 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)
commitcb36b9a26888a3b780ee26a97881f256dc5f5cd6
tree300e4eb9295d48809f52e007ce0805960afface0
parentc7d5ee9089f564f914320b05bc767ec77b75500e
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