From: John Barberiz <jbarberi@xxxxxxx> - Sequencing bug of not resetting delay on disconnect to default values Signed-off-by: John Barberiz <jbarberi at amd.com> Reviewed-by: Tony Cheng <Tony.Cheng at amd.com> Acked-by: Harry Wentland <harry.wentland at amd.com> --- drivers/gpu/drm/amd/display/dc/core/dc_link.c | 2 ++ 1 file changed, 2 insertions(+) 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 && -- 2.14.1