aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/display/intel_ddi.c
diff options
context:
space:
mode:
authorJouni Högander <[email protected]>2025-05-26 12:05:08 +0000
committerJouni Högander <[email protected]>2025-05-29 05:13:42 +0000
commit6ecb8e586f8339657211e12fcba7f77bae297fdd (patch)
treee1c48414fef89f134b30a69834df24bff219b40f /drivers/gpu/drm/i915/display/intel_ddi.c
parentdrm/i915/alpm: Add new interface to check if AUXLess ALPM is used (diff)
downloadkernel-6ecb8e586f8339657211e12fcba7f77bae297fdd.tar.gz
kernel-6ecb8e586f8339657211e12fcba7f77bae297fdd.zip
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 <[email protected]> Reviewed-by: Ankit Nautiyal <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_ddi.c')
-rw-r--r--drivers/gpu/drm/i915/display/intel_ddi.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_ddi.c b/drivers/gpu/drm/i915/display/intel_ddi.c
index 3d47d0ed3c37..f9653fa667b7 100644
--- a/drivers/gpu/drm/i915/display/intel_ddi.c
+++ b/drivers/gpu/drm/i915/display/intel_ddi.c
@@ -3740,6 +3740,12 @@ static void mtl_ddi_prepare_link_retrain(struct intel_dp *intel_dp,
intel_ddi_buf_enable(encoder, intel_dp->DP);
intel_dp->DP |= DDI_BUF_CTL_ENABLE;
+
+ /*
+ * 6.k If AUX-Less ALPM is going to be enabled
+ * i. Configure PORT_ALPM_CTL and PORT_ALPM_LFPS_CTL here
+ */
+ intel_alpm_port_configure(intel_dp, crtc_state);
}
static void intel_ddi_prepare_link_retrain(struct intel_dp *intel_dp,