]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
drm/amd/display: Add temporary delay on disconnect patch
authorJohn Barberiz <jbarberi@amd.com>
Mon, 15 Jan 2018 23:30:22 +0000 (18:30 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:18:44 +0000 (14:18 -0500)
- Sequencing bug of not resetting delay on disconnect to default values

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>
drivers/gpu/drm/amd/display/dc/core/dc_link.c

index c7e159a6c284fcb1c58c78fc7409530b5e5df72d..420bc2d859eb919e758cada38b8adf509ed9857b 100644 (file)
@@ -700,6 +700,8 @@ bool dc_link_detect(struct dc_link *link, enum dc_detect_reason reason)
                if (sink->edid_caps.panel_patch.disconnect_delay > 0 &&
                                SIGNAL_TYPE_HDMI_TYPE_A)
                        program_hpd_filter(link, sink->edid_caps.panel_patch.disconnect_delay);
+               else
+                       program_hpd_filter(link, DEFAULT_DELAY_DISCONNECT);
 
                /* HDMI-DVI Dongle */
                if (sink->sink_signal == SIGNAL_TYPE_HDMI_TYPE_A &&