From: sashiko-bot@kernel.org
To: "Uma Shankar" <uma.shankar@intel.com>
Cc: intel-xe@lists.freedesktop.org, intel-gfx@lists.freedesktop.org
Subject: Re: [v3 1/4] drm/i915/display: Enable periodic AS SDP skip frames
Date: Mon, 31 Aug 2026 12:52:40 +0000 [thread overview]
Message-ID: <20260831125241.38F951F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260831125914.1736501-2-uma.shankar@intel.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] Mismatch between commit message/comments and display version check for Xe3LPD platforms.
--
commit e8820000c4c1f603b4949f4796b99e1267661c09
Author: Uma Shankar <uma.shankar@intel.com>
drm/i915/display: Enable periodic AS SDP skip frames
This commit enables periodic Adaptive-Sync SDP (AS SDP) skip frames to allow
the transcoder to drive the panel down to its minimum refresh rate when Panel
Replay is active. It programs a hardware skip-frame counter in PR_ALPM_CTL
so that one AS SDP is followed by a number of idle frames based on the panel's
refresh rate range.
> diff --git a/drivers/gpu/drm/i915/display/intel_alpm.c b/drivers/gpu/drm/i915/display/intel_alpm.c
> index f1383764b7028..d1f6bb82e35ef 100644
> --- a/drivers/gpu/drm/i915/display/intel_alpm.c
> +++ b/drivers/gpu/drm/i915/display/intel_alpm.c
[ ... ]
> @@ -399,16 +428,37 @@ static void lnl_alpm_configure(struct intel_dp *intel_dp,
>
> if (intel_dp->as_sdp_supported) {
> u32 pr_alpm_ctl = get_pr_alpm_as_sdp_transmission_time(crtc_state);
> + u32 skip_frames = 0;
> +
> + /*
> + * AS SDP skip frames field only exists on Xe3LPD+, and
> + * periodic AS SDP is only used when VRR is not actively
> + * driving the refresh rate.
> + */
> + if (DISPLAY_VER(display) >= 35 && !crtc_state->vrr.enable)
> + skip_frames = intel_pr_as_sdp_skip_frames(intel_dp);
[Severity: Medium]
Does this code inadvertently disable the feature on Xe3LPD hardware?
The comment explicitly mentions that the AS SDP skip frames field exists on
Xe3LPD+, which has a display version of 30. However, lnl_alpm_configure()
checks if DISPLAY_VER(display) >= 35.
This mismatch means the skip frame calculation will be bypassed for Xe3LPD
devices (Panther Lake), disabling the optimization on the platform it was
intended for.
Should this version check be updated to 30 instead of 35 to match the comment?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260831125914.1736501-1-uma.shankar@intel.com?part=1
next prev parent reply other threads:[~2026-08-31 12:52 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-31 12:59 [v3 0/4] drm/i915/display: Enable AS SDP Skip Frames Uma Shankar
2026-08-31 12:59 ` [v3 1/4] drm/i915/display: Enable periodic AS SDP skip frames Uma Shankar
2026-08-31 12:52 ` sashiko-bot [this message]
2026-08-31 12:59 ` [v3 2/4] drm/i915/display: Force disable DC3co when AS SDP skip frames is enabled Uma Shankar
2026-08-31 12:57 ` sashiko-bot
2026-08-31 12:59 ` [v3 3/4] drm/i915/display: Reprogram AS SDP skip frames on seamless VRR transitions Uma Shankar
2026-08-31 12:53 ` sashiko-bot
2026-08-31 12:59 ` [v3 4/4] drm/i915/display: Gate periodic AS SDP skip frames behind a module parameter Uma Shankar
2026-08-31 12:52 ` sashiko-bot
2026-08-31 16:05 ` ✗ CI.checkpatch: warning for drm/i915/display: Enable AS SDP Skip Frames (rev4) Patchwork
2026-08-31 16:06 ` ✓ CI.KUnit: success " Patchwork
2026-08-31 17:16 ` ✓ Xe.CI.BAT: " Patchwork
2026-08-31 20:20 ` ✓ Xe.CI.FULL: " 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=20260831125241.38F951F000E9@smtp.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=uma.shankar@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