public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
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 v11 04/11] drm/i915/vrr: Add helper for PSR to enable Frame Change event on trans push
Date: Mon, 2 Feb 2026 06:49:13 +0000	[thread overview]
Message-ID: <150f34acdff987d5466cf67442235d9c0712a760.camel@intel.com> (raw)
In-Reply-To: <e0591f92-7dac-4099-892c-954f73ec1acc@intel.com>

On Wed, 2026-01-28 at 08:12 +0530, Nautiyal, Ankit K wrote:
> 
> On 1/27/2026 6:11 PM, Jouni Högander wrote:
> > Add new helper to enable PSR Frame Change event generation using
> > trans push
> > mechanism. This helper is to be used by PSR code on PSR enable.
> > 
> > Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
> 
> Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>

Thank you Ankit for your review. This set is now pushed to drm-intel-
next.

BR,
Jouni Högander

> 
> 
> > ---
> >   drivers/gpu/drm/i915/display/intel_vrr.c | 9 +++++++++
> >   drivers/gpu/drm/i915/display/intel_vrr.h | 1 +
> >   2 files changed, 10 insertions(+)
> > 
> > diff --git a/drivers/gpu/drm/i915/display/intel_vrr.c
> > b/drivers/gpu/drm/i915/display/intel_vrr.c
> > index f26989c74268..66c68e7f3a49 100644
> > --- a/drivers/gpu/drm/i915/display/intel_vrr.c
> > +++ b/drivers/gpu/drm/i915/display/intel_vrr.c
> > @@ -973,6 +973,15 @@ void intel_vrr_transcoder_disable(const struct
> > intel_crtc_state *old_crtc_state)
> >   		intel_vrr_tg_disable(old_crtc_state);
> >   }
> >   
> > +void intel_vrr_psr_frame_change_enable(const struct
> > intel_crtc_state *crtc_state)
> > +{
> > +	struct intel_display *display =
> > to_intel_display(crtc_state);
> > +	enum transcoder cpu_transcoder = crtc_state-
> > >cpu_transcoder;
> > +
> > +	intel_de_write(display, TRANS_PUSH(display,
> > cpu_transcoder),
> > +		       trans_vrr_push(crtc_state, false));
> > +}
> > +
> >   bool intel_vrr_is_fixed_rr(const struct intel_crtc_state
> > *crtc_state)
> >   {
> >   	return crtc_state->vrr.flipline &&
> > diff --git a/drivers/gpu/drm/i915/display/intel_vrr.h
> > b/drivers/gpu/drm/i915/display/intel_vrr.h
> > index bedcc8c4bff2..4f16ca4af91f 100644
> > --- a/drivers/gpu/drm/i915/display/intel_vrr.h
> > +++ b/drivers/gpu/drm/i915/display/intel_vrr.h
> > @@ -33,6 +33,7 @@ void intel_vrr_dcb_increment_flip_count(struct
> > intel_crtc_state *crtc_state,
> >   					struct intel_crtc *crtc);
> >   bool intel_vrr_is_push_sent(const struct intel_crtc_state
> > *crtc_state);
> >   void intel_vrr_disable(const struct intel_crtc_state
> > *old_crtc_state);
> > +void intel_vrr_psr_frame_change_enable(const struct
> > intel_crtc_state *crtc_state);
> >   void intel_vrr_get_config(struct intel_crtc_state *crtc_state);
> >   int intel_vrr_vmax_vtotal(const struct intel_crtc_state
> > *crtc_state);
> >   int intel_vrr_vmin_vtotal(const struct intel_crtc_state
> > *crtc_state);


  reply	other threads:[~2026-02-02  6:49 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-27 12:41 [PATCH v11 00/11] Use trans push mechanism to generate frame change event Jouni Högander
2026-01-27 12:41 ` [PATCH v11 01/11] drm/i915/psr: Add TRANS_PUSH register bit definition for PSR Jouni Högander
2026-01-27 12:41 ` [PATCH v11 02/11] drm/i915/psr: Add intel_psr_use_trans_push to query if TRANS_PUSH is used Jouni Högander
2026-01-27 12:41 ` [PATCH v11 03/11] drm/i915/vrr: Add helper for parsing value to be written into TRANS_PUSH Jouni Högander
2026-01-27 12:41 ` [PATCH v11 04/11] drm/i915/vrr: Add helper for PSR to enable Frame Change event on trans push Jouni Högander
2026-01-28  2:42   ` Nautiyal, Ankit K
2026-02-02  6:49     ` Hogander, Jouni [this message]
2026-01-27 12:41 ` [PATCH v11 05/11] drm/i915/vrr: Prepare to Use TRANS_PUSH mechanism for PSR frame change Jouni Högander
2026-01-28  2:37   ` Nautiyal, Ankit K
2026-01-27 12:41 ` [PATCH v11 06/11] drm/i915/dsb: Set DSB_SKIP_WAITS_EN chicken bit for LunarLake and onwards Jouni Högander
2026-01-27 12:41 ` [PATCH v11 07/11] drm/i915/display: Wait for vblank in case of PSR is using trans push Jouni Högander
2026-01-27 12:41 ` [PATCH v11 08/11] drm/i915/psr: Wait for idle only after possible send push Jouni Högander
2026-01-27 12:41 ` [PATCH v11 09/11] drm/i915/psr: Do PSR exit on frontbuffer flush on LunarLake and onwards Jouni Högander
2026-01-27 12:41 ` [PATCH v11 10/11] drm/i915/display: Add HAS_PSR_TRANS_PUSH_FRAME_CHANGE macro Jouni Högander
2026-01-27 12:41 ` [PATCH v11 11/11] drm/i915/psr: Use TRANS_PUSH to trigger frame change event Jouni Högander
2026-01-27 13:48 ` ✓ i915.CI.BAT: success for Use trans push mechanism to generate " Patchwork
2026-01-27 20:59 ` ✓ i915.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=150f34acdff987d5466cf67442235d9c0712a760.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox