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(-)

-- 
2.43.0

Reply via email to