Re: [PATCH 3/3] drm/drv: stop mentioning deprecated drm_of_find_panel_or_bridge() in docs
From: Laurent Pinchart
Date: Tue Oct 13 2026 - 10:56:08 EST
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@xxxxxxxxxxx>
Reviewed-by: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx>
> ---
> 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