mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v4 0/3] drm: remove deprecated *_of_get_bridge() from non-OF drivers
@ 2026-11-05 10:32 Luca Ceresoli
  2026-11-05 10:32 ` [PATCH v4 1/3] drm/vc4: dpi: stop using deprecated drmm_of_get_bridge() Luca Ceresoli
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Luca Ceresoli @ 2026-11-05 10:32 UTC (permalink / raw)
  To: Maxime Ripard, Dave Stevenson, Maíra Canal,
	Raspberry Pi Kernel Maintenance, Maarten Lankhorst,
	Thomas Zimmermann, David Airlie, Simona Vetter
  Cc: Paul Cercueil, Hui Pu, Ian Ray, Thomas Petazzoni, dri-devel,
	linux-kernel, Luca Ceresoli

Replace the deprecated *_of_get_bridge() calls with
of_drm_get_bridge_by_endpoint() for all drivers which can be built without
CONFIG_OF.

Some of those drivers had a build failure for configs without
CONFIG_OF. This series used have fixes for those failures plus other
patches to convert all other such drivers to
of_drm_get_bridge_by_endpoint().

All the fixes are already applied, so since v3 there are only the
improvement patches not yet applied.

Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
---
Changes in v4:
- Fix bridge leak on rebind
- Add patch to simplify vc4_dsi_bridge_attach()
- Remove patch to inline vc4_dpi_init_bridge()
- Remove outdated comment
- Link to v3: https://patch.msgid.link/20261013-drm-fix-of_get_bridge-build-regression-v3-0-0b4c0b65be82@bootlin.com

Changes in v3:
- Patch 1: re-add comment, updated
- Patch 2: fix bridge reference leak in error path
- Patch 3: new patch suggested during v2 review
- Link to v2: https://patch.msgid.link/20260929-drm-fix-of_get_bridge-build-regression-v2-0-6da431d8f180@bootlin.com

Changes in v2:
- Fix bugs in patches 2,3,4
- Fix removed function name in patches 5,6
- Mention lkp reports in patches 2,3
- Add review tags on patches not modified since v1
- Link to v1: https://patch.msgid.link/20260929-drm-fix-of_get_bridge-build-regression-v1-0-ccb7e602daad@bootlin.com

---
Luca Ceresoli (3):
      drm/vc4: dpi: stop using deprecated drmm_of_get_bridge()
      drm/vc4: dsi: stop using deprecated drmm_of_get_bridge()
      drm/vc4: dsi: remove unnecessary intermediate pointer computation

 drivers/gpu/drm/vc4/vc4_dpi.c | 10 +++-------
 drivers/gpu/drm/vc4/vc4_dsi.c | 29 ++++++++++++++++++-----------
 2 files changed, 21 insertions(+), 18 deletions(-)
---
base-commit: f8d77e2376e2cb931111576b15827ee8a9c59e4f
change-id: 20260929-drm-fix-of_get_bridge-build-regression-98f22f8a1dcc

Best regards,
--  
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


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

end of thread, other threads:[~2026-11-06 14:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-05 10:32 [PATCH v4 0/3] drm: remove deprecated *_of_get_bridge() from non-OF drivers Luca Ceresoli
2026-11-05 10:32 ` [PATCH v4 1/3] drm/vc4: dpi: stop using deprecated drmm_of_get_bridge() Luca Ceresoli
2026-11-05 10:32 ` [PATCH v4 2/3] drm/vc4: dsi: " Luca Ceresoli
2026-11-05 10:32 ` [PATCH v4 3/3] drm/vc4: dsi: remove unnecessary intermediate pointer computation Luca Ceresoli
2026-11-05 23:27   ` Maíra Canal
2026-11-06 14:01     ` Luca Ceresoli
2026-11-05 23:20 ` [PATCH v4 0/3] drm: remove deprecated *_of_get_bridge() from non-OF drivers Maíra Canal

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®