dri-devel Archive on 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 v3 10/13] drm/bridge: tc358767: select DRM_PANEL_BRIDGE
Date: Mon, 31 Aug 2026 19:51:44 +0000	[thread overview]
Message-ID: <20260831195144.BF3EB1F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260831-drm-bridge-drm_panel-cleanup-v3-10-50efd8168b3e@bootlin.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] The commit message inaccurately claims the driver uses `devm_drm_of_get_bridge()`, but it actually uses `devm_drm_panel_bridge_add()`.
--

commit fba43756aa0937775cb42a2908c1424721d95003
Author: Luca Ceresoli <luca.ceresoli@bootlin.com>

drm/bridge: tc358767: select DRM_PANEL_BRIDGE

This commit adds the DRM_PANEL_BRIDGE select to the DRM_TOSHIBA_TC358767
Kconfig entry. The commit message justifies this by stating the driver uses
a specific bridge function.

> This driver uses devm_drm_of_get_bridge(), which is enabled by
> DRM_PANEL_BRIDGE.

[Severity: Medium]
Is the function name in the commit message accurate?

Looking at drivers/gpu/drm/bridge/tc358767.c, the driver doesn't seem to
call devm_drm_of_get_bridge(). Instead, it calls devm_drm_panel_bridge_add()
in tc_probe_dpi_bridge_endpoint():

    bridge = devm_drm_panel_bridge_add(dev, panel);

And similarly in tc_probe_edp_bridge_endpoint():

    panel_bridge = devm_drm_panel_bridge_add(dev, panel);

Since devm_drm_panel_bridge_add() is also provided by CONFIG_DRM_PANEL_BRIDGE
(as defined in include/drm/drm_bridge.h), the Kconfig change itself appears
correct, but the commit message reasoning might be slightly off.

Could the commit message be updated to mention devm_drm_panel_bridge_add()
instead of devm_drm_of_get_bridge()?

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260831-drm-bridge-drm_panel-cleanup-v3-0-50efd8168b3e@bootlin.com?part=10

  reply	other threads:[~2026-08-31 19:51 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-31 16:13 [PATCH v3 00/13] drm/bridge: Kconfig: cleanup DRM_PANEL usage Luca Ceresoli
2026-08-31 16:13 ` [PATCH v3 01/13] drm/bridge: megachips-stdpxxxx-ge-b850v3-fw: don't select unused DRM_PANEL Luca Ceresoli
2026-08-31 16:13 ` [PATCH v3 02/13] drm/bridge: tc358764: " Luca Ceresoli
2026-08-31 16:13 ` [PATCH v3 03/13] drm/bridge: ti-dlpc3433: don't depend on DRM_PANEL, select DRM_PANEL_BRIDGE Luca Ceresoli
2026-08-31 16:13 ` [PATCH v3 04/13] drm/bridge: ti-sn65dsi86: don't select unused " Luca Ceresoli
2026-08-31 16:13 ` [PATCH v3 05/13] drm/bridge: ti-sn65dsi83: " Luca Ceresoli
2026-08-31 16:13 ` [PATCH v3 06/13] drm/bridge: nxp-ptn3460: select DRM_PANEL_BRIDGE, not DRM_PANEL Luca Ceresoli
2026-08-31 16:13 ` [PATCH v3 07/13] drm/bridge: parade-ps8622: " Luca Ceresoli
2026-08-31 16:13 ` [PATCH v3 08/13] drm/bridge: parade-ps8640: " Luca Ceresoli
2026-08-31 16:13 ` [PATCH v3 09/13] drm/bridge: tc358775: " Luca Ceresoli
2026-08-31 16:13 ` [PATCH v3 10/13] drm/bridge: tc358767: select DRM_PANEL_BRIDGE Luca Ceresoli
2026-08-31 19:51   ` sashiko-bot [this message]
2026-09-01  6:55     ` Luca Ceresoli
2026-08-31 16:13 ` [PATCH v3 11/13] drm/bridge: tc358768: " Luca Ceresoli
2026-08-31 16:13 ` [PATCH v3 12/13] drm/bridge: ssd2825: " Luca Ceresoli
2026-08-31 16:13 ` [PATCH v3 13/13] drm/bridge: tc358764: " Luca Ceresoli
2026-09-02 17:25 ` (subset) [PATCH v3 00/13] drm/bridge: Kconfig: cleanup DRM_PANEL usage 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=20260831195144.BF3EB1F000E9@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox