[Intel-gfx] [PATCH] drm/i915/display: Disable PSR2 on ADLS

Tejas Upadhyay tejaskumarx.surendrakumar.upadhyay at intel.com
Mon Mar 22 10:53:50 UTC 2021


In light of PSR2 can be enabled only on BOM9 platform team has requested
to disable PSR2 by default in driver,  starting with gfx-driver-ci-master-7517.
Disabling it for ADLS.

Signed-off-by: Tejas Upadhyay <tejaskumarx.surendrakumar.upadhyay at intel.com>
---
 drivers/gpu/drm/i915/display/intel_psr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/display/intel_psr.c b/drivers/gpu/drm/i915/display/intel_psr.c
index cd434285e3b7..8bf8e1ffa813 100644
--- a/drivers/gpu/drm/i915/display/intel_psr.c
+++ b/drivers/gpu/drm/i915/display/intel_psr.c
@@ -727,7 +727,7 @@ static bool intel_psr2_config_valid(struct intel_dp *intel_dp,
 		return false;
 
 	/* JSL and EHL only supports eDP 1.3 */
-	if (IS_JSL_EHL(dev_priv)) {
+	if (IS_JSL_EHL(dev_priv) || IS_ALDERLAKE_S(dev_priv)) {
 		drm_dbg_kms(&dev_priv->drm, "PSR2 not supported by phy\n");
 		return false;
 	}
-- 
2.30.0



More information about the Intel-gfx mailing list