drm/i915/skl+: Enable pipe CSC on cursor planes. (v2)
authorBob Paauwe <bob.j.paauwe@intel.com>
Mon, 31 Aug 2015 21:03:30 +0000 (14:03 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 15 Oct 2015 13:21:54 +0000 (15:21 +0200)
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>
drivers/gpu/drm/i915/intel_display.c

index d37b7a1d562b1557097bb9798990ba50a962478b..82128b95785cb63c4c5c443102d01ce7dee2f5b4 100644 (file)
@@ -9927,7 +9927,7 @@ static void i9xx_update_cursor(struct drm_crtc *crtc, u32 base)
                }
                cntl |= pipe << 28; /* Connect to correct pipe */
 
-               if (IS_HASWELL(dev) || IS_BROADWELL(dev))
+               if (HAS_DDI(dev))
                        cntl |= CURSOR_PIPE_CSC_ENABLE;
        }