mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Revert "drm/msm/dp: Remove INIT_SETUP delay"
@ 2023-05-08  1:06 Leonard Lausen
  2023-05-08  2:15 ` Bjorn Andersson
  0 siblings, 1 reply; 15+ messages in thread
From: Leonard Lausen @ 2023-05-08  1:06 UTC (permalink / raw)
  To: regressions, Bjorn Andersson, Dmitry Baryshkov, Rob Clark,
	Abhinav Kumar, Stephen Boyd, Kuogee Hsieh, Johan Hovold,
	Sankeerth Billakanti
  Cc: Sean Paul, David Airlie, Daniel Vetter, linux-arm-msm, dri-devel,
	freedreno, linux-kernel, Nikita Travkin

This reverts commit e17af1c9d861dc177e5b56009bd4f71ace688d97.

Removing the delay of 100 units broke hot plug detection for USB-C displays on
qcom sc7180 lazor devices. Lazor uses mdss for hot plug detection and declares
dp_hot_plug_det in the dts. Other sc7180 based devices like aspire1 were not
affected by the regression, as they do not rely on mdss and dp_hot_plug_det for
hot plug detection.

Signed-off-by: Leonard Lausen <leonard@lausen.nl>
Tested-by: Leonard Lausen <leonard@lausen.nl> # Trogdor (sc7180)
Suggested-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>

---
 drivers/gpu/drm/msm/dp/dp_display.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/msm/dp/dp_display.c b/drivers/gpu/drm/msm/dp/dp_display.c
index bde1a7ce442f..db9783ffd5cf 100644
--- a/drivers/gpu/drm/msm/dp/dp_display.c
+++ b/drivers/gpu/drm/msm/dp/dp_display.c
@@ -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);
 
        if (!dp_display->is_edp)
-               dp_add_event(dp, EV_HPD_INIT_SETUP, 0, 0);
+               dp_add_event(dp, EV_HPD_INIT_SETUP, 0, 100);
 }
 
 bool msm_dp_wide_bus_available(const struct msm_dp *dp_display)
-- 
2.30.2

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2023-06-22 13:06 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-08  1:06 [PATCH] Revert "drm/msm/dp: Remove INIT_SETUP delay" Leonard Lausen
2023-05-08  2:15 ` Bjorn Andersson
2023-05-08  4:25   ` Abhinav Kumar
2023-05-08 11:02   ` Leonard Lausen
2023-05-08 11:30     ` Dmitry Baryshkov
2023-05-09 19:15       ` Abhinav Kumar
2023-05-23  2:39       ` Leonard Lausen
2023-05-23 18:56         ` [Freedreno] " Abhinav Kumar
2023-05-23 19:53           ` Kuogee Hsieh
2023-05-24 12:58           ` Leonard Lausen
2023-05-25 17:57             ` Kuogee Hsieh
2023-05-25 18:10               ` Abhinav Kumar
2023-06-01 19:20             ` Abhinav Kumar
2023-06-02  1:36             ` Leonard Lausen
2023-06-22 13:05             ` Leonard Lausen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®