linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/4] drm/msm/dp: implement HPD notifications handling
@ 2022-04-29 19:29 Dmitry Baryshkov
  2022-04-29 19:29 ` [RFC PATCH 1/4] drm/bridge_connector: stop filtering events in drm_bridge_connector_hpd_cb() Dmitry Baryshkov
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Dmitry Baryshkov @ 2022-04-29 19:29 UTC (permalink / raw)
  To: Bjorn Andersson; +Cc: freedreno, linux-arm-msm

USB altmodes code would send OOB notifications to the drm_connector
specified in the device tree. However as the MSM DP driver uses
drm_bridge_connector, there is no way to receive these event directly.
Implement a bridge between oob_hotplug_event and drm_bridge's hpd_notify
and use it to deliver altmode messages to the MSM DP driver

Bjorn Andersson (2):
  drm: Add HPD state to drm_connector_oob_hotplug_event()
  drm/msm/dp: Implement hpd_notify()

Dmitry Baryshkov (2):
  drm/bridge_connector: stop filtering events in
    drm_bridge_connector_hpd_cb()
  drm/bridge_connector: implement oob_hotplug_event

 drivers/gpu/drm/drm_bridge_connector.c   | 17 ++++++++++++-----
 drivers/gpu/drm/drm_connector.c          |  6 ++++--
 drivers/gpu/drm/i915/display/intel_dp.c  | 17 ++++++++++++++---
 drivers/gpu/drm/i915/i915_drv.h          |  3 +++
 drivers/gpu/drm/msm/dp/dp_display.c      | 11 +++++++++++
 drivers/gpu/drm/msm/dp/dp_display.h      |  1 +
 drivers/gpu/drm/msm/dp/dp_drm.c          |  3 +++
 drivers/gpu/drm/msm/dp/dp_drm.h          |  2 ++
 drivers/gpu/drm/msm/dp/dp_hpd.c          | 21 +++++++++++++++++++++
 drivers/gpu/drm/msm/dp/dp_hpd.h          |  5 +++++
 drivers/usb/typec/altmodes/displayport.c | 10 +++-------
 include/drm/drm_connector.h              |  6 ++++--
 12 files changed, 83 insertions(+), 19 deletions(-)

-- 
2.35.1


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

end of thread, other threads:[~2022-04-29 21:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-29 19:29 [RFC PATCH 0/4] drm/msm/dp: implement HPD notifications handling Dmitry Baryshkov
2022-04-29 19:29 ` [RFC PATCH 1/4] drm/bridge_connector: stop filtering events in drm_bridge_connector_hpd_cb() Dmitry Baryshkov
2022-04-29 19:29 ` [RFC PATCH 2/4] drm: Add HPD state to drm_connector_oob_hotplug_event() Dmitry Baryshkov
2022-04-29 19:29 ` [RFC PATCH 3/4] drm/bridge_connector: implement oob_hotplug_event Dmitry Baryshkov
2022-04-29 19:29 ` [RFC PATCH 4/4] drm/msm/dp: Implement hpd_notify() Dmitry Baryshkov
2022-04-29 21:01 ` [Freedreno] [RFC PATCH 0/4] drm/msm/dp: implement HPD notifications handling Abhinav Kumar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).