summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_pm.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2014-04-09 13:28:33 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-05-20 15:19:36 +0200
commitdd811e70caa068dd78e7113653d269e9bc3b80e5 (patch)
tree52ce89489cd67d8b48add81e2c31309f84415d13 /drivers/gpu/drm/i915/intel_pm.c
parent85b3894f7997d98939c33ca769e30d89e9f0bf27 (diff)
downloadlwn-dd811e70caa068dd78e7113653d269e9bc3b80e5.tar.gz
lwn-dd811e70caa068dd78e7113653d269e9bc3b80e5.zip
drm/i915/chv: Implement WaDisablePartialInstShootdown:chv
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_pm.c')
-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 15eb29cd3ee3..cb6deaf126a0 100644
--- a/drivers/gpu/drm/i915/intel_pm.c
+++ b/drivers/gpu/drm/i915/intel_pm.c
@@ -5375,6 +5375,10 @@ static void cherryview_init_clock_gating(struct drm_device *dev)
I915_WRITE(DSPCLK_GATE_D, VRHUNIT_CLOCK_GATE_DISABLE);
I915_WRITE(MI_ARB_VLV, MI_ARB_DISPLAY_TRICKLE_FEED_DISABLE);
+
+ /* WaDisablePartialInstShootdown:chv */
+ I915_WRITE(GEN8_ROW_CHICKEN,
+ _MASKED_BIT_ENABLE(PARTIAL_INSTRUCTION_SHOOTDOWN_DISABLE));
}
static void g4x_init_clock_gating(struct drm_device *dev)