linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/7] drm/bridge_connector: perform HPD enablement automatically
@ 2022-11-02 18:06 Dmitry Baryshkov
  2022-11-02 18:06 ` [PATCH v3 1/7] drm/poll-helper: merge drm_kms_helper_poll_disable() and _fini() Dmitry Baryshkov
                   ` (9 more replies)
  0 siblings, 10 replies; 34+ messages in thread
From: Dmitry Baryshkov @ 2022-11-02 18:06 UTC (permalink / raw)
  To: Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie,
	Daniel Vetter, Laurentiu Palcu, Lucas Stach, Philipp Zabel,
	Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
	NXP Linux Team, Rob Clark, Sean Paul, Abhinav Kumar,
	Tomi Valkeinen
  Cc: dri-devel, linux-arm-kernel, linux-arm-msm, freedreno

From all the drivers using drm_bridge_connector only iMX/dcss and OMAP
DRM driver do a proper work of calling
drm_bridge_connector_en/disable_hpd() in right places. Rather than
teaching each and every driver how to properly handle
drm_bridge_connector's HPD, make that automatic.

Add two additional drm_connector helper funcs: enable_hpd() and
disable_hpd(). Make drm_kms_helper_poll_* functions call them (as this
is the time where the drm_bridge_connector's functions are called by the
drivers too).

Changes since v2:
 - Fixed a typo in the commit message of the second patch.

Changes since v1:
 - Rebased on top of v6.1-rc1
 - Removed the drm_bridge_connector_enable_hpd() from
   drm_bridge_connector_init()
 - Removed extra underscore prefix from
   drm_bridge_connector_en/disable_hpd() helpers

Dmitry Baryshkov (7):
  drm/poll-helper: merge drm_kms_helper_poll_disable() and _fini()
  drm/probe-helper: enable and disable HPD on connectors
  drm/bridge_connector: rely on drm_kms_helper_poll_* for HPD enablement
  drm/imx/dcss: stop using drm_bridge_connector_en/disable_hpd()
  drm/msm/hdmi: stop using drm_bridge_connector_en/disable_hpd()
  drm/omap: stop using drm_bridge_connector_en/disable_hpd()
  drm/bridge_connector: drop drm_bridge_connector_en/disable_hpd()

 drivers/gpu/drm/drm_bridge_connector.c   | 27 +++-------------
 drivers/gpu/drm/drm_probe_helper.c       | 40 ++++++++++++++++++-----
 drivers/gpu/drm/imx/dcss/dcss-dev.c      |  4 ---
 drivers/gpu/drm/imx/dcss/dcss-kms.c      |  2 --
 drivers/gpu/drm/msm/hdmi/hdmi.c          |  2 --
 drivers/gpu/drm/omapdrm/omap_drv.c       | 41 ------------------------
 include/drm/drm_bridge_connector.h       |  2 --
 include/drm/drm_modeset_helper_vtables.h | 22 +++++++++++++
 8 files changed, 59 insertions(+), 81 deletions(-)

-- 
2.35.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2023-03-08 12:36 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-02 18:06 [PATCH v3 0/7] drm/bridge_connector: perform HPD enablement automatically Dmitry Baryshkov
2022-11-02 18:06 ` [PATCH v3 1/7] drm/poll-helper: merge drm_kms_helper_poll_disable() and _fini() Dmitry Baryshkov
2022-11-02 18:07 ` [PATCH v3 2/7] drm/probe-helper: enable and disable HPD on connectors Dmitry Baryshkov
2022-11-02 18:07 ` [PATCH v3 3/7] drm/bridge_connector: rely on drm_kms_helper_poll_* for HPD enablement Dmitry Baryshkov
     [not found]   ` <CGME20230111124140eucas1p21242c8b4cb0fc8a994d66827ca76a3ee@eucas1p2.samsung.com>
2023-01-11 12:41     ` [v3,3/7] " Marek Szyprowski
2023-01-12  9:35       ` Neil Armstrong
2023-01-12  9:36         ` Dmitry Baryshkov
2023-01-12 10:48         ` Marek Szyprowski
2022-11-02 18:07 ` [PATCH v3 4/7] drm/imx/dcss: stop using drm_bridge_connector_en/disable_hpd() Dmitry Baryshkov
2023-01-05 14:09   ` Neil Armstrong
2022-11-02 18:07 ` [PATCH v3 5/7] drm/msm/hdmi: " Dmitry Baryshkov
2023-03-08 10:21   ` Johan Hovold
2023-03-08 12:35     ` Dmitry Baryshkov
2022-11-02 18:07 ` [PATCH v3 6/7] drm/omap: " Dmitry Baryshkov
2022-11-02 18:07 ` [PATCH v3 7/7] drm/bridge_connector: drop drm_bridge_connector_en/disable_hpd() Dmitry Baryshkov
2022-12-28 21:58 ` [PATCH v3 0/7] drm/bridge_connector: perform HPD enablement automatically Dmitry Baryshkov
2023-01-04  7:29   ` Tomi Valkeinen
2023-01-04  9:05     ` Neil Armstrong
2023-01-05 12:31       ` Dmitry Baryshkov
2023-01-05 12:33         ` Tomi Valkeinen
2023-01-05 14:12 ` Neil Armstrong
2023-01-09 16:21 ` Laurentiu Palcu
2023-01-09 20:26   ` Dmitry Baryshkov
2023-01-10  6:57     ` Laurentiu Palcu
2023-01-10 10:20       ` Geert Uytterhoeven
2023-02-07  9:40         ` Geert Uytterhoeven
2023-01-10 16:29       ` Dmitry Baryshkov
2023-02-07  9:40         ` Geert Uytterhoeven
2023-02-07  9:59           ` Neil Armstrong
2023-02-07 10:02             ` Geert Uytterhoeven
2023-02-07 10:18               ` neil.armstrong
2023-02-07 10:19               ` Geert Uytterhoeven
2023-02-07 13:30                 ` neil.armstrong
2023-02-07 14:57                   ` Neil Armstrong

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).