Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Ville Syrjala" <ville.syrjala@linux.intel.com>,
	dri-devel@lists.freedesktop.org
Cc: intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org
Subject: Re: [PATCH 1/2] drm/edid: Introduce drm_edid_get_displayid_product_id()
Date: Tue, 24 Nov 2026 22:51:24 +0000	[thread overview]
Message-ID: <sashiko-outbox-232161@kernel.org> (raw)
In-Reply-To: <20261124224621.6506-2-ville.syrjala@linux.intel.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] drm/edid: commit subject mismatches
  drm_displayid_get_product_id()
--

commit 4452aea3cbb2a5afd7ef8a119931282a44feb4c3
Author: Ville Syrjälä <ville.syrjala@linux.intel.com>

drm/edid: Introduce drm_edid_get_displayid_product_id()

This commit adds drm_displayid_get_product_id() to extract vendor and
product identification from a DisplayID Product ID block.

> diff --git a/include/drm/drm_edid.h b/include/drm/drm_edid.h
> index a2617aa34edfc..b44c26d422171 100644
> --- a/include/drm/drm_edid.h
> +++ b/include/drm/drm_edid.h

[ ... ]

> @@ -484,6 +492,8 @@ int drm_edid_connector_add_modes(struct drm_connector *connector);
>  bool drm_edid_is_digital(const struct drm_edid *drm_edid);
>  void drm_edid_get_product_id(const struct drm_edid *drm_edid,
>  			     struct drm_edid_product_id *id);
> +void drm_displayid_get_product_id(const struct drm_edid *drm_edid,
> +				  struct drm_displayid_product_id *id);

[Severity: Low]
The commit subject names this function drm_edid_get_displayid_product_id(),
while the commit message body and code define drm_displayid_get_product_id().
Also, this declaration is placed in the "Interface based on struct drm_edid"
section of include/drm/drm_edid.h, where all other functions taking a
const struct drm_edid * use the drm_edid_ prefix.  Should the commit subject
and exported function name be aligned?

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261124224621.6506-2-ville.syrjala@linux.intel.com?part=1

  reply	other threads:[~2026-11-24 22:51 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-24 22:46 [PATCH 0/2] drm/i915: Implement DisplayID based VBT panel type detection Ville Syrjala
2026-11-24 22:46 ` [PATCH 1/2] drm/edid: Introduce drm_edid_get_displayid_product_id() Ville Syrjala
2026-11-24 22:51   ` sashiko-bot [this message]
2026-11-24 23:02     ` Ville Syrjälä
2026-11-24 22:46 ` [PATCH 2/2] drm/i915/bios: Attempt to match the VBT PnP ID against DisplayID first Ville Syrjala
2026-11-24 22:56   ` sashiko-bot
2026-11-24 23:06     ` Ville Syrjälä
2026-11-25  0:13 ` ✗ CI.checkpatch: warning for drm/i915: Implement DisplayID based VBT panel type detection Patchwork
2026-11-25  0:16 ` ✓ CI.KUnit: success " Patchwork
2026-11-25  0:55 ` ✗ Xe.CI.BAT: failure " Patchwork

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-232161@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=ville.syrjala@linux.intel.com \
    /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