drm/i915/bxt: Enable WaEnableYV12BugFixInHalfSliceChicken7 for Broxton
authorNick Hoath <nicholas.hoath@intel.com>
Thu, 7 May 2015 13:15:33 +0000 (14:15 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 8 May 2015 11:04:14 +0000 (13:04 +0200)
Signed-off-by: Nick Hoath <nicholas.hoath@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ringbuffer.c

index 8404e0c318e7c124faf77d0aa602c2b12d876cb3..e8eeea190687b60e2ea6453ae9e3dc1910e27da0 100644 (file)
@@ -944,8 +944,9 @@ static int gen9_init_workarounds(struct intel_engine_cs *ring)
                                  DISABLE_PIXEL_MASK_CAMMING);
        }
 
-       if (INTEL_REVID(dev) >= SKL_REVID_C0) {
-               /* WaEnableYV12BugFixInHalfSliceChicken7:skl */
+       if ((IS_SKYLAKE(dev) && INTEL_REVID(dev) >= SKL_REVID_C0) ||
+           IS_BROXTON(dev)) {
+               /* WaEnableYV12BugFixInHalfSliceChicken7:skl,bxt */
                WA_SET_BIT_MASKED(GEN9_HALF_SLICE_CHICKEN7,
                                  GEN9_ENABLE_YV12_BUGFIX);
        }