summaryrefslogtreecommitdiffstats
path: root/src/intel
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel')
-rw-r--r--src/intel/vulkan/genX_state.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/intel/vulkan/genX_state.c b/src/intel/vulkan/genX_state.c
index 6d55e5dc5c6..283cd8c501a 100644
--- a/src/intel/vulkan/genX_state.c
+++ b/src/intel/vulkan/genX_state.c
@@ -212,6 +212,17 @@ genX(init_device_state)(struct anv_device *device)
lri.DataDWord = common_slice_chicken3;
}
+ /* WaEnableStateCacheRedirectToCS:icl */
+ uint32_t slice_common_eco_chicken1;
+ anv_pack_struct(&slice_common_eco_chicken1,
+ GENX(SLICE_COMMON_ECO_CHICKEN1),
+ .StateCacheRedirectToCSSectionEnable = true,
+ .StateCacheRedirectToCSSectionEnableMask = true);
+
+ anv_batch_emit(&batch, GENX(MI_LOAD_REGISTER_IMM), lri) {
+ lri.RegisterOffset = GENX(SLICE_COMMON_ECO_CHICKEN1_num);
+ lri.DataDWord = slice_common_eco_chicken1;
+ }
#endif
/* Set the "CONSTANT_BUFFER Address Offset Disable" bit, so