summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_ringbuffer.c
diff options
context:
space:
mode:
authorNick Hoath <nicholas.hoath@intel.com>2015-02-05 11:47:22 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-02-13 23:28:09 +0100
commitcac23df48af531168625f5510912d227c7ce6b8b (patch)
tree67c95bd666bcb3b95a5312fe3825bb930b54168a /drivers/gpu/drm/i915/intel_ringbuffer.c
parentdrm/i915/gen9: Implement WaDisableSDEUnitClockGating (diff)
downloadlinux-cac23df48af531168625f5510912d227c7ce6b8b.tar.xz
linux-cac23df48af531168625f5510912d227c7ce6b8b.zip
drm/i915/gen9: Implement WaEnableYV12BugFixInHalfSliceChicken7
Move WaEnableYV12BugFixInHalfSliceChicken7 to gen9_init_workarounds v2: Add stepping check. Signed-off-by: Nick Hoath <nicholas.hoath@intel.com> Reviewed-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ringbuffer.c')
-rw-r--r--drivers/gpu/drm/i915/intel_ringbuffer.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers/gpu/drm/i915/intel_ringbuffer.c
index 909430ffa7fe..2ab447c711bc 100644
--- a/drivers/gpu/drm/i915/intel_ringbuffer.c
+++ b/drivers/gpu/drm/i915/intel_ringbuffer.c
@@ -896,6 +896,12 @@ static int gen9_init_workarounds(struct intel_engine_cs *ring)
~GEN9_DG_MIRROR_FIX_ENABLE);
}
+ if (INTEL_REVID(dev) >= SKL_REVID_C0) {
+ /* WaEnableYV12BugFixInHalfSliceChicken7:skl */
+ WA_SET_BIT_MASKED(GEN9_HALF_SLICE_CHICKEN7,
+ GEN9_ENABLE_YV12_BUGFIX);
+ }
+
return 0;
}