intel-gfx.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] Wait PSR idle before on dsb commit
@ 2025-08-06  5:22 Jouni Högander
  2025-08-06  5:22 ` [PATCH v2 1/4] drm/i915/psr: Pass intel_crtc_state instead of intel_dp in wait_for_idle Jouni Högander
                   ` (5 more replies)
  0 siblings, 6 replies; 16+ messages in thread
From: Jouni Högander @ 2025-08-06  5:22 UTC (permalink / raw)
  To: intel-gfx, intel-xe; +Cc: Jouni Högander

We are currently observing crc failures after we started using dsb for PSR
updates as well. This seems to happen because PSR HW is still sending
couple of updates using old framebuffers on wake-up.

On non-dsb commit we are waiting PSR HW to idle before starting a new
commit. Fix problems with dsb commit by adding similar wait on dsb
commit as well.

v2: add pass crtc_state->dsb_commit as parameter

Jouni Högander (4):
  drm/i915/psr: Pass intel_crtc_state instead of intel_dp in
    wait_for_idle
  drm/i915/psr: Add new define for PSR idle timeout
  drm/i915/psr: New interface adding PSR idle poll into dsb commit
  drm/i915/psr: Add poll for checking PSR is idle before starting update

 drivers/gpu/drm/i915/display/intel_display.c |  2 +
 drivers/gpu/drm/i915/display/intel_psr.c     | 70 +++++++++++++++-----
 drivers/gpu/drm/i915/display/intel_psr.h     |  1 +
 3 files changed, 57 insertions(+), 16 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2025-08-28  7:02 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-06  5:22 [PATCH v2 0/4] Wait PSR idle before on dsb commit Jouni Högander
2025-08-06  5:22 ` [PATCH v2 1/4] drm/i915/psr: Pass intel_crtc_state instead of intel_dp in wait_for_idle Jouni Högander
2025-08-13  7:24   ` Kahola, Mika
2025-08-06  5:22 ` [PATCH v2 2/4] drm/i915/psr: Add new define for PSR idle timeout Jouni Högander
2025-08-13  7:28   ` Kahola, Mika
2025-08-06  5:22 ` [PATCH v2 3/4] drm/i915/psr: New interface adding PSR idle poll into dsb commit Jouni Högander
2025-08-26 12:33   ` Ville Syrjälä
2025-08-06  5:22 ` [PATCH v2 4/4] drm/i915/psr: Add poll for checking PSR is idle before starting update Jouni Högander
2025-08-26 12:36   ` Ville Syrjälä
2025-08-26 14:30     ` Hogander, Jouni
2025-08-27 13:06       ` Ville Syrjälä
2025-08-27 13:22         ` Hogander, Jouni
2025-08-27 19:19           ` Ville Syrjälä
2025-08-28  7:02             ` Hogander, Jouni
2025-08-06 17:00 ` ✓ i915.CI.BAT: success for Wait PSR idle before on dsb commit (rev2) Patchwork
2025-08-06 20:10 ` ✗ i915.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;
as well as URLs for NNTP newsgroup(s).