summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Barberiz <jbarberi@amd.com>2018-01-15 18:30:22 -0500
committerAlex Deucher <alexander.deucher@amd.com>2018-02-19 14:18:44 -0500
commitcf5620562f508c6c949fd05b2e18d80581d3be32 (patch)
treea15b1858a16e5b6e95969ca1ec624d3b9f689fbf
parent6c1d03a4f2d949bfde16962b3abe9b3b6968b9f7 (diff)
drm/amd/display: Add temporary delay on disconnect patch
- Sequencing bug of not resetting delay on disconnect to default values Signed-off-by: John Barberiz <jbarberi@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/display/dc/core/dc_link.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link.c b/drivers/gpu/drm/amd/display/dc/core/dc_link.c
index c7e159a6c284..420bc2d859eb 100644
--- a/drivers/gpu/drm/amd/display/dc/core/dc_link.c
+++ b/drivers/gpu/drm/amd/display/dc/core/dc_link.c
@@ -700,6 +700,8 @@ bool dc_link_detect(struct dc_link *link, enum dc_detect_reason reason)
if (sink->edid_caps.panel_patch.disconnect_delay > 0 &&
SIGNAL_TYPE_HDMI_TYPE_A)
program_hpd_filter(link, sink->edid_caps.panel_patch.disconnect_delay);
+ else
+ program_hpd_filter(link, DEFAULT_DELAY_DISCONNECT);
/* HDMI-DVI Dongle */
if (sink->sink_signal == SIGNAL_TYPE_HDMI_TYPE_A &&