[Intel-gfx] [PATCH 4/4] drm/i915/display: Set source_support even if panel do not support PSR

Mun, Gwan-gyeong gwan-gyeong.mun at intel.com
Mon Feb 22 09:57:01 UTC 2021


On Tue, 2021-02-09 at 10:14 -0800, José Roberto de Souza wrote:
> This will set the right value of source_support when the port
> encoder/port supports PSR but sink don't.
> 
> This change will also be needed in future for panel replay as psr
> struct needs to be initialized even if disconnected or current sink
> don't support PSR.
> 
> Cc: Gwan-gyeong Mun <gwan-gyeong.mun at intel.com>
> Signed-off-by: José Roberto de Souza <jose.souza at intel.com>
> ---
>  drivers/gpu/drm/i915/display/intel_psr.c | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/display/intel_psr.c
> b/drivers/gpu/drm/i915/display/intel_psr.c
> index e0111b470570..6b3e2120161e 100644
> --- a/drivers/gpu/drm/i915/display/intel_psr.c
> +++ b/drivers/gpu/drm/i915/display/intel_psr.c
> @@ -1837,9 +1837,6 @@ void intel_psr_init(struct intel_dp *intel_dp)
>         if (!HAS_PSR(dev_priv))
>                 return;
>  
> -       if (!intel_dp->psr.sink_support)
> -               return;
> -
>         /*
>          * HSW spec explicitly says PSR is tied to port A.
>          * BDW+ platforms have a instance of PSR registers per
> transcoder but

Reviewed-by: Gwan-gyeong Mun <gwan-gyeong.mun at intel.com>





More information about the Intel-gfx mailing list