mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-28 21:33:52 +00:00
drm/msm/dp: Remove INIT_SETUP delay
During initalization of the DisplayPort controller an EV_HPD_INIT_SETUP event is generated, but with a delay of 100 units. This delay existed to circumvent bug in the QMP combo PHY driver, where if the DP part was powered up before USB, the common properties would not be properly initialized - and USB wouldn't work. This issue was resolved in the recent refactoring of the QMP driver, so it's now possible to remove this delay. While there is still a timing dependency in the current implementation, test indicates that it's now possible to boot with an external display on USB Type-C and have the display power up, without disconnecting and reconnecting the cable. Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com> Reviewed-by: Kuogee Hsieh <quic_khsieh@quicinc.com> Patchwork: https://patchwork.freedesktop.org/patch/518729/ Link: https://lore.kernel.org/r/20230117172951.2748456-1-quic_bjorande@quicinc.com Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
This commit is contained in:
parent
0e7f270591
commit
e17af1c9d8
1 changed files with 1 additions and 1 deletions
|
@ -1506,7 +1506,7 @@ void msm_dp_irq_postinstall(struct msm_dp *dp_display)
|
||||||
dp = container_of(dp_display, struct dp_display_private, dp_display);
|
dp = container_of(dp_display, struct dp_display_private, dp_display);
|
||||||
|
|
||||||
if (!dp_display->is_edp)
|
if (!dp_display->is_edp)
|
||||||
dp_add_event(dp, EV_HPD_INIT_SETUP, 0, 100);
|
dp_add_event(dp, EV_HPD_INIT_SETUP, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool msm_dp_wide_bus_available(const struct msm_dp *dp_display)
|
bool msm_dp_wide_bus_available(const struct msm_dp *dp_display)
|
||||||
|
|
Loading…
Reference in a new issue