All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/4] drm/dp: Introduce wait_hpd_asserted() for the DP AUX bus
@ 2022-04-18 17:17 ` Douglas Anderson
  0 siblings, 0 replies; 30+ messages in thread
From: Douglas Anderson @ 2022-04-18 17:17 UTC (permalink / raw)
  To: dri-devel
  Cc: Hsin-Yi Wang, Sankeerth Billakanti, Philip Chen, Robert Foss,
	Stephen Boyd, Dmitry Baryshkov, Abhinav Kumar, Douglas Anderson,
	Andrzej Hajda, Daniel Vetter, David Airlie, Jani Nikula,
	Jernej Skrabec, Jonas Karlman, Kees Cook, Laurent Pinchart,
	Lyude Paul, Maxime Ripard, Neil Armstrong, Sam Ravnborg,
	Thierry Reding, linux-kernel

This is the 2nd four patches from my RFC series ("drm/dp: Improvements
for DP AUX channel") [1]. I've broken the series in two so we can make
progress on the two halves separately.

v2 of this series changes to add wait_hpd_asserted() instead of
is_hpd_asserted(). This allows us to move the extra delay needed for
ps8640 into the ps8640 driver itself.

The idea for this series came up during the review process of
Sankeerth's series trying to add eDP for Qualcomm SoCs [2].

This _doesn't_ attempt to fix the Analogix driver. If this works out,
ideally someone can post a patch up to do that.

[1] https://lore.kernel.org/r/20220409023628.2104952-1-dianders@chromium.org/
[2] https://lore.kernel.org/r/1648656179-10347-2-git-send-email-quic_sbillaka@quicinc.com/

Changes in v3:
- Don't check "hpd_asserted" boolean when unset.
- Handle errors from gpiod_get_value_cansleep() properly.

Changes in v2:
- Change is_hpd_asserted() to wait_hpd_asserted()

Douglas Anderson (4):
  drm/dp: Add wait_hpd_asserted() callback to struct drm_dp_aux
  drm/panel-edp: Take advantage of wait_hpd_asserted() in struct
    drm_dp_aux
  drm/panel: atna33xc20: Take advantage of wait_hpd_asserted() in struct
    drm_dp_aux
  drm/bridge: parade-ps8640: Provide wait_hpd_asserted() in struct
    drm_dp_aux

 drivers/gpu/drm/bridge/parade-ps8640.c        | 34 +++++++++------
 drivers/gpu/drm/panel/panel-edp.c             | 33 ++++++++++-----
 .../gpu/drm/panel/panel-samsung-atna33xc20.c  | 41 +++++++++++++------
 include/drm/dp/drm_dp_helper.h                | 26 ++++++++++++
 4 files changed, 98 insertions(+), 36 deletions(-)

-- 
2.36.0.rc0.470.gd361397f0d-goog


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

end of thread, other threads:[~2022-06-14 21:58 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-18 17:17 [PATCH v3 0/4] drm/dp: Introduce wait_hpd_asserted() for the DP AUX bus Douglas Anderson
2022-04-18 17:17 ` Douglas Anderson
2022-04-18 17:17 ` [PATCH v3 1/4] drm/dp: Add wait_hpd_asserted() callback to struct drm_dp_aux Douglas Anderson
2022-04-18 17:17   ` Douglas Anderson
2022-05-12  1:58   ` Stephen Boyd
2022-05-12  1:58     ` Stephen Boyd
2022-05-12 23:24     ` Doug Anderson
2022-05-12 23:24       ` Doug Anderson
2022-05-20  0:34       ` Stephen Boyd
2022-05-20  0:34         ` Stephen Boyd
2022-05-20 15:45         ` Doug Anderson
2022-05-20 15:45           ` Doug Anderson
2022-06-02 10:22   ` Dmitry Baryshkov
2022-06-02 10:22     ` Dmitry Baryshkov
2022-04-18 17:17 ` [PATCH v3 2/4] drm/panel-edp: Take advantage of wait_hpd_asserted() in " Douglas Anderson
2022-04-18 17:17   ` Douglas Anderson
2022-06-02 15:12   ` Dmitry Baryshkov
2022-06-02 15:12     ` Dmitry Baryshkov
2022-06-14 21:57     ` Doug Anderson
2022-06-14 21:57       ` Doug Anderson
2022-04-18 17:17 ` [PATCH v3 3/4] drm/panel: atna33xc20: " Douglas Anderson
2022-04-18 17:17   ` Douglas Anderson
2022-06-02 14:49   ` Dmitry Baryshkov
2022-06-02 14:49     ` Dmitry Baryshkov
2022-04-18 17:17 ` [PATCH v3 4/4] drm/bridge: parade-ps8640: Provide " Douglas Anderson
2022-04-18 17:17   ` Douglas Anderson
2022-06-02 14:56   ` Dmitry Baryshkov
2022-06-02 14:56     ` Dmitry Baryshkov
2022-05-03 23:26 ` [PATCH v3 0/4] drm/dp: Introduce wait_hpd_asserted() for the DP AUX bus Doug Anderson
2022-05-03 23:26   ` Doug Anderson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.