drm/i915/psr: enable psr2 for y cordinate panels
Subsystems (2)
PATCH 8/10 drm/i915/psr: enable psr2 for y cordinate panels
Psr2 is enabled only for y cordinate panels.Once GTC (global time code) is implemented,this restriction is removed so that psr2
can work on panels without y cordinate support.
v2: (Rodrigo)
- Move the check to intel_psr_match_conditions
v3: (Rodrigo)
- add return false
v4: rebase
Cc Rodrigo Vivi <[email protected]>
Cc Jim Bride <[email protected]>
Signed-off-by Vathsala Nagaraju <[email protected]>
Signed-off-by Patil Deepti <[email protected]>
Reviewed-by Rodrigo Vivi <[email protected]>
--- drivers/gpu/drm/i915/intel_psr.c | 9 +++++++++ 1 file changed, 9 insertions(+)
drivers/gpu/drm/i915/intel_psr.c +9 -0
@@ -441,6 +441,15 @@ static bool intel_psr_match_conditions(struct intel_dp *intel_dp)return false; } +/* +* FIXME:enable psr2 only for y-cordinate psr2 panels +* After gtc implementation , remove this restriction. +*/ +if (!dev_priv->psr.y_cord_support && dev_priv->psr.psr2_support) { +DRM_DEBUG_KMS ("PSR2 disabled, panel does not support Y coordinate\n" ); +return false; + } + dev_priv->psr.source_ok = true;return true; }
Signature · 6 lines
1.9.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx