Skip to content

Wait PSR idle before on dsb commit

Jouni Högander intel-gfx intel-xe 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 3 repliesIn review
  2. v24 patches 9 repliesSuperseded
  3. v14 patches 0 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4drm/i915/psr: Pass intel_crtc_state instead of intel_dp in wait_for_idledrivers/gpu/drm/i915/display/intel_psr.c+10 -80 replies
2/4drm/i915/psr: Add new define for PSR idle timeoutdrivers/gpu/drm/i915/display/intel_psr.c+12 -80 replies
3/4drm/i915/psr: New interface adding PSR idle poll into dsb commitdrivers/gpu/drm/i915/display/intel_psr.c drivers/gpu/drm/i915/display/intel_psr.h+37 -40 replies
4/4drm/i915/psr: Add poll for checking PSR is idle before starting updatedrivers/gpu/drm/i915/display/intel_display.c+3 -01 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchMika KaholaVille Syrjälä
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/4] Wait PSR idle before on dsb commit

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.

v3: add intel_dsb as a parameter to intel_psr_wait_for_idle_dsb
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 |  3 +
 drivers/gpu/drm/i915/display/intel_psr.c     | 69 +++++++++++++++-----
 drivers/gpu/drm/i915/display/intel_psr.h     |  2 +
 3 files changed, 58 insertions(+), 16 deletions(-)
Signature · 1 line
2.43.0