diff options
author | José Roberto de Souza <jose.souza@intel.com> | 2018-11-21 14:54:41 -0800 |
---|---|---|
committer | José Roberto de Souza <jose.souza@intel.com> | 2018-11-22 13:51:20 -0800 |
commit | 16c36c4cb84de069cf6b1398b7a2de29052b8eb9 (patch) | |
tree | 2d9c414b4e1a8fafdc8d19b2779ee3667ae930d7 /drivers | |
parent | 888bf84dba3d60a347d67ab0b6c22f72dec7eb26 (diff) |
drm/i915/hsw: Drop the stereo 3D enabled check in psr_compute_config()
We should not access hardware while computing config also we don't
support stereo 3D so this test was never true.
Suggested-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181121225441.18785-6-jose.souza@intel.com
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/i915/intel_psr.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/gpu/drm/i915/intel_psr.c b/drivers/gpu/drm/i915/intel_psr.c index c5ab69e6c90b..572e626eadff 100644 --- a/drivers/gpu/drm/i915/intel_psr.c +++ b/drivers/gpu/drm/i915/intel_psr.c @@ -553,13 +553,6 @@ void intel_psr_compute_config(struct intel_dp *intel_dp, } if (IS_HASWELL(dev_priv) && - I915_READ(HSW_STEREO_3D_CTL(crtc_state->cpu_transcoder)) & - S3D_ENABLE) { - DRM_DEBUG_KMS("PSR condition failed: Stereo 3D is Enabled\n"); - return; - } - - if (IS_HASWELL(dev_priv) && adjusted_mode->flags & DRM_MODE_FLAG_INTERLACE) { DRM_DEBUG_KMS("PSR condition failed: Interlaced is Enabled\n"); return; |