]> www.infradead.org Git - users/willy/xarray.git/commitdiff
drm/i915/alpm: Write also AUX Less Wake lines into ALPM_CTL
authorJouni Högander <jouni.hogander@intel.com>
Fri, 7 Jun 2024 13:49:06 +0000 (16:49 +0300)
committerJouni Högander <jouni.hogander@intel.com>
Tue, 11 Jun 2024 09:59:33 +0000 (12:59 +0300)
Currently AUX Less Wake lines are not written into ALPM_CTL. Fix this.

Fixes: 1ccbf135862b ("drm/i915/psr: Enable ALPM on source side for eDP Panel replay")
Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
Reviewed-by: Animesh Manna <animesh.manna@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240607134917.1327574-3-jouni.hogander@intel.com
drivers/gpu/drm/i915/display/intel_alpm.c

index 52a57336797600546db436c0b1297f76aa5eacdb..18c1c580367089e26a3dd5ce35b00ba140082d99 100644 (file)
@@ -323,7 +323,8 @@ static void lnl_alpm_configure(struct intel_dp *intel_dp,
            (crtc_state->has_lobf && intel_alpm_aux_less_wake_supported(intel_dp))) {
                alpm_ctl = ALPM_CTL_ALPM_ENABLE |
                        ALPM_CTL_ALPM_AUX_LESS_ENABLE |
-                       ALPM_CTL_AUX_LESS_SLEEP_HOLD_TIME_50_SYMBOLS;
+                       ALPM_CTL_AUX_LESS_SLEEP_HOLD_TIME_50_SYMBOLS |
+                       ALPM_CTL_AUX_LESS_WAKE_TIME(intel_dp->alpm_parameters.aux_less_wake_lines);
 
                intel_de_write(dev_priv,
                               PORT_ALPM_CTL(dev_priv, cpu_transcoder),