[Intel-gfx] [PATCH] drm/i915/display: Defeature PSR2 for RKL and ADL-S

Rodrigo Vivi rodrigo.vivi at intel.com
Thu Apr 8 22:02:55 UTC 2021


On Thu, Apr 08, 2021 at 02:42:05PM -0700, José Roberto de Souza wrote:
> PSR2 is defeatured for RKL and ADL-S, no important power impact as
> those are desktop CPUs and PSR2 was not even enabled by default yet
> in platforms without PSR2 HW tracking.
> 
> HSDES: 14011750631
> HSDES: 14011741325
> BSpec: 53273
> Cc: Caz Yokoyama <Caz.Yokoyama at intel.com>
> Cc: Gwan-gyeong Mun <gwan-gyeong.mun at intel.com>
> Signed-off-by: José Roberto de Souza <jose.souza at intel.com>

Reviewed-by: Rodrigo Vivi <rodrigo.vivi at intel.com>

> ---
>  drivers/gpu/drm/i915/display/intel_psr.c | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/drivers/gpu/drm/i915/display/intel_psr.c b/drivers/gpu/drm/i915/display/intel_psr.c
> index 32d3d56259c2..2627d0b558f3 100644
> --- a/drivers/gpu/drm/i915/display/intel_psr.c
> +++ b/drivers/gpu/drm/i915/display/intel_psr.c
> @@ -739,6 +739,12 @@ static bool intel_psr2_config_valid(struct intel_dp *intel_dp,
>  		return false;
>  	}
>  
> +	/* Wa_16011181250 */
> +	if (IS_ROCKETLAKE(dev_priv) || IS_ALDERLAKE_S(dev_priv)) {
> +		drm_dbg_kms(&dev_priv->drm, "PSR2 is defeatured for this platform\n");
> +		return false;
> +	}
> +
>  	if (!transcoder_has_psr2(dev_priv, crtc_state->cpu_transcoder)) {
>  		drm_dbg_kms(&dev_priv->drm,
>  			    "PSR2 not supported in transcoder %s\n",
> -- 
> 2.31.1
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx


More information about the Intel-gfx mailing list