]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/psr: Remove DSB_SKIP_WAITS_EN chicken bit
authorJouni Högander <jouni.hogander@intel.com>
Thu, 13 Feb 2025 06:48:00 +0000 (08:48 +0200)
committerJouni Högander <jouni.hogander@intel.com>
Fri, 14 Feb 2025 06:37:49 +0000 (08:37 +0200)
commit20d6343bf4576674756067a0c59be49526cad072
treec0ec58e82fd11935561804f488dadb995f8a520c
parent452c3fb857f8fe35544335d336eb6ee379ef9b30
drm/i915/psr: Remove DSB_SKIP_WAITS_EN chicken bit

We have different approach on how flip is considered being complete. We are
waiting for vblank on DSB and generate interrupt when it happens and this
interrupt is considered as indication of completion -> we definitely do not
want to skip vblank wait.

Also not skipping scanline wait shouldn't cause any problems if we are in
DEEP_SLEEP PIPEDSL register is returning 0 -> evasion does nothing and if
we are not in DEEP_SLEEP evasion works same way as without PSR.

v2: add comment explaining why we are not setting DSB_SKIP_WAITS_EN

Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250213064804.2077127-10-jouni.hogander@intel.com
drivers/gpu/drm/i915/display/intel_dsb.c