|
@@ -1256,6 +1256,13 @@ static int gen9_init_indirectctx_bb(struct intel_engine_cs *engine,
|
|
|
return ret;
|
|
return ret;
|
|
|
index = ret;
|
|
index = ret;
|
|
|
|
|
|
|
|
|
|
+ /* WaDisableGatherAtSetShaderCommonSlice:skl,bxt,kbl */
|
|
|
|
|
+ wa_ctx_emit(batch, index, MI_LOAD_REGISTER_IMM(1));
|
|
|
|
|
+ wa_ctx_emit_reg(batch, index, COMMON_SLICE_CHICKEN2);
|
|
|
|
|
+ wa_ctx_emit(batch, index, _MASKED_BIT_DISABLE(
|
|
|
|
|
+ GEN9_DISABLE_GATHER_AT_SET_SHADER_COMMON_SLICE));
|
|
|
|
|
+ wa_ctx_emit(batch, index, MI_NOOP);
|
|
|
|
|
+
|
|
|
/* WaClearSlmSpaceAtContextSwitch:kbl */
|
|
/* WaClearSlmSpaceAtContextSwitch:kbl */
|
|
|
/* Actual scratch location is at 128 bytes offset */
|
|
/* Actual scratch location is at 128 bytes offset */
|
|
|
if (IS_KBL_REVID(engine->i915, 0, KBL_REVID_A0)) {
|
|
if (IS_KBL_REVID(engine->i915, 0, KBL_REVID_A0)) {
|