aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/inc/dc_link_dp.h
diff options
context:
space:
mode:
authorabdoulaye berthe <abdoulaye.berthe@amd.com>2019-10-10 16:41:52 -0400
committerAlex Deucher <alexander.deucher@amd.com>2019-11-13 15:29:43 -0500
commit61aa7a6f760e78e50fad708029fc3aa201ec7a89 (patch)
tree7cf2746a59503281f44817f886533e1d7b2c1e9c /drivers/gpu/drm/amd/display/dc/inc/dc_link_dp.h
parentdrm/amd/display: use previous aux timeout val if no repeater. (diff)
downloadlinux-dev-61aa7a6f760e78e50fad708029fc3aa201ec7a89.tar.xz
linux-dev-61aa7a6f760e78e50fad708029fc3aa201ec7a89.zip
drm/amd/display: disable lttpr for invalid lttpr caps.
1-Read lttpr caps in 5-bytes 2-Parse caps 3-Validate caps and set lttpr_mode 4-Use hw default timeout when lttpr is disabled. Signed-off-by: abdoulaye berthe <abdoulaye.berthe@amd.com> Reviewed-by: Wenjing Liu <Wenjing.Liu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/dc_link_dp.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/inc/dc_link_dp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/dc_link_dp.h b/drivers/gpu/drm/amd/display/dc/inc/dc_link_dp.h
index a6500b98fe0d..1e6ff6eb5bfc 100644
--- a/drivers/gpu/drm/amd/display/dc/inc/dc_link_dp.h
+++ b/drivers/gpu/drm/amd/display/dc/inc/dc_link_dp.h
@@ -29,7 +29,7 @@
#define LINK_TRAINING_ATTEMPTS 4
#define LINK_TRAINING_RETRY_DELAY 50 /* ms */
#define LINK_AUX_DEFAULT_EXTENDED_TIMEOUT_PERIOD 3200 /*us*/
-#define LINK_AUX_DEFAULT_TIMEOUT_PERIOD 400 /*us*/
+#define LINK_AUX_DEFAULT_TIMEOUT_PERIOD 552 /*us*/
struct dc_link;
struct dc_stream_state;