mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Paul Cercueil <paul.cercueil@bootlin.com>
To: Luca Ceresoli <luca.ceresoli@bootlin.com>,
	Andrzej Hajda	 <andrzej.hajda@intel.com>,
	Neil Armstrong <neil.armstrong@linaro.org>,
	 Robert Foss <rfoss@kernel.org>,
	Laurent Pinchart <Laurent.pinchart@ideasonboard.com>,
	Jonas Karlman	 <jonas@kwiboo.se>,
	Jernej Skrabec <jernej.skrabec@gmail.com>,
	Maarten Lankhorst	 <maarten.lankhorst@linux.intel.com>,
	Maxime Ripard <mripard@kernel.org>,
	 Thomas Zimmermann <tzimmermann@suse.de>,
	David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>,
	Matthias Brugger <matthias.bgg@gmail.com>,
	AngeloGioacchino Del Regno	
	<angelogioacchino.delregno@collabora.com>
Cc: Hui Pu <Hui.Pu@gehealthcare.com>,
	Ian Ray <ian.ray@gehealthcare.com>,
	 Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
	dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org,
	 linux-arm-kernel@lists.infradead.org,
	linux-mediatek@lists.infradead.org,
	 Marek Szyprowski <m.szyprowski@samsung.com>,
	Marek Vasut <marex@denx.de>,
	Jagan Teki <jagan@amarulasolutions.com>,
	 Christopher Vollo <chris@renewoutreach.org>,
	Sean Paul <seanpaul@chromium.org>,
	Vincent Palatin <vpalatin@chromium.org>,
	 Tony Lindgren <tony@atomide.com>,
	Michael Walle <mwalle@kernel.org>,
	Vinay Simha BN <simhavcs@gmail.com>,
	 Maoyi Xie <maoyixie.tju@gmail.com>,
	Andy Yan <andy.yan@rock-chips.com>,
	Andrey Gusakov	 <andrey.gusakov@cogentembedded.com>,
	Tomi Valkeinen	 <tomi.valkeinen@ideasonboard.com>,
	Peter Ujfalusi <peter.ujfalusi@ti.com>,
	 Svyatoslav Ryhel <clamor95@gmail.com>,
	Sam Ravnborg <sam@ravnborg.org>,
	sashiko-bot@kernel.org
Subject: Re: [PATCH v4 0/9] drm/bridge: Kconfig: cleanup DRM_PANEL usage
Date: Mon, 21 Sep 2026 17:06:51 +0200	[thread overview]
Message-ID: <2467109c58ebe37f0016d58b24125889df70e3f1.camel@bootlin.com> (raw)
In-Reply-To: <20260915-drm-bridge-drm_panel-cleanup-v4-0-30401d9406f3@bootlin.com>

Hi Luca,

Le mardi 15 septembre 2026 à 18:46 +0200, Luca Ceresoli a écrit :
> As a cleanup in preparation for making every drm_panel embed a drm_bridge,
> fix missing or unnecessary usage of DRM_PANEL and DRM_PANEL_BRIDGE in
> 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. … embed a drm_bridge in every drm_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>

I had a look and everything looks fine to me.

For the series:
Reviewed-by: Paul Cercueil <paul.cercueil@bootlin.com>


> ---
> Changes in v4:
> - Removed 4 patches now upstream
> - Fixed commit message of the tc358767 patch
> - Link to v3:
> https://patch.msgid.link/20260831-drm-bridge-drm_panel-cleanup-v3-0-50efd8168b3e@bootlin.com
> 
> Changes in v3:
> - Fixed a few patches which incorrectly removed 'select DRM_BRIDGE'
> - Added missing 'select DRM_PANEL_BRIDGE' to some patches where
>   devm_drm_of_get_bridge() is used (thanks Doug)
> - Added patch 13 for tc358764
> - Removed boucing address spanda@codeaurora.org from Cc list
> - Link to v2:
> https://patch.msgid.link/20260825-drm-bridge-drm_panel-cleanup-v2-0-c6c88ba7ffd2@bootlin.com
> 
> Changes in v2:
> - Added maintainers and recent authors to per-patch Cc list (these are not
>   added automatically by get-maintainers because the patches touch only the
>   Kconfig file)
> - Added review trailer
> - No changes to commit messages and patch content
> - Link to v1:
> https://patch.msgid.link/20260812-drm-bridge-drm_panel-cleanup-v1-0-0d86734e908a@bootlin.com
> 
> ---
> Luca Ceresoli (9):
>       drm/bridge: tc358764: don't select unused DRM_PANEL
>       drm/bridge: ti-dlpc3433: don't depend on DRM_PANEL, select
> DRM_PANEL_BRIDGE
>       drm/bridge: nxp-ptn3460: select DRM_PANEL_BRIDGE, not DRM_PANEL
>       drm/bridge: parade-ps8622: select DRM_PANEL_BRIDGE, not DRM_PANEL
>       drm/bridge: tc358775: select DRM_PANEL_BRIDGE, not DRM_PANEL
>       drm/bridge: tc358767: select DRM_PANEL_BRIDGE
>       drm/bridge: tc358768: select DRM_PANEL_BRIDGE
>       drm/bridge: ssd2825: select DRM_PANEL_BRIDGE
>       drm/bridge: tc358764: select DRM_PANEL_BRIDGE
> 
>  drivers/gpu/drm/bridge/Kconfig | 14 +++++++++-----
>  1 file changed, 9 insertions(+), 5 deletions(-)
> ---
> base-commit: 2d70e1401dbbfc559b6a5d1ba8275d5282d71c2c
> change-id: 20260812-drm-bridge-drm_panel-cleanup-09ed5cc10948
> 
> Best regards,
> --  
> Luca Ceresoli, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com

Cheers,

-- 
Paul Cercueil, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

      parent reply	other threads:[~2026-09-21 15:07 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-15 16:46 Luca Ceresoli
2026-09-15 16:46 ` [PATCH v4 1/9] drm/bridge: tc358764: don't select unused DRM_PANEL Luca Ceresoli
2026-09-15 16:46 ` [PATCH v4 2/9] drm/bridge: ti-dlpc3433: don't depend on DRM_PANEL, select DRM_PANEL_BRIDGE Luca Ceresoli
2026-09-15 16:46 ` [PATCH v4 3/9] drm/bridge: nxp-ptn3460: select DRM_PANEL_BRIDGE, not DRM_PANEL Luca Ceresoli
2026-09-15 16:46 ` [PATCH v4 4/9] drm/bridge: parade-ps8622: " Luca Ceresoli
2026-09-15 16:46 ` [PATCH v4 5/9] drm/bridge: tc358775: " Luca Ceresoli
2026-09-16 12:27   ` Michael Walle
2026-09-15 16:46 ` [PATCH v4 6/9] drm/bridge: tc358767: select DRM_PANEL_BRIDGE Luca Ceresoli
2026-09-15 16:46 ` [PATCH v4 7/9] drm/bridge: tc358768: " Luca Ceresoli
2026-09-15 16:46 ` [PATCH v4 8/9] drm/bridge: ssd2825: " Luca Ceresoli
2026-09-16  7:16   ` Svyatoslav Ryhel
2026-09-15 16:46 ` [PATCH v4 9/9] drm/bridge: tc358764: " Luca Ceresoli
2026-09-15 16:51 ` [PATCH v4 0/9] drm/bridge: Kconfig: cleanup DRM_PANEL usage Luca Ceresoli
2026-09-21 15:06 ` Paul Cercueil [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2467109c58ebe37f0016d58b24125889df70e3f1.camel@bootlin.com \
    --to=paul.cercueil@bootlin.com \
    --cc=Hui.Pu@gehealthcare.com \
    --cc=Laurent.pinchart@ideasonboard.com \
    --cc=airlied@gmail.com \
    --cc=andrey.gusakov@cogentembedded.com \
    --cc=andrzej.hajda@intel.com \
    --cc=andy.yan@rock-chips.com \
    --cc=angelogioacchino.delregno@collabora.com \
    --cc=chris@renewoutreach.org \
    --cc=clamor95@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=ian.ray@gehealthcare.com \
    --cc=jagan@amarulasolutions.com \
    --cc=jernej.skrabec@gmail.com \
    --cc=jonas@kwiboo.se \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=luca.ceresoli@bootlin.com \
    --cc=m.szyprowski@samsung.com \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=maoyixie.tju@gmail.com \
    --cc=marex@denx.de \
    --cc=matthias.bgg@gmail.com \
    --cc=mripard@kernel.org \
    --cc=mwalle@kernel.org \
    --cc=neil.armstrong@linaro.org \
    --cc=peter.ujfalusi@ti.com \
    --cc=rfoss@kernel.org \
    --cc=sam@ravnborg.org \
    --cc=sashiko-bot@kernel.org \
    --cc=seanpaul@chromium.org \
    --cc=simhavcs@gmail.com \
    --cc=simona@ffwll.ch \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=tomi.valkeinen@ideasonboard.com \
    --cc=tony@atomide.com \
    --cc=tzimmermann@suse.de \
    --cc=vpalatin@chromium.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®