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@xxxxxxxxx> > Signed-off-by: José Roberto de Souza <jose.souza@xxxxxxxxx> > --- > 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@xxxxxxxxx> _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx