drm/i915/psr: Add interface to check if AUXLess ALPM is needed by PSR
authorJouni Högander <jouni.hogander@intel.com>
Mon, 26 May 2025 12:05:06 +0000 (15:05 +0300)
committerJouni Högander <jouni.hogander@intel.com>
Thu, 29 May 2025 05:13:41 +0000 (08:13 +0300)
commite6503d10cab72ffc4419af76ad96aa10fbea08cb
tree730603994f4fc389bcb61af4f8b31d8b52feda1a
parentd6a8336c5f06b4fc065963cfcf1ff4fe52640979
drm/i915/psr: Add interface to check if AUXLess ALPM is needed by PSR

Currently we spread ugly PSR details into ALPM code to check if AUXLess
ALPM is needed. Prepare to hide these details to PSR code by adding new
interface for checking if AUXLess ALPM is needed.

v2: remove kerneldoc comment

Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Link: https://lore.kernel.org/r/20250526120512.1702815-7-jouni.hogander@intel.com
drivers/gpu/drm/i915/display/intel_psr.c
drivers/gpu/drm/i915/display/intel_psr.h