From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: sashiko-reviews@lists.linux.dev
Cc: dri-devel@lists.freedesktop.org, 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: Wed, 25 Nov 2026 01:02:30 +0200 [thread overview]
Message-ID: <awYXhjvZvrw3gWea@intel.com> (raw)
In-Reply-To: <sashiko-outbox-232161@kernel.org>
On Tue, Nov 24, 2026 at 10:51:24PM +0000, sashiko-bot@kernel.org wrote:
> 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?
I was going back and forth with the name and being dissatisfied
with all of them. If anyone has an opinion how we should name
these things I'm all ears.
--
Ville Syrjälä
Intel
next prev parent reply other threads:[~2026-11-24 23:02 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
2026-11-24 23:02 ` Ville Syrjälä [this message]
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=awYXhjvZvrw3gWea@intel.com \
--to=ville.syrjala@linux.intel.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-gfx@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
--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