mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-18 01:36:55 +07:00
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>
This commit is contained in:
parent
cdb3979808
commit
e14af1dd74
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user