mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Luca Ceresoli <luca.ceresoli@bootlin.com>
To: 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>,
	 Jessica Zhang <jesszhan0024@gmail.com>
Cc: Icenowy Zheng <zhengxingda@iscas.ac.cn>,
	 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,
	 Luca Ceresoli <luca.ceresoli@bootlin.com>
Subject: [PATCH 3/3] drm/drv: stop mentioning deprecated drm_of_find_panel_or_bridge() in docs
Date: Mon, 12 Oct 2026 16:29:53 +0200	[thread overview]
Message-ID: <20261012-drm-bridge-every-panel-cleanups-v1-3-0fd272f486b6@bootlin.com> (raw)
In-Reply-To: <20261012-drm-bridge-every-panel-cleanups-v1-0-0fd272f486b6@bootlin.com>

drm_of_find_panel_or_bridge() is deprecated. Update the "component helper
usage recommendations" docs by mentioning the currently recommended API.

Also stop mentioning drm_panel because now every drm_panel embeds a
drm_bridge and the drm_bridge API is recommended to access panels too.

Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
---
 drivers/gpu/drm/drm_drv.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/gpu/drm/drm_drv.c b/drivers/gpu/drm/drm_drv.c
index 0cdc606af8d1..3f1b7faf5bef 100644
--- a/drivers/gpu/drm/drm_drv.c
+++ b/drivers/gpu/drm/drm_drv.c
@@ -695,10 +695,10 @@ static void drm_fs_inode_free(struct inode *inode)
  *
  *  - The component helper fills the niche where further standardization of
  *    interfaces is not practical. When there already is, or will be, a
- *    standardized interface like &drm_bridge or &drm_panel, providing its own
- *    functions to find such components at driver load time, like
- *    drm_of_find_panel_or_bridge(), then the component helper should not be
- *    used.
+ *    standardized interface like &drm_bridge providing its own functions
+ *    to find such components at driver load time, like
+ *    of_drm_get_bridge_by_endpoint() and of_drm_find_and_get_bridge(),
+ *    then the component helper should not be used.
  */
 
 static void drm_dev_init_release(struct drm_device *dev, void *res)

-- 
2.56.0


  parent reply	other threads:[~2026-10-13 17:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-12 14:29 [PATCH 0/3] drm: docs: mention currently recommended API instead of deprecated ones Luca Ceresoli
2026-10-12 14:29 ` [PATCH 1/3] drm/bridge: stop mentioning deprecated devm_drm_of_get_bridge() in docs Luca Ceresoli
2026-10-13 12:10   ` Laurent Pinchart
2026-10-13 12:24   ` Dmitry Baryshkov
2026-10-12 14:29 ` [PATCH 2/3] drm/panel: " Luca Ceresoli
2026-10-13 12:25   ` Dmitry Baryshkov
2026-10-12 14:29 ` Luca Ceresoli [this message]
2026-10-13 12:14   ` [PATCH 3/3] drm/drv: stop mentioning deprecated drm_of_find_panel_or_bridge() " Laurent Pinchart
2026-10-13 12:25     ` Dmitry Baryshkov

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=20261012-drm-bridge-every-panel-cleanups-v1-3-0fd272f486b6@bootlin.com \
    --to=luca.ceresoli@bootlin.com \
    --cc=Hui.Pu@gehealthcare.com \
    --cc=Laurent.pinchart@ideasonboard.com \
    --cc=airlied@gmail.com \
    --cc=andrzej.hajda@intel.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=ian.ray@gehealthcare.com \
    --cc=jernej.skrabec@gmail.com \
    --cc=jesszhan0024@gmail.com \
    --cc=jonas@kwiboo.se \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mripard@kernel.org \
    --cc=neil.armstrong@linaro.org \
    --cc=rfoss@kernel.org \
    --cc=simona@ffwll.ch \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=tzimmermann@suse.de \
    --cc=zhengxingda@iscas.ac.cn \
    /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®