summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/include
diff options
context:
space:
mode:
authorWenjing Liu <wenjing.liu@amd.com>2021-05-04 01:42:28 +0300
committerAlex Deucher <alexander.deucher@amd.com>2021-05-20 05:39:13 +0300
commitf1900a9b0f6436153e6b1be398d31f1ead6096f6 (patch)
tree8b2b8457c27b70b7fa1ded90a544c49769a50155 /drivers/gpu/drm/amd/display/include
parent37f270c6d80505258918ab859e0d3c78be0b3ca5 (diff)
downloadlinux-f1900a9b0f6436153e6b1be398d31f1ead6096f6.tar.xz
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>
Diffstat (limited to 'drivers/gpu/drm/amd/display/include')
-rw-r--r--drivers/gpu/drm/amd/display/include/link_service_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/include/link_service_types.h b/drivers/gpu/drm/amd/display/include/link_service_types.h
index 73ada16658aa..7a30ca01e7d4 100644
--- a/drivers/gpu/drm/amd/display/include/link_service_types.h
+++ b/drivers/gpu/drm/amd/display/include/link_service_types.h
@@ -93,6 +93,7 @@ struct link_training_settings {
bool enhanced_framing;
bool allow_invalid_msa_timing_param;
+ enum lttpr_mode lttpr_mode;
};
/*TODO: Move this enum test harness*/