@@ -5637,6 +5637,7 @@ enum punit_power_well {
#define GEN7_PSD_SINGLE_PORT_DISPATCH_ENABLE (1<<3)
#define GEN8_ROW_CHICKEN 0xe4f0
+#define INSTRUCTION_SHOOTDOWN_DISABLE (1<<9)
#define PARTIAL_INSTRUCTION_SHOOTDOWN_DISABLE (1<<8)
#define STALL_DOP_GATING_DISABLE (1<<5)
@@ -5405,8 +5405,10 @@ static void gen8_init_clock_gating(struct drm_device *dev)
_MASKED_BIT_ENABLE(PARTIAL_INSTRUCTION_SHOOTDOWN_DISABLE));
/* WaDisableThreadStallDopClockGating:bdw */
- /* FIXME: Unclear whether we really need this on production bdw. */
+ /* WaDisableInstructionShootdown:bdw */
+ /* FIXME: Unclear whether we really need these on production bdw. */
I915_WRITE(GEN8_ROW_CHICKEN,
+ _MASKED_BIT_ENABLE(INSTRUCTION_SHOOTDOWN_DISABLE) |
_MASKED_BIT_ENABLE(STALL_DOP_GATING_DISABLE));
/*
Instruction Shootdown in ROW_CHICKEN must be disabled. Signed-off-by: Michel Thierry <michel.thierry@intel.com> --- drivers/gpu/drm/i915/i915_reg.h | 1 + drivers/gpu/drm/i915/intel_pm.c | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-)