Quoting Kuogee Hsieh (2021-02-05 12:44:38)
DP_SW_RESET is the global SW reset that is used to initialize DP controller. If DP_SW_RESET executed during connection setup, two HPD related side effects may occurred,
- pending HPD interrupts cleared unexpected
- re start debounce logic which trigger another interrupt
This patch only issue DP_SW_RESET at boot up and pm_resume. This patch also reinit video_comp before configure dp controller to avoid missing VIDEO_READY interrupt.
Fixes: 9fc418430c65 ("drm/msm/dp: unplug interrupt missed after irq_hpd handler") Signed-off-by: Kuogee Hsieh khsieh@codeaurora.org
Reviewed-by: Stephen Boyd swboyd@chromium.org