From: sashiko-bot@kernel.org
To: "Luca Ceresoli" <luca.ceresoli@bootlin.com>
Cc: dri-devel@lists.freedesktop.org
Subject: Re: [PATCH 2/3] drm/panel: remove drmm_of_get_bridge()
Date: Fri, 06 Nov 2026 16:35:22 +0000 [thread overview]
Message-ID: <sashiko-outbox-201829@kernel.org> (raw)
In-Reply-To: <20261106-drm-panel_bridge-remove-drmm_of_get_bridge-v1-2-c0ea3382b798@bootlin.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [High] drm/panel: build failure in vc4 driver after removing
drmm_of_get_bridge()
--
commit 4e516e61e060977ea843a480424ba4b15e3d19c9
Author: Luca Ceresoli <luca.ceresoli@bootlin.com>
drm/panel: remove drmm_of_get_bridge()
This commit removes the deprecated drmm_of_get_bridge() helper and its
header declarations.
> diff --git a/drivers/gpu/drm/drm_panel.c b/drivers/gpu/drm/drm_panel.c
> index c00529bfb706b..12f39ce1b7035 100644
> --- a/drivers/gpu/drm/drm_panel.c
> +++ b/drivers/gpu/drm/drm_panel.c
[ ... ]
> -struct drm_bridge *drmm_of_get_bridge(struct drm_device *drm,
> - struct device_node *np,
> - u32 port, u32 endpoint)
> -{
> - struct drm_bridge *bridge;
> - struct drm_panel *panel;
> - int ret;
> -
> - ret = drm_of_find_panel_or_bridge(np, port, endpoint,
> - &panel, &bridge);
> - if (ret)
> - return ERR_PTR(ret);
> -
> - if (panel) {
> - bridge = drmm_panel_bridge_add(drm, panel);
> - drm_panel_put(panel);
> - }
> -
> - return bridge;
> -}
> -EXPORT_SYMBOL(drmm_of_get_bridge);
[Severity: High]
Does removing drmm_of_get_bridge() break building the vc4 driver?
vc4_dpi_init_bridge() in drivers/gpu/drm/vc4/vc4_dpi.c and vc4_dsi_bind()
in drivers/gpu/drm/vc4/vc4_dsi.c still call
drmm_of_get_bridge(drm, dev->of_node, 0, 0).
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261106-drm-panel_bridge-remove-drmm_of_get_bridge-v1-0-c0ea3382b798@bootlin.com?part=2
next prev parent reply other threads:[~2026-11-06 16:35 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-06 16:17 [PATCH 0/3] drm: remove drmm_of_get_bridge() Luca Ceresoli
2026-11-06 16:17 ` [PATCH 1/3] drm: adp: stop using deprecated drmm_of_get_bridge() Luca Ceresoli
2026-11-06 16:17 ` [PATCH 2/3] drm/panel: remove drmm_of_get_bridge() Luca Ceresoli
2026-11-06 16:35 ` sashiko-bot [this message]
2026-11-06 16:48 ` Luca Ceresoli
2026-11-06 16:17 ` [PATCH 3/3] drm/todo: " Luca Ceresoli
2026-11-06 16:40 ` sashiko-bot
2026-11-08 17:26 ` [PATCH 0/3] drm: " Joshua Peisach
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=sashiko-outbox-201829@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=luca.ceresoli@bootlin.com \
--cc=sashiko-reviews@lists.linux.dev \
/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.