diff options
author | John Barberiz <jbarberi@amd.com> | 2018-01-23 11:47:15 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-02-19 14:19:33 -0500 |
commit | e14af1dd747d1132ab1006fea6db0498a613d50c (patch) | |
tree | 92bd879a3b909691663c9b0fe0b3e379a0a9ac2b /drivers/gpu/drm/amd/display/dc | |
parent | cdb39798082cde564beeab0ca47a469254122ccd (diff) |
drm/amd/display: Fixed if statement parameters to add a delay on disconnect
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>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/core/dc_link.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 629aa042f9dd..5f7896db6dd0 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); |