From: "Hogander, Jouni" <jouni.hogander@intel.com>
To: "intel-xe@lists.freedesktop.org" <intel-xe@lists.freedesktop.org>,
"Nautiyal, Ankit K" <ankit.k.nautiyal@intel.com>,
"intel-gfx@lists.freedesktop.org"
<intel-gfx@lists.freedesktop.org>
Subject: Re: [PATCH] drm/i915/vrr: Stop writing VRR_CTL_IGN_MAX_SHIFT for LNL onwards
Date: Mon, 7 Apr 2025 12:08:01 +0000 [thread overview]
Message-ID: <5c07036cd04003e2e0b5fa555c9abb002f98353e.camel@intel.com> (raw)
In-Reply-To: <af069dda-95f5-41f0-9ff5-707759e5dc6a@intel.com>
On Mon, 2025-04-07 at 16:55 +0530, Nautiyal, Ankit K wrote:
>
> On 4/7/2025 4:46 PM, Nautiyal, Ankit K wrote:
> >
> > On 4/7/2025 12:07 PM, Jouni Högander wrote:
> > > According to Bspec VRR_CTL_IGN_MAX_SHIFT doesn't exist for
> > > LunarLake and
> > > onwards. Bit 30 is "Mask Block PkgC" instead. Stop writing that
> > > for
> > > LunarLake and onwards.
>
> Seems like this is not there for MTL onward: Bspec: 71956.
>
> Till Alderlake the bit is valid.
Yes, you are right. I will change accordingly.
BR,
Jouni Högander
>
>
> Regards,
>
> Ankit
>
>
> >
> > Good catch! I Agree with the change.
> >
> >
> > >
> > > Bspec: 68925
> >
> >
> > Should remove the extra line so that Bspec# is part of the trailer.
> >
> > Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com
> >
> > > Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
> > > ---
> > > drivers/gpu/drm/i915/display/intel_vrr.c | 5 ++++-
> > > 1 file changed, 4 insertions(+), 1 deletion(-)
> > >
> > > diff --git a/drivers/gpu/drm/i915/display/intel_vrr.c
> > > b/drivers/gpu/drm/i915/display/intel_vrr.c
> > > index 633a66f6b73be..ed59e83a3857b 100644
> > > --- a/drivers/gpu/drm/i915/display/intel_vrr.c
> > > +++ b/drivers/gpu/drm/i915/display/intel_vrr.c
> > > @@ -444,7 +444,10 @@ static u32 trans_vrr_ctl(const struct
> > > intel_crtc_state *crtc_state)
> > > {
> > > struct intel_display *display =
> > > to_intel_display(crtc_state);
> > > - if (DISPLAY_VER(display) >= 13)
> > > + if (DISPLAY_VER(display) >= 20)
> > > + return VRR_CTL_FLIP_LINE_EN |
> > > + XELPD_VRR_CTL_VRR_GUARDBAND(crtc_state->vrr.guardband);
> > > + else if (DISPLAY_VER(display) >= 13)
> > > return VRR_CTL_IGN_MAX_SHIFT | VRR_CTL_FLIP_LINE_EN |
> > > XELPD_VRR_CTL_VRR_GUARDBAND(crtc_state->vrr.guardband);
> > > else
next prev parent reply other threads:[~2025-04-07 12:08 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-07 6:37 [PATCH] drm/i915/vrr: Stop writing VRR_CTL_IGN_MAX_SHIFT for LNL onwards Jouni Högander
2025-04-07 11:16 ` Nautiyal, Ankit K
2025-04-07 11:25 ` Nautiyal, Ankit K
2025-04-07 12:08 ` Hogander, Jouni [this message]
2025-04-07 13:46 ` ✓ CI.Patch_applied: success for " Patchwork
2025-04-07 13:46 ` ✗ CI.checkpatch: warning " Patchwork
2025-04-07 13:47 ` ✓ CI.KUnit: success " Patchwork
2025-04-07 13:51 ` ✗ CI.Build: failure " Patchwork
2025-04-07 16:00 ` ✗ Fi.CI.CHECKPATCH: warning " Patchwork
2025-04-07 16:24 ` ✗ i915.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=5c07036cd04003e2e0b5fa555c9abb002f98353e.camel@intel.com \
--to=jouni.hogander@intel.com \
--cc=ankit.k.nautiyal@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.