drm/i915: BDW PSR: Remove limitations that aren't valid for BDW.
Reviewed-by: Vijay Purushothaman <vijay.a.purushothaman@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
committed by
Daniel Vetter
parent
82c562549b
commit
4c8c7000cc
@@ -1776,6 +1776,10 @@ static bool intel_edp_psr_match_conditions(struct intel_dp *intel_dp)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Below limitations aren't valid for Broadwell */
|
||||||
|
if (IS_BROADWELL(dev))
|
||||||
|
goto out;
|
||||||
|
|
||||||
if (I915_READ(SPRCTL(intel_crtc->pipe)) & SPRITE_ENABLE) {
|
if (I915_READ(SPRCTL(intel_crtc->pipe)) & SPRITE_ENABLE) {
|
||||||
DRM_DEBUG_KMS("PSR condition failed: Sprite is Enabled\n");
|
DRM_DEBUG_KMS("PSR condition failed: Sprite is Enabled\n");
|
||||||
return false;
|
return false;
|
||||||
@@ -1792,6 +1796,7 @@ static bool intel_edp_psr_match_conditions(struct intel_dp *intel_dp)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
out:
|
||||||
dev_priv->psr.source_ok = true;
|
dev_priv->psr.source_ok = true;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user