aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBob Paauwe <bob.j.paauwe@intel.com>2015-08-31 17:03:30 -0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-10-15 09:21:54 -0400
commitfc6f93bce582ccf76335843584e6a797ac72813c (patch)
tree83f85997668cd3a0bfb562f562eda6de67ca36e4
parent7564fde3a13e000867729a291e77cdefa0854b8e (diff)
drm/i915/skl+: Enable pipe CSC on cursor planes. (v2)
Extend this to SKL and BXT as it's needed for these platforms as well. v2: Change if condition to HAS_DDI() instead of listing each platform Signed-off-by: Bob Paauwe <bob.j.paauwe@intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
-rw-r--r--drivers/gpu/drm/i915/intel_display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index d37b7a1d562b..82128b95785c 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -9927,7 +9927,7 @@ static void i9xx_update_cursor(struct drm_crtc *crtc, u32 base)
9927 } 9927 }
9928 cntl |= pipe << 28; /* Connect to correct pipe */ 9928 cntl |= pipe << 28; /* Connect to correct pipe */
9929 9929
9930 if (IS_HASWELL(dev) || IS_BROADWELL(dev)) 9930 if (HAS_DDI(dev))
9931 cntl |= CURSOR_PIPE_CSC_ENABLE; 9931 cntl |= CURSOR_PIPE_CSC_ENABLE;
9932 } 9932 }
9933 9933