drm/amd/display: consider channel coding in configure lttpr mode
authorWenjing Liu <wenjing.liu@amd.com>
Mon, 3 May 2021 22:42:28 +0000 (18:42 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 20 May 2021 02:39:13 +0000 (22:39 -0400)
commitf1900a9b0f6436153e6b1be398d31f1ead6096f6
tree8b2b8457c27b70b7fa1ded90a544c49769a50155
parent37f270c6d80505258918ab859e0d3c78be0b3ca5
drm/amd/display: consider channel coding in configure lttpr mode

[why]
Some lttpr configuration steps are exclusive to 8b/10b channel
coding mode. We need to take channel conding into account.

Signed-off-by: Wenjing Liu <wenjing.liu@amd.com>
Reviewed-by: George Shen <George.Shen@amd.com>
Acked-by: Stylon Wang <stylon.wang@amd.com>
Acked-by: Wesley Chalmers <Wesley.Chalmers@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/include/link_service_types.h