All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/12] drm/bridge: Kconfig: cleanup DRM_PANEL usage
@ 2026-08-12 13:42 Luca Ceresoli
  2026-08-12 13:42 ` [PATCH 01/12] drm/bridge: megachips-stdpxxxx-ge-b850v3-fw: don't select unused DRM_PANEL Luca Ceresoli
                   ` (11 more replies)
  0 siblings, 12 replies; 14+ messages in thread
From: Luca Ceresoli @ 2026-08-12 13:42 UTC (permalink / raw)
  To: Andrzej Hajda, Neil Armstrong, Robert Foss, Laurent Pinchart,
	Jonas Karlman, Jernej Skrabec, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter
  Cc: Hui Pu, Ian Ray, Thomas Petazzoni, dri-devel, linux-kernel,
	Luca Ceresoli

As a cleanup in preparation for making every drm_panel create a
panel_bridge, remove unnecessary or wrong usage of 'depends on DRM_PANEL'
and 'select DRM_PANEL' from drivers/gpu/drm/bridge/Kconfig.

== Grand plan

This is part of the work to support hotplug of DRM bridges. The grand plan
was discussed in [0].

Here's the work breakdown (➜ marks the current series):

 1. ➜ add refcounting to DRM bridges struct drm_bridge,
      based on devm_drm_bridge_alloc()
    A. ✔ add new alloc API and refcounting (v6.16)
    B. ✔ convert all bridge drivers to new API (v6.17)
    C. ✔ kunit tests (v6.17)
    D. ✔ add get/put to drm_bridge_add/remove() + attach/detach()
         and warn on old allocation pattern (v6.17)
    E. ➜ add get/put on drm_bridge accessors
       1. ✔ drm_bridge_chain_get_first_bridge(), add cleanup action (v6.18)
       2. ✔ drm_bridge_get_prev_bridge() (v6.18)
       3. ✔ drm_bridge_get_next_bridge() (v6.19)
       4. ✔ drm_for_each_bridge_in_chain() (v6.19)
       5. ✔ drm_bridge_connector_init (v6.19)
       6. ✔ protect encoder bridge chain with a mutex (v7.2)
       7. ✔ of_drm_find_bridge
          a. ✔ add of_drm_get_bridge() (v7.0),
               convert basic direct users (v7.0-v7.1)
          b. ✔ convert direct of_drm_get_bridge() users, part 2 (v7.0)
          c. ✔ convert direct of_drm_get_bridge() users, part 3 (v7.0)
          d. ✔ convert direct of_drm_get_bridge() users, part 4 (v7.1-v7.2)
          e. ✔ bridge-only drm_of_find_panel_or_bridge() users (v7.2)
       8. ➜ panel_bridge lifetime
          a. ➜ cleanup DRM_PANEL in bridge drivers
	  b.   add a panel_bridge to every panel
       9. ✔ enforce drm_bridge_add before drm_bridge_attach (v6.19)
    F. ✔ debugfs improvements
       1. ✔ add top-level 'bridges' file (v6.16)
       2. ✔ show refcount and list lingering bridges (v6.19)
 2. ✔ handle gracefully atomic updates during bridge removal
    A. ✔ Add drm_bridge_enter/exit() to protect device resources (v7.0)
    B. ✔ Add drm_bridge_clear_and_put() (v7.1)
 3. … DSI host-device driver interaction
 4. ✔ removing the need for the "always-disconnected" connector
 5. ✔ Migrate i.MX LCDIF driver to bridge-connector (v7.2)
 6. … DRM bridge hotplug
    A. … Bridge hotplug management in the DRM core
       1. ✔ bridge-connector: attach encoder to the connector (v7.2)
       2. … drm bridge hotplug
    B.   Device tree description

[0] https://lore.kernel.org/lkml/20250206-hotplug-drm-bridge-v6-0-9d6f2c9c3058@bootlin.com/#t

Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
---
Luca Ceresoli (12):
      drm/bridge: megachips-stdpxxxx-ge-b850v3-fw: don't select unused DRM_PANEL
      drm/bridge: tc358764: don't select unused DRM_PANEL
      drm/bridge: ti-dlpc3433: don't depend on DRM_PANEL
      drm/bridge: ti-sn65dsi86: don't select unused DRM_PANEL
      drm/bridge: ti-sn65dsi83: select DRM_PANEL_BRIDGE
      drm/bridge: nxp-ptn3460: select DRM_PANEL_BRIDGE
      drm/bridge: parade-ps8622: select DRM_PANEL_BRIDGE
      drm/bridge: parade-ps8640: select DRM_PANEL_BRIDGE
      drm/bridge: tc358775: select DRM_PANEL_BRIDGE
      drm/bridge: tc358767: select DRM_PANEL_BRIDGE
      drm/bridge: tc358768: select DRM_PANEL_BRIDGE
      drm/bridge: ssd2825: select DRM_PANEL_BRIDGE

 drivers/gpu/drm/bridge/Kconfig | 21 +++++++++------------
 1 file changed, 9 insertions(+), 12 deletions(-)
---
base-commit: d3850569e847e8912b9be6e0fe6b91fb75293647
change-id: 20260812-drm-bridge-drm_panel-cleanup-09ed5cc10948

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


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

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

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-12 13:42 [PATCH 00/12] drm/bridge: Kconfig: cleanup DRM_PANEL usage Luca Ceresoli
2026-08-12 13:42 ` [PATCH 01/12] drm/bridge: megachips-stdpxxxx-ge-b850v3-fw: don't select unused DRM_PANEL Luca Ceresoli
2026-08-14 11:48   ` Ian Ray
2026-08-12 13:42 ` [PATCH 02/12] drm/bridge: tc358764: " Luca Ceresoli
2026-08-12 13:42 ` [PATCH 03/12] drm/bridge: ti-dlpc3433: don't depend on DRM_PANEL Luca Ceresoli
2026-08-12 13:42 ` [PATCH 04/12] drm/bridge: ti-sn65dsi86: don't select unused DRM_PANEL Luca Ceresoli
2026-08-12 13:42 ` [PATCH 05/12] drm/bridge: ti-sn65dsi83: select DRM_PANEL_BRIDGE Luca Ceresoli
2026-08-12 13:42 ` [PATCH 06/12] drm/bridge: nxp-ptn3460: " Luca Ceresoli
2026-08-12 13:42 ` [PATCH 07/12] drm/bridge: parade-ps8622: " Luca Ceresoli
2026-08-12 13:42 ` [PATCH 08/12] drm/bridge: parade-ps8640: " Luca Ceresoli
2026-08-12 13:42 ` [PATCH 09/12] drm/bridge: tc358775: " Luca Ceresoli
2026-08-12 13:42 ` [PATCH 10/12] drm/bridge: tc358767: " Luca Ceresoli
2026-08-12 13:42 ` [PATCH 11/12] drm/bridge: tc358768: " Luca Ceresoli
2026-08-12 13:42 ` [PATCH 12/12] drm/bridge: ssd2825: " Luca Ceresoli

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.