提交 e14af1dd 编写于 作者: J John Barberiz 提交者: Alex Deucher

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

Signed-off-by: NJohn Barberiz <jbarberi@amd.com>
Reviewed-by: NTony Cheng <Tony.Cheng@amd.com>
Acked-by: NHarry Wentland <harry.wentland@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册