drm/i915/psr: Add mechanism to notify PSR of pipe enable/disable
authorJouni Högander <jouni.hogander@intel.com>
Mon, 14 Apr 2025 10:05:02 +0000 (13:05 +0300)
committerJouni Högander <jouni.hogander@intel.com>
Wed, 23 Apr 2025 09:16:28 +0000 (12:16 +0300)
commitf02658c46cf7d17dff0b676fced6156a3c083c91
tree2302892ff5fd0f0b9fa61a2bc77afd6504359696
parent0de99007c7dfd247e39e7d5bb63cb8ee2974973c
drm/i915/psr: Add mechanism to notify PSR of pipe enable/disable

We need to apply/remove workaround for underrun on idle PSR HW issue
(Wa_16025596647) when new pipe is enabled or pipe is getting disabled. This
patch implements mechanism to notify PSR about pipe enable/disable and
applies/removes the workaround using this notification.

Bspec: 74151

Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Link: https://lore.kernel.org/r/20250414100508.1208774-8-jouni.hogander@intel.com
drivers/gpu/drm/i915/display/intel_psr.c
drivers/gpu/drm/i915/display/intel_psr.h