aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_pm.c
diff options
context:
space:
mode:
authorNick Hoath <nicholas.hoath@intel.com>2015-07-14 14:41:15 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-07-15 14:29:19 +0200
commit6381b55016ec76f18cbc8685ca0774dd4584651b (patch)
tree051fbcf4f9641c6a8cd448187fbb95fd0ebf7e9f /drivers/gpu/drm/i915/intel_pm.c
parentdrm/i915: Use expcitly fixed type in compat32 structs (diff)
downloadlinux-dev-6381b55016ec76f18cbc8685ca0774dd4584651b.tar.xz
linux-dev-6381b55016ec76f18cbc8685ca0774dd4584651b.zip
drm/i915/gen9: Implement WaDisableKillLogic for gen 9
v2: Patch leakage fixed Signed-off-by: Nick Hoath <nicholas.hoath@intel.com> Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to '')
-rw-r--r--drivers/gpu/drm/i915/intel_pm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
index 025978548fb6..3a48c4f21f11 100644
--- a/drivers/gpu/drm/i915/intel_pm.c
+++ b/drivers/gpu/drm/i915/intel_pm.c
@@ -59,6 +59,10 @@ static void gen9_init_clock_gating(struct drm_device *dev)
/* WaEnableLbsSlaRetryTimerDecrement:skl */
I915_WRITE(BDW_SCRATCH1, I915_READ(BDW_SCRATCH1) |
GEN9_LBS_SLA_RETRY_TIMER_DECREMENT_ENABLE);
+
+ /* WaDisableKillLogic:bxt,skl */
+ I915_WRITE(GAM_ECOCHK, I915_READ(GAM_ECOCHK) |
+ ECOCHK_DIS_TLB);
}
static void skl_init_clock_gating(struct drm_device *dev)