]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
drm/i915/bxt: Add WaDisableThreadStallDopClockGating
authorNick Hoath <nicholas.hoath@intel.com>
Fri, 10 Apr 2015 12:12:24 +0000 (13:12 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 8 May 2015 11:03:08 +0000 (13:03 +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 de8c0747aaefe4d19dce271f6dd95b1abad78df3..98424e29917c38e73c93f53c81575f1b056cb601 100644 (file)
@@ -1041,8 +1041,15 @@ static int skl_init_workarounds(struct intel_engine_cs *ring)
 
 static int bxt_init_workarounds(struct intel_engine_cs *ring)
 {
+       struct drm_device *dev = ring->dev;
+       struct drm_i915_private *dev_priv = dev->dev_private;
+
        gen9_init_workarounds(ring);
 
+       /* WaDisableThreadStallDopClockGating:bxt */
+       WA_SET_BIT_MASKED(GEN8_ROW_CHICKEN,
+                         STALL_DOP_GATING_DISABLE);
+
        return 0;
 }