diff options
author | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2014-06-12 10:16:43 -0700 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-06-13 17:45:26 +0200 |
commit | 4c8c7000cc54ef45d05d3519ddb9118d4c65fbd0 (patch) | |
tree | 48e9160c3f560b8b4f65d27b4d8bfa64062df9a8 /drivers/gpu/drm/i915/intel_dp.c | |
parent | 82c562549b4c86274c564d3b3498020559683dcd (diff) | |
download | op-kernel-dev-4c8c7000cc54ef45d05d3519ddb9118d4c65fbd0.zip op-kernel-dev-4c8c7000cc54ef45d05d3519ddb9118d4c65fbd0.tar.gz |
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>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dp.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_dp.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c index 73e4a5c..f8ff257 100644 --- a/drivers/gpu/drm/i915/intel_dp.c +++ b/drivers/gpu/drm/i915/intel_dp.c @@ -1776,6 +1776,10 @@ static bool intel_edp_psr_match_conditions(struct intel_dp *intel_dp) return false; } + /* Below limitations aren't valid for Broadwell */ + if (IS_BROADWELL(dev)) + goto out; + if (I915_READ(SPRCTL(intel_crtc->pipe)) & SPRITE_ENABLE) { DRM_DEBUG_KMS("PSR condition failed: Sprite is Enabled\n"); return false; @@ -1792,6 +1796,7 @@ static bool intel_edp_psr_match_conditions(struct intel_dp *intel_dp) return false; } + out: dev_priv->psr.source_ok = true; return true; } |