drm/i915/display: Set source_support even if panel do not support PSR
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@intel.com> Signed-off-by: José Roberto de Souza <jose.souza@intel.com> Reviewed-by: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210209181439.215104-4-jose.souza@intel.com
This commit is contained in:
parent
3816139c8a
commit
1b6872fe1e
@ -1839,9 +1839,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
|
||||
|
Loading…
x
Reference in New Issue
Block a user