]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/display: Wait for vblank in case of PSR is using trans push
authorJouni Högander <jouni.hogander@intel.com>
Tue, 27 Jan 2026 12:41:16 +0000 (14:41 +0200)
committerJouni Högander <jouni.hogander@intel.com>
Mon, 2 Feb 2026 06:13:39 +0000 (08:13 +0200)
commit7bb01e326568f3489636723bf6dd9803f7293094
treee3594023825fd2d87c06e6accc3449027f284e26
parentf8c7baf813074c557ac708135713718b1df57428
drm/i915/display: Wait for vblank in case of PSR is using trans push

In case PSR uses trans push as a "frame change" event and we need to wait
vblank after triggering PSR "frame change" event. Otherwise we may miss
selective updates.

DSB skips all waits while PSR is active. Check push send is skipped as well
because trans push send bit is not reset by the HW if VRR is not enabled ->
we may start configuring new selective update while previous is not
complete. Avoid this by waiting for vblank after sending trans push.

v2: some typos fixed

Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Link: https://patch.msgid.link/20260127124120.1069026-8-jouni.hogander@intel.com
drivers/gpu/drm/i915/display/intel_display.c