drm/i915/psr: Add mechanism to notify PSR of DC5/6 enable disable
authorJouni Högander <jouni.hogander@intel.com>
Mon, 14 Apr 2025 10:05:03 +0000 (13:05 +0300)
committerJouni Högander <jouni.hogander@intel.com>
Wed, 23 Apr 2025 09:16:29 +0000 (12:16 +0300)
commitb7effa3238c705135515687c8b055a0ac2c221e0
tree2b5834eb8d7e5305b1642fa8215c2056b007c0fa
parentf02658c46cf7d17dff0b676fced6156a3c083c91
drm/i915/psr: Add mechanism to notify PSR of DC5/6 enable disable

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

Bspec: 74115

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-9-jouni.hogander@intel.com
drivers/gpu/drm/i915/display/intel_display_core.h
drivers/gpu/drm/i915/display/intel_psr.c
drivers/gpu/drm/i915/display/intel_psr.h