Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Jake Steinman <j@metarealtyinc.ca>
To: jouni.hogander@intel.com, ville.syrjala@linux.intel.com
Cc: intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org,
	animesh.manna@intel.com, ankit.k.nautiyal@intel.com,
	uma.shankar@intel.com, rodrigo.vivi@intel.com,
	jani.nikula@linux.intel.com
Subject: [PATCH v3 0/4] drm/i915/psr: Send the AS SDP in PR Active while frames are updating
Date: Tue, 24 Nov 2026 10:36:51 -0500	[thread overview]
Message-ID: <cover.1795527921.git.j@metarealtyinc.ca> (raw)
In-Reply-To: <3077ed0636a6c98e919934d2c860461f98222537.camel@intel.com>

Jouni, Ville,

v3 with Jouni's review comments on v2 and the sashiko-bot findings.

It still uses frame updates as the trigger. Only non-flip flushes exit
Panel Replay; for ORIGIN_FLIP intel_psr_flush() jumps to rearm, so PR
stays enabled and does selective updates while the hook clears the bit.
That is the path the judder is on here, and v2 has been smoother than
the vblank version in daily use. Jouni prefers going back to vblank and
Ville objected to it in the RFC thread, so I'll leave the trigger to the
two of you and respin with whichever you agree on.

The frame update trigger is unchanged from v2, which has run daily on
7.4-rc3/rc4 on the Dell XPS 16 DA16260 (PTL, xe). The v3 changes are build
tested on drm-tip (W=1, i915 and xe, each patch).

Changes since v2:
- Use intel_dp->alpm.transcoder in the helper (Jouni)
- Compute disable_as_sdp_when_pr_active in
  intel_psr_compute_config_late() (Jouni)
- Don't set the bit at PR enable, start with the AS SDP sent and let the
  idle work suspend it (Jouni)
- Just stop setting the bit in intel_alpm_configure_pr_as_sdp() instead
  of keeping its value (Jouni), which also fixes a stale bit (sashiko)
- Update the latched setting on a seamless VRR toggle (sashiko)

Jake Steinman (4):
  drm/i915/alpm: Add a helper to suspend the AS SDP in PR Active
  drm/i915/psr: Send the AS SDP in PR Active while frames are updating
  drm/i915/alpm: Leave AS SDP Transmission in Active Disable to PSR code
  drm/i915/display: Remove the Panel Replay quirk for Dell XPS 16
    DA16260

 drivers/gpu/drm/i915/display/intel_alpm.c     |  44 ++++++-
 drivers/gpu/drm/i915/display/intel_alpm.h     |   4 +
 .../drm/i915/display/intel_display_types.h    |   5 +
 drivers/gpu/drm/i915/display/intel_psr.c      | 120 +++++++++++++++++-
 drivers/gpu/drm/i915/display/intel_psr.h      |   2 +
 drivers/gpu/drm/i915/display/intel_quirks.c   |   8 --
 6 files changed, 165 insertions(+), 18 deletions(-)

-- 
2.56.1


  reply	other threads:[~2026-11-25 14:58 UTC|newest]

Thread overview: 33+ 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
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               ` Jake Steinman [this message]
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: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=cover.1795527921.git.j@metarealtyinc.ca \
    --to=j@metarealtyinc.ca \
    --cc=animesh.manna@intel.com \
    --cc=ankit.k.nautiyal@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=jani.nikula@linux.intel.com \
    --cc=jouni.hogander@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