All of lore.kernel.org
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Luca Ceresoli <luca.ceresoli@bootlin.com>
Cc: Andrzej Hajda <andrzej.hajda@intel.com>,
	Neil Armstrong <neil.armstrong@linaro.org>,
	Robert Foss <rfoss@kernel.org>, 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>,
	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
Subject: Re: [PATCH 3/3] drm/drv: stop mentioning deprecated drm_of_find_panel_or_bridge() in docs
Date: Tue, 13 Oct 2026 14:14:50 +0200	[thread overview]
Message-ID: <20261013121450.GL56180@killaraus.ideasonboard.com> (raw)
In-Reply-To: <20261012-drm-bridge-every-panel-cleanups-v1-3-0fd272f486b6@bootlin.com>

On Mon, Oct 12, 2026 at 04:29:53PM +0200, Luca Ceresoli wrote:
> 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>

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.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)

-- 
Regards,

Laurent Pinchart

  reply	other threads:[~2026-10-13 12:15 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 ` [PATCH 3/3] drm/drv: stop mentioning deprecated drm_of_find_panel_or_bridge() " Luca Ceresoli
2026-10-13 12:14   ` Laurent Pinchart [this message]
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=20261013121450.GL56180@killaraus.ideasonboard.com \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=Hui.Pu@gehealthcare.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=luca.ceresoli@bootlin.com \
    --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 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.