Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Hogander, Jouni" <jouni.hogander@intel.com>
To: "ville.syrjala@linux.intel.com" <ville.syrjala@linux.intel.com>,
	"j@metarealtyinc.ca" <j@metarealtyinc.ca>
Cc: "intel-xe@lists.freedesktop.org" <intel-xe@lists.freedesktop.org>,
	"Shankar, Uma" <uma.shankar@intel.com>,
	"Vivi, Rodrigo" <rodrigo.vivi@intel.com>,
	"Manna, Animesh" <animesh.manna@intel.com>,
	"intel-gfx@lists.freedesktop.org"
	<intel-gfx@lists.freedesktop.org>,
	"jani.nikula@linux.intel.com" <jani.nikula@linux.intel.com>,
	"Nautiyal, Ankit K" <ankit.k.nautiyal@intel.com>
Subject: Re: [PATCH v2 3/4] drm/i915/alpm: Leave AS SDP Transmission in Active Disable to PSR code
Date: Tue, 24 Nov 2026 11:19:12 +0000	[thread overview]
Message-ID: <d6a772b2bb1cf3c97a3436d3699532e9b8a73d44.camel@intel.com> (raw)
In-Reply-To: <7b1c4022b174d3806130f5814142760a8693e340.1795263689.git.j@metarealtyinc.ca>

On Sat, 2026-11-21 at 07:25 -0500, Jake Steinman wrote:
> PSR code now sets and clears PR_ALPM_CTL[AS SDP Transmission in
> Active
> Disable] around frame updates. Stop setting it in
> intel_alpm_configure_pr_as_sdp() and keep its current value instead,
> so
> that a seamless VRR toggle no longer suspends the AS SDP while frames
> are
> being updated.
> 
> Cc: Jouni Högander <jouni.hogander@intel.com>
> Signed-off-by: Jake Steinman <j@metarealtyinc.ca>
> ---
>  drivers/gpu/drm/i915/display/intel_alpm.c | 8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/display/intel_alpm.c
> b/drivers/gpu/drm/i915/display/intel_alpm.c
> index 910067d27..6f2beb4a4 100644
> --- a/drivers/gpu/drm/i915/display/intel_alpm.c
> +++ b/drivers/gpu/drm/i915/display/intel_alpm.c
> @@ -467,8 +467,12 @@ static void
> intel_alpm_configure_pr_as_sdp(struct intel_dp *intel_dp,
>  	} else {
>  		pr_alpm_ctl &= ~PR_ALPM_CTL_AS_SDP_SKIP_FRAMES_MASK;
>  
> -		if (crtc_state->disable_as_sdp_when_pr_active)
> -			pr_alpm_ctl |=
> PR_ALPM_CTL_AS_SDP_TRANSMISSION_IN_ACTIVE_DISABLE;
> +		/*
> +		 * AS SDP Transmission in Active Disable follows
> frame updates
> +		 * and is owned by PSR code, keep its current value.
> +		 */
> +		pr_alpm_ctl |= intel_de_read(display,
> PR_ALPM_CTL(display, cpu_transcoder)) &
> +			PR_ALPM_CTL_AS_SDP_TRANSMISSION_IN_ACTIVE_DI
> SABLE;

I'm not sure if this deserves this much attention. Just remove setting
it.

BR,
Jouni Högander

>  
>  		if (intel_display_power_dc3co_allowed(display))
>  			pr_alpm_ctl |=
> PR_ALPM_CTL_USE_DC3CO_IDLE_PROTOCOL;

  parent reply	other threads:[~2026-11-24 11:20 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-23  4:13 [PATCH] drm/i915/dp: Don't promise AS SDPs in PR Active when they are disabled Jake Steinman
2026-09-23 14:27 ` sashiko-bot
2026-09-23 15:25   ` Jake Steinman
2026-09-23 15:10 ` ✗ LGCI.VerificationFailed: failure for " Patchwork
2026-09-28 12:23 ` [PATCH] " Jake Steinman
2026-10-06 22:05 ` [RFC PATCH] drm/i915/psr: Send the AS SDP in PR Active while vblank is enabled Jake Steinman
2026-10-07 14:20   ` sashiko-bot
2026-11-20  9:42   ` Hogander, Jouni
2026-11-20 15:03     ` Ville Syrjälä
2026-11-20 16:34       ` Jake Steinman
2026-11-20 17:23         ` Ville Syrjälä
2026-11-21 12:25           ` [PATCH v2 0/4] drm/i915/psr: Send the AS SDP in PR Active while frames are updating Jake Steinman
2026-11-21 12:25             ` [PATCH v2 1/4] drm/i915/alpm: Add a helper to suspend the AS SDP in PR Active Jake Steinman
2026-11-24 11:00               ` Hogander, Jouni
2026-11-21 12:25             ` [PATCH v2 2/4] drm/i915/psr: Send the AS SDP in PR Active while frames are updating Jake Steinman
2026-11-23 15:45               ` sashiko-bot
2026-11-24 11:02               ` Hogander, Jouni
2026-11-24 11:16                 ` Hogander, Jouni
2026-11-21 12:25             ` [PATCH v2 3/4] drm/i915/alpm: Leave AS SDP Transmission in Active Disable to PSR code Jake Steinman
2026-11-23 15:32               ` sashiko-bot
2026-11-24 11:19               ` Hogander, Jouni [this message]
2026-11-21 12:25             ` [PATCH v2 4/4] drm/i915/display: Remove the Panel Replay quirk for Dell XPS 16 DA16260 Jake Steinman
2026-11-24 11:20             ` [PATCH v2 0/4] drm/i915/psr: Send the AS SDP in PR Active while frames are updating Hogander, Jouni
2026-11-23  9:29           ` [RFC PATCH] drm/i915/psr: Send the AS SDP in PR Active while vblank is enabled Hogander, Jouni
2026-11-23 13:32             ` Jake Steinman
2026-10-07  6:41 ` [PATCH] drm/i915/dp: Don't promise AS SDPs in PR Active when they are disabled Hogander, Jouni
2026-10-07 11:49 ` Jake Steinman
2026-10-07 15:21 ` ✗ LGCI.VerificationFailed: failure for drm/i915/dp: Don't promise AS SDPs in PR Active when they are disabled (rev2) 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=d6a772b2bb1cf3c97a3436d3699532e9b8a73d44.camel@intel.com \
    --to=jouni.hogander@intel.com \
    --cc=animesh.manna@intel.com \
    --cc=ankit.k.nautiyal@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=j@metarealtyinc.ca \
    --cc=jani.nikula@linux.intel.com \
    --cc=rodrigo.vivi@intel.com \
    --cc=uma.shankar@intel.com \
    --cc=ville.syrjala@linux.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