Skip to content

drm/bridge_connector: perform HPD enablement automatically

Dmitry Baryshkov dri-devel linux-amlogic linux-arm-kernel linux-arm-msm linux-renesas-soc 3 versions – Applied

Status from this message: Thanks, Applied to https://anongit.freedesktop.org/git/drm/drm-misc.git (drm-misc-next)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest7 patches 26 repliesApplied
  2. v27 patches 3 repliesSuperseded
  3. v17 patches 4 repliesSuperseded

Changes in v3 from the cover letter

- Fixed a typo in the commit message of the second patch.

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/7drm/poll-helper: merge drm_kms_helper_poll_disable() and _fini()drivers/gpu/drm/drm_probe_helper.c+13 -80 replies
2/7drm/probe-helper: enable and disable HPD on connectorsdrivers/gpu/drm/drm_probe_helper.c include/drm/drm_modeset_helper_vtables.h+41 -00 replies
3/7drm/bridge_connector: rely on drm_kms_helper_poll_* for HPD enablementdrivers/gpu/drm/drm_bridge_connector.c+13 -54 replies
4/7drm/imx/dcss: stop using drm_bridge_connector_en/disable_hpd()drivers/gpu/drm/imx/dcss/dcss-dev.c drivers/gpu/drm/imx/dcss/dcss-kms.c+0 -61 reply
5/7drm/msm/hdmi: stop using drm_bridge_connector_en/disable_hpd()drivers/gpu/drm/msm/hdmi/hdmi.c+0 -22 replies
6/7drm/omap: stop using drm_bridge_connector_en/disable_hpd()drivers/gpu/drm/omapdrm/omap_drv.c+0 -410 replies
7/7drm/bridge_connector: drop drm_bridge_connector_en/disable_hpd()drivers/gpu/drm/drm_bridge_connector.c include/drm/drm_bridge_connector.h+4 -310 replies

Reviews trailers per patch

None of the 7 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchTomi ValkeinenMarek Szyprowski
SeriesR-b
1/7
2/7
3/7T-b
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/7] drm/bridge_connector: perform HPD enablement automatically

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(-)
Signature · 1 line
2.35.1