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>
This commit is contained in:
John Barberiz 2018-01-15 18:30:22 -05:00 committed by Alex Deucher
parent 6c1d03a4f2
commit cf5620562f

View File

@ -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 &&