summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_ringbuffer.c
diff options
context:
space:
mode:
authorHoath, Nicholas <nicholas.hoath@intel.com>2015-02-05 11:47:23 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-02-13 23:28:10 +0100
commit1840481f536b40289b61c13f9111f30f4019e5ff (patch)
tree174cca1d2f72b9163b970cfab5b6a3a366e3c88b /drivers/gpu/drm/i915/intel_ringbuffer.c
parentdrm/i915/gen9: Implement WaEnableYV12BugFixInHalfSliceChicken7 (diff)
downloadlinux-1840481f536b40289b61c13f9111f30f4019e5ff.tar.xz
linux-1840481f536b40289b61c13f9111f30f4019e5ff.zip
drm/i915/gen9: Implement Wa4x4STCOptimizationDisable
Move Wa4x4STCOptimizationDisable to gen9_init_workarounds v2: rebase 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.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers/gpu/drm/i915/intel_ringbuffer.c
index 2ab447c711bc..e35b341c3cef 100644
--- a/drivers/gpu/drm/i915/intel_ringbuffer.c
+++ b/drivers/gpu/drm/i915/intel_ringbuffer.c
@@ -902,6 +902,9 @@ static int gen9_init_workarounds(struct intel_engine_cs *ring)
GEN9_ENABLE_YV12_BUGFIX);
}
+ /* Wa4x4STCOptimizationDisable:skl */
+ WA_SET_BIT_MASKED(CACHE_MODE_1, GEN8_4x4_STC_OPTIMIZATION_DISABLE);
+
return 0;
}