drm/i915/alpm: Move port alpm configuration
authorJouni Högander <jouni.hogander@intel.com>
Mon, 26 May 2025 12:05:08 +0000 (15:05 +0300)
committerJouni Högander <jouni.hogander@intel.com>
Thu, 29 May 2025 05:13:42 +0000 (08:13 +0300)
commit6ecb8e586f8339657211e12fcba7f77bae297fdd
treee1c48414fef89f134b30a69834df24bff219b40f
parent5d9d4feb33b7d509f8e6f5558381e1e8a3304134
drm/i915/alpm: Move port alpm configuration

It is specified in Bspec where port alpm configuration is supposed to be
performed. Change accordingly.

v2:
  - drop HAS reference
  - ensure PORT_ALPM registers are not writen on older platform

Bspec: 68849
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-9-jouni.hogander@intel.com
drivers/gpu/drm/i915/display/intel_alpm.c
drivers/gpu/drm/i915/display/intel_alpm.h
drivers/gpu/drm/i915/display/intel_cx0_phy.c
drivers/gpu/drm/i915/display/intel_ddi.c