Commit e14af1dd authored by John Barberiz's avatar John Barberiz Committed by Alex Deucher

drm/amd/display: Fixed if statement parameters to add a delay on disconnect

Signed-off-by: default avatarJohn Barberiz <jbarberi@amd.com>
Reviewed-by: default avatarTony Cheng <Tony.Cheng@amd.com>
Acked-by: default avatarHarry Wentland <harry.wentland@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent cdb39798
......@@ -699,8 +699,8 @@ bool dc_link_detect(struct dc_link *link, enum dc_detect_reason reason)
}
/* Add delay for certain monitors */
if (sink->edid_caps.panel_patch.disconnect_delay > 0 &&
SIGNAL_TYPE_HDMI_TYPE_A)
if (sink->edid_caps.panel_patch.disconnect_delay > 0
&& sink->sink_signal == SIGNAL_TYPE_HDMI_TYPE_A)
program_hpd_filter(link, sink->edid_caps.panel_patch.disconnect_delay);
else
program_hpd_filter(link, DEFAULT_DELAY_DISCONNECT);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment