On Mon, Oct 12, 2026 at 04:29:51PM +0200, Luca Ceresoli wrote: > devm_drm_of_get_bridge() is deprecated. Update the "display driver > integration" docs by mentioning the currently recommended API. > > Link: > https://lore.kernel.org/all/[email protected]/ > Suggested-by: Icenowy Zheng <[email protected]> > Signed-off-by: Luca Ceresoli <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]> > --- > drivers/gpu/drm/drm_bridge.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/drivers/gpu/drm/drm_bridge.c b/drivers/gpu/drm/drm_bridge.c > index e7f9e6d58927..e259d078f7de 100644 > --- a/drivers/gpu/drm/drm_bridge.c > +++ b/drivers/gpu/drm/drm_bridge.c > @@ -68,8 +68,9 @@ > * > * Display drivers are responsible for linking encoders with the first bridge > * in the chains. This is done by acquiring the appropriate bridge with > - * devm_drm_of_get_bridge(). Once acquired, the bridge shall be attached to > the > - * encoder with a call to drm_bridge_attach(). > + * of_drm_get_bridge_by_endpoint() or of_drm_find_and_get_bridge(). Once > + * acquired, the bridge shall be attached to the encoder with a call to > + * drm_bridge_attach(). > * > * Bridges are responsible for linking themselves with the next bridge in the > * chain, if any. This is done the same way as for encoders, with the call to -- Regards, Laurent Pinchart
