Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] drm/i915/display: Enable AS SDP Skip Frames
@ 2026-08-03 18:53 Uma Shankar
  2026-08-03 18:39 ` ✗ CI.checkpatch: warning for drm/i915/display: Enable AS SDP Skip Frames (rev2) Patchwork
                   ` (11 more replies)
  0 siblings, 12 replies; 16+ messages in thread
From: Uma Shankar @ 2026-08-03 18:53 UTC (permalink / raw)
  To: intel-gfx, intel-xe
  Cc: animesh.manna, dibin.moolakadan.subrahmanian, Uma Shankar

When Panel Replay is active the transcoder timing generator runs at the
panel's maximum refresh rate, but content is often presented at a lower
rate. In that case the Adaptive-Sync SDP (AS SDP) only needs to reach the
panel often enough to satisfy its maximum frame time, so transmitting it
on every frame is redundant and shows up as repeated SDPs on the link.

Xe3LPD adds a HW skip-frame counter in PR_ALPM_CTL that lets the source
send a single AS SDP and then suppress it for a programmed number of
frames. Program this counter so that one AS SDP is followed by
(max_vrefresh / flip_rate - 1) idle frames, matching the effective
content rate and allowing the link to be driven down to as low as 1Hz
when the hardware supports it.

ToDo: Currently using CMRR debugfs as an interface to get the flip rate
from userspace, this will be extended to a property interface to receive
actual content fps as follow up.

Uma Shankar (2):
  drm/i915/display: Enable AS SDP Skip Frames
  drm/i915/display: Keep AS SDP flowing when skip frames is enabled

 drivers/gpu/drm/i915/display/intel_alpm.c     | 65 +++++++++++++++++--
 drivers/gpu/drm/i915/display/intel_psr_regs.h |  2 +
 2 files changed, 62 insertions(+), 5 deletions(-)

-- 
2.50.1


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2026-08-05 20:52 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-03 18:53 [PATCH 0/2] drm/i915/display: Enable AS SDP Skip Frames Uma Shankar
2026-08-03 18:39 ` ✗ CI.checkpatch: warning for drm/i915/display: Enable AS SDP Skip Frames (rev2) Patchwork
2026-08-03 18:40 ` ✓ CI.KUnit: success " Patchwork
2026-08-03 18:53 ` [PATCH 1/2] drm/i915/display: Enable AS SDP Skip Frames Uma Shankar
2026-08-04 16:15   ` Dibin Moolakadan Subrahmanian
2026-08-03 18:53 ` [PATCH 2/2] drm/i915/display: Keep AS SDP flowing when skip frames is enabled Uma Shankar
2026-08-04  7:21   ` Dibin Moolakadan Subrahmanian
2026-08-04  7:50     ` Shankar, Uma
2026-08-03 21:25 ` ✓ Xe.CI.FULL: success for drm/i915/display: Enable AS SDP Skip Frames (rev2) Patchwork
2026-08-04 12:03 ` ✗ CI.checkpatch: warning " Patchwork
2026-08-04 12:05 ` ✓ CI.KUnit: success " Patchwork
2026-08-05  6:03 ` ✗ Xe.CI.BAT: failure " Patchwork
2026-08-05 10:21 ` ✗ CI.checkpatch: warning for drm/i915/display: Enable AS SDP Skip Frames (rev3) Patchwork
2026-08-05 10:23 ` ✓ CI.KUnit: success " Patchwork
2026-08-05 11:05 ` ✓ Xe.CI.BAT: " Patchwork
2026-08-05 20:52 ` ✗ Xe.CI.FULL: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox