From: sashiko-bot@kernel.org
To: "Haikun Zhou" <zhouhaikun5@huaqin.corp-partner.google.com>
Cc: dri-devel@lists.freedesktop.org
Subject: Re: [PATCH] drm/panel-edp: Support MB116AS01-3 edp panel
Date: Mon, 29 Jun 2026 01:27:54 +0000 [thread overview]
Message-ID: <20260629012755.613EC1F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260629012200.248066-1-zhouhaikun5@huaqin.corp-partner.google.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] The panel name string in `EDP_PANEL_ENTRY` does not match the actual hardware EDID, breaking the primary identity match.
--
commit 0f4c5c953c19a29919cb343c3bc25a2803059da7
Author: Haikun Zhou <zhouhaikun5@huaqin.corp-partner.google.com>
drm/panel-edp: Support MB116AS01-3 edp panel
This commit adds support for the HKC MB116AS01-3 eDP panel to the generic
panel-edp driver. It introduces the necessary delay configuration and EDID
identifiers for this display.
> diff --git a/drivers/gpu/drm/panel/panel-edp.c b/drivers/gpu/drm/panel/panel-edp.c
> --- a/drivers/gpu/drm/panel/panel-edp.c
> +++ b/drivers/gpu/drm/panel/panel-edp.c
> @@ -2099,6 +2099,7 @@ static const struct edp_panel_entry edp_panels[] = {
>
> EDP_PANEL_ENTRY('E', 'T', 'C', 0x0000, &delay_50_500_e200_d200_po2e335, "LP079QX1-SP0V"),
>
> + EDP_PANEL_ENTRY('H', 'K', 'C', 0x1203, &delay_200_500_e80, "MB116AS01-3"),
[Severity: Medium]
Does the panel name string in this entry match the actual hardware EDID?
Looking at the raw EDID payload provided in the commit message:
00 4d 42 31 31 36 41 53 30 31 27 33 20 20 01 cb
The byte 0x27 translates to an apostrophe ('), which makes the hardware name
"MB116AS01'3" rather than "MB116AS01-3" (which would use a hyphen, 0x2d).
Because drm_edid_match() strictly compares this string against the EDID
payload using strncmp(), this character mismatch will cause the primary
identity match to fail during panel probe. While the code will currently fall
back to a secondary panel ID match, this completely bypasses the primary name
matching mechanism designed to distinguish panels when vendors incorrectly
reuse panel IDs.
> EDP_PANEL_ENTRY('H', 'K', 'C', 0x2d51, &delay_200_500_e200, "Unknown"),
> EDP_PANEL_ENTRY('H', 'K', 'C', 0x2d5b, &delay_200_500_e200, "MB116AN01"),
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260629012200.248066-1-zhouhaikun5@huaqin.corp-partner.google.com?part=1
next prev parent reply other threads:[~2026-06-29 1:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-29 1:22 [PATCH] drm/panel-edp: Support MB116AS01-3 edp panel Haikun Zhou
2026-06-29 1:27 ` sashiko-bot [this message]
2026-06-30 17:27 ` Doug Anderson
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=20260629012755.613EC1F000E9@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=zhouhaikun5@huaqin.corp-partner.google.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