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 1/4] drm/i915/alpm: Add a helper to suspend the AS SDP in PR Active
Date: Tue, 24 Nov 2026 11:00:01 +0000 [thread overview]
Message-ID: <dba0eb8b968559f72162178103ab46a4aaf6dae2.camel@intel.com> (raw)
In-Reply-To: <3ab45d0e8c1bded51e0dadd71fd5b3fa0a1cad9e.1795263689.git.j@metarealtyinc.ca>
On Sat, 2026-11-21 at 07:25 -0500, Jake Steinman wrote:
> Add intel_alpm_pr_as_sdp_in_active_disable() to set or clear
> PR_ALPM_CTL[AS SDP Transmission in Active Disable] without touching
> the
> other PR_ALPM_CTL fields. PSR code uses it in the next patch to send
> the
> AS SDP in PR Active 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 | 22
> ++++++++++++++++++++++
> drivers/gpu/drm/i915/display/intel_alpm.h | 4 ++++
> 2 files changed, 26 insertions(+)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_alpm.c
> b/drivers/gpu/drm/i915/display/intel_alpm.c
> index f54b29e19..910067d27 100644
> --- a/drivers/gpu/drm/i915/display/intel_alpm.c
> +++ b/drivers/gpu/drm/i915/display/intel_alpm.c
> @@ -511,6 +511,28 @@ void intel_alpm_pr_as_sdp_update(const struct
> intel_crtc_state *crtc_state)
> }
> }
>
> +/**
> + * intel_alpm_pr_as_sdp_in_active_disable - suspend or send the AS
> SDP in PR Active
> + * @intel_dp: Intel DP struct
> + * @cpu_transcoder: transcoder Panel Replay is enabled on
> + * @disable: true to suspend the AS SDP in PR Active, false to keep
> sending it
> + *
> + * Set or clear PR_ALPM_CTL[AS SDP Transmission in Active Disable]
> and leave
> + * the other PR_ALPM_CTL fields as they are.
> + */
> +void intel_alpm_pr_as_sdp_in_active_disable(struct intel_dp
> *intel_dp,
> + enum transcoder
> cpu_transcoder,
You can use intel_dp->alpm.transcoder instead.
BR,
Jouni Högander
> + bool disable)
> +{
> + struct intel_display *display = to_intel_display(intel_dp);
> +
> + mutex_lock(&intel_dp->alpm.lock);
> + intel_de_rmw(display, PR_ALPM_CTL(display, cpu_transcoder),
> +
> PR_ALPM_CTL_AS_SDP_TRANSMISSION_IN_ACTIVE_DISABLE,
> + disable ?
> PR_ALPM_CTL_AS_SDP_TRANSMISSION_IN_ACTIVE_DISABLE : 0);
> + mutex_unlock(&intel_dp->alpm.lock);
> +}
> +
> static void lnl_alpm_configure(struct intel_dp *intel_dp,
> const struct intel_crtc_state
> *crtc_state)
> {
> diff --git a/drivers/gpu/drm/i915/display/intel_alpm.h
> b/drivers/gpu/drm/i915/display/intel_alpm.h
> index f8f605d94..a45ddd04f 100644
> --- a/drivers/gpu/drm/i915/display/intel_alpm.h
> +++ b/drivers/gpu/drm/i915/display/intel_alpm.h
> @@ -14,6 +14,7 @@ struct drm_connector_state;
> struct intel_connector;
> struct intel_atomic_state;
> struct intel_crtc;
> +enum transcoder;
>
> void intel_alpm_init(struct intel_dp *intel_dp);
> bool intel_alpm_compute_params(struct intel_dp *intel_dp,
> @@ -37,6 +38,9 @@ bool intel_alpm_is_alpm_aux_less(struct intel_dp
> *intel_dp,
> bool intel_alpm_pr_as_sdp_skip_frames_enabled(struct intel_dp
> *intel_dp,
> const struct
> intel_crtc_state *crtc_state);
> void intel_alpm_pr_as_sdp_update(const struct intel_crtc_state
> *crtc_state);
> +void intel_alpm_pr_as_sdp_in_active_disable(struct intel_dp
> *intel_dp,
> + enum transcoder
> cpu_transcoder,
> + bool disable);
> void intel_alpm_disable(struct intel_dp *intel_dp);
> bool intel_alpm_get_error(struct intel_dp *intel_dp);
> void intel_alpm_lobf_compute_config_late(struct intel_dp *intel_dp,
next prev parent reply other threads:[~2026-11-24 11:02 UTC|newest]
Thread overview: 35+ 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-23 22:39 ` 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 [this message]
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
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-24 15:36 ` [PATCH v3 " Jake Steinman
2026-11-24 15:36 ` [PATCH v3 1/4] drm/i915/alpm: Add a helper to suspend the AS SDP in PR Active Jake Steinman
2026-11-24 15:36 ` [PATCH v3 2/4] drm/i915/psr: Send the AS SDP in PR Active while frames are updating Jake Steinman
2026-11-24 15:36 ` [PATCH v3 3/4] drm/i915/alpm: Leave AS SDP Transmission in Active Disable to PSR code Jake Steinman
2026-11-24 15:36 ` [PATCH v3 4/4] drm/i915/display: Remove the Panel Replay quirk for Dell XPS 16 DA16260 Jake Steinman
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:16 ` ✗ LGCI.VerificationFailed: failure for drm/i915/dp: Don't promise AS SDPs in PR Active when they are disabled (rev2) Patchwork
2026-10-07 15:21 ` 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=dba0eb8b968559f72162178103ab46a4aaf6dae2.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 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.