]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/psr: Add poll for checking PSR is idle before starting update
authorJouni Högander <jouni.hogander@intel.com>
Fri, 5 Sep 2025 07:27:08 +0000 (10:27 +0300)
committerJouni Högander <jouni.hogander@intel.com>
Mon, 8 Sep 2025 05:00:15 +0000 (08:00 +0300)
commit8bc70f2ea932976604876756d6d868eca3ac4cbb
treee99d1ee90b29996781411f0f2447a8d196339783
parent11b0567ee605e95becc02f858f8f42706687a068
drm/i915/psr: Add poll for checking PSR is idle before starting update

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.

Fix this by adding poll ensuring PSR is idle before starting update.

v2: pass new_crtc_state->dsb_commit to intel_psr_wait_for_idle_dsb

Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://lore.kernel.org/r/20250905072708.2659411-5-jouni.hogander@intel.com
drivers/gpu/drm/i915/display/intel_display.c