From: sashiko-bot@kernel.org
To: "Lee Shawn C" <shawn.c.lee@intel.com>,
intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org
Subject: Re: [PATCH 2/4] drm/i915/bios: Parse eDP fast link training params only if enabled
Date: Tue, 10 Nov 2026 12:07:36 +0000 [thread overview]
Message-ID: <sashiko-outbox-206984@kernel.org> (raw)
In-Reply-To: <20261110115432.894616-3-shawn.c.lee@intel.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] drm/i915/bios: commit message omits clamping rate to
max_link_rate
--
commit 3610be7f547f32532810e072a6b6707742df692f
Author: Lee Shawn C <shawn.c.lee@intel.com>
drm/i915/bios: Parse eDP fast link training params only if enabled
This commit parses the VBT eDP fast link training enable bit and only
populates the fast link training parameters when that bit is set, while
also normalizing the parsed rate and lane count values.
> diff --git a/drivers/gpu/drm/i915/display/intel_bios.c b/drivers/gpu/drm/i915/display/intel_bios.c
> index 6b2924c56cae3..378f8b60b4a09 100644
> --- a/drivers/gpu/drm/i915/display/intel_bios.c
> +++ b/drivers/gpu/drm/i915/display/intel_bios.c
[ ... ]
> @@ -1526,6 +1532,29 @@ parse_edp_fast_link_params(struct intel_display *display,
> edp_link_params->vswing);
> break;
> }
> +
> + /*
> + * The fast link training rate is limited by the eDP max port link
> + * rate: FLT rate = min(FLT rate, eDP max port link rate).
> + */
> + if (panel->vbt.edp.rate && panel->vbt.edp.max_link_rate)
> + panel->vbt.edp.rate = min(panel->vbt.edp.rate,
> + panel->vbt.edp.max_link_rate);
[Severity: Low]
This isn't a bug, but the commit message does not mention clamping
panel->vbt.edp.rate to panel->vbt.edp.max_link_rate or reordering
parse_edp_fast_link_params() in parse_edp() after max_link_rate is parsed.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261110115432.894616-1-shawn.c.lee@intel.com?part=2
next prev parent reply other threads:[~2026-11-10 12:07 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-10 11:54 [PATCH 0/4] drm/i915/dp: Use the VBT eDP fast link training params Lee Shawn C
2026-11-10 11:54 ` [PATCH 1/4] drm/i915/bios: Split out parsing the " Lee Shawn C
2026-11-10 11:54 ` [PATCH 2/4] drm/i915/bios: Parse eDP fast link training params only if enabled Lee Shawn C
2026-11-10 12:07 ` sashiko-bot [this message]
2026-11-10 12:31 ` Ville Syrjälä
2026-11-11 8:07 ` Lee, Shawn C
2026-11-10 11:54 ` [PATCH 3/4] drm/i915/dp: Start eDP link training from VBT fast link train vswing/pre-emphasis levels Lee Shawn C
2026-11-10 12:14 ` sashiko-bot
2026-11-10 11:54 ` [PATCH 4/4] drm/i915/dp: Use the VBT fast link training link config for eDP Lee Shawn C
2026-11-10 12:14 ` sashiko-bot
2026-11-10 15:41 ` ✓ i915.CI.BAT: success for drm/i915/dp: Use the VBT eDP fast link training params Patchwork
2026-11-10 20:41 ` ✗ i915.CI.Full: 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-206984@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=intel-gfx@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=shawn.c.lee@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