anv: Set COMPUTE_WALKER systolic mode enable flag

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25994>
This commit is contained in:
Ian Romanick 2023-09-22 16:17:18 -07:00
parent 67739b02de
commit 7bfbeb79a7
3 changed files with 5 additions and 0 deletions

View file

@ -1343,6 +1343,7 @@ struct brw_cs_prog_data {
bool uses_num_work_groups;
bool uses_inline_data;
bool uses_btd_stack_ids;
bool uses_systolic;
struct {
struct brw_push_const_block cross_thread;

View file

@ -4643,6 +4643,7 @@ fs_nir_emit_cs_intrinsic(nir_to_brw_state &ntb,
}
}
cs_prog_data->uses_systolic = true;
break;
}

View file

@ -5999,6 +5999,9 @@ emit_compute_walker(struct anv_cmd_buffer *cmd_buffer,
.MessageSIMD = dispatch.simd_size / 16,
.IndirectDataStartAddress = comp_state->push_data.offset,
.IndirectDataLength = comp_state->push_data.alloc_size,
#if GFX_VERx10 == 125
.SystolicModeEnable = prog_data->uses_systolic,
#endif
.LocalXMaximum = prog_data->local_size[0] - 1,
.LocalYMaximum = prog_data->local_size[1] - 1,
.LocalZMaximum = prog_data->local_size[2] - 1,