Commit 71cdfa8c authored by Jouni Högander's avatar Jouni Högander

drm/i915/psr: Do not write ALPM configuration for PSR1 or DP2.0 Panel Replay

No need to write ALPM configuration for DP2.0 Panel Replay or PSR1.
Signed-off-by: default avatarJouni Högander <jouni.hogander@intel.com>
Reviewed-by: default avatarAnimesh Manna <animesh.manna@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240328141928.1311284-6-jouni.hogander@intel.com
parent 1ccbf135
...@@ -1723,7 +1723,8 @@ static void lnl_alpm_configure(struct intel_dp *intel_dp) ...@@ -1723,7 +1723,8 @@ static void lnl_alpm_configure(struct intel_dp *intel_dp)
struct intel_psr *psr = &intel_dp->psr; struct intel_psr *psr = &intel_dp->psr;
u32 alpm_ctl; u32 alpm_ctl;
if (DISPLAY_VER(dev_priv) < 20) if (DISPLAY_VER(dev_priv) < 20 || (!intel_dp->psr.psr2_enabled &&
!intel_dp_is_edp(intel_dp)))
return; return;
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment