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 629aa042f9ddee250d90640ecf38c3ae1c555796..5f7896db6dd05d844c44b17fd3dfab6d68fce0bc 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc_link.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc_link.c @@ -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);