All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Luca Ceresoli" <luca.ceresoli@bootlin.com>
Cc: dri-devel@lists.freedesktop.org
Subject: Re: [PATCH v2 10/12] drm/bridge: tc358767: select DRM_PANEL_BRIDGE
Date: Tue, 25 Aug 2026 10:32:33 +0000	[thread overview]
Message-ID: <20260825103234.3F2B71F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260825-drm-bridge-drm_panel-cleanup-v2-10-c6c88ba7ffd2@bootlin.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] Incomplete Kconfig cleanup in patch series: DRM_TOSHIBA_TC358764 uses drm_panel_bridge APIs but does not select DRM_PANEL_BRIDGE.
--

--- Patch [10]: [PATCH v2 10/12] drm/bridge: tc358767: select DRM_PANEL_BRIDGE ---
commit 0a2f8ec4febb1e1d377dd7d92fdc0b82006defba
Author: Luca Ceresoli <luca.ceresoli@bootlin.com>

drm/bridge: tc358767: select DRM_PANEL_BRIDGE

This driver uses a mixture of drm_panel and drm_panel_bridge APIs, but the
Kconfig symbol only selects DRM_PANEL. Select DRM_PANEL_BRIDGE instead,
which in turn depends on DRM_PANEL.

> diff --git a/drivers/gpu/drm/bridge/Kconfig b/drivers/gpu/drm/bridge/Kconfig
> index 7874d3b1e7608..8eaaa3282062a 100644
> --- a/drivers/gpu/drm/bridge/Kconfig
> +++ b/drivers/gpu/drm/bridge/Kconfig
> @@ -399,7 +399,7 @@ config DRM_TOSHIBA_TC358767
>  	select DRM_KMS_HELPER
>  	select REGMAP_I2C
>  	select DRM_MIPI_DSI
> -	select DRM_PANEL
> +	select DRM_PANEL_BRIDGE

[Severity: Low]
Since you are updating bridge drivers in this series to select
DRM_PANEL_BRIDGE, should DRM_TOSHIBA_TC358764 also be updated?

In drivers/gpu/drm/bridge/tc358764.c:tc358764_probe(), the driver uses
devm_drm_of_get_bridge():

	ctx->next_bridge = devm_drm_of_get_bridge(dev, dev->of_node, 1, 0);
	if (IS_ERR(ctx->next_bridge))

This API call relies on CONFIG_DRM_PANEL_BRIDGE being enabled, but
config DRM_TOSHIBA_TC358764 doesn't select DRM_PANEL_BRIDGE. If the default
for CONFIG_DRM_PANEL_BRIDGE ever changes, could this cause
devm_drm_of_get_bridge() to silently return -ENODEV and fail probing?

>  	help
>  	  Toshiba TC358767 eDP bridge chip driver.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260825-drm-bridge-drm_panel-cleanup-v2-0-c6c88ba7ffd2@bootlin.com?part=10

  reply	other threads:[~2026-08-25 10:32 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-25 10:09 [PATCH v2 00/12] drm/bridge: Kconfig: cleanup DRM_PANEL usage Luca Ceresoli
2026-08-25 10:09 ` [PATCH v2 01/12] drm/bridge: megachips-stdpxxxx-ge-b850v3-fw: don't select unused DRM_PANEL Luca Ceresoli
2026-08-25 10:09 ` [PATCH v2 02/12] drm/bridge: tc358764: " Luca Ceresoli
2026-08-25 10:09 ` [PATCH v2 03/12] drm/bridge: ti-dlpc3433: don't depend on DRM_PANEL Luca Ceresoli
2026-08-25 10:22   ` sashiko-bot
2026-08-25 10:09 ` [PATCH v2 04/12] drm/bridge: ti-sn65dsi86: don't select unused DRM_PANEL Luca Ceresoli
2026-08-27 16:24   ` Doug Anderson
2026-08-31  8:55     ` Luca Ceresoli
2026-08-25 10:09 ` [PATCH v2 05/12] drm/bridge: ti-sn65dsi83: select DRM_PANEL_BRIDGE Luca Ceresoli
2026-08-25 12:24   ` Herve Codina
2026-08-25 13:40   ` Esben Haabendal
2026-08-25 10:09 ` [PATCH v2 06/12] drm/bridge: nxp-ptn3460: " Luca Ceresoli
2026-08-25 10:09 ` [PATCH v2 07/12] drm/bridge: parade-ps8622: " Luca Ceresoli
2026-08-25 10:09 ` [PATCH v2 08/12] drm/bridge: parade-ps8640: " Luca Ceresoli
2026-08-27 16:23   ` Doug Anderson
2026-08-31  9:01     ` Luca Ceresoli
2026-08-31 14:58       ` Doug Anderson
2026-08-31 15:26         ` Luca Ceresoli
2026-08-31 15:28           ` Doug Anderson
2026-08-25 10:09 ` [PATCH v2 09/12] drm/bridge: tc358775: " Luca Ceresoli
2026-08-25 10:09 ` [PATCH v2 10/12] drm/bridge: tc358767: " Luca Ceresoli
2026-08-25 10:32   ` sashiko-bot [this message]
2026-08-25 10:09 ` [PATCH v2 11/12] drm/bridge: tc358768: " Luca Ceresoli
2026-08-25 10:09 ` [PATCH v2 12/12] drm/bridge: ssd2825: " Luca Ceresoli

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=20260825103234.3F2B71F000E9@smtp.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.