SOL unit issues, wa is to send PC with CS stall after SO_DECL.
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18409>
uint32_t *decl_list =
ice->state.streamout + GENX(3DSTATE_STREAMOUT_length);
iris_batch_emit(batch, decl_list, 4 * ((decl_list[0] & 0xff) + 2));
+
+#if GFX_VERx10 == 125
+ /* Wa_14015946265: Send PC with CS stall after SO_DECL. */
+ iris_emit_pipe_control_flush(batch,
+ "workaround: cs stall after so_decl",
+ PIPE_CONTROL_CS_STALL);
+#endif
}
if (dirty & IRIS_DIRTY_STREAMOUT) {