anv: check for wa 16013994831 in emit_so_memcpy_end
We are toggling preemption on/off during streamout, this is also happening on gfx12 platforms, not just dg2. Cc: mesa-stable 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/27002>
This commit is contained in:
@@ -272,7 +272,7 @@ genX(emit_so_memcpy_fini)(struct anv_memcpy_state *state)
|
|||||||
void
|
void
|
||||||
genX(emit_so_memcpy_end)(struct anv_memcpy_state *state)
|
genX(emit_so_memcpy_end)(struct anv_memcpy_state *state)
|
||||||
{
|
{
|
||||||
if (intel_device_info_is_dg2(state->device->info))
|
if (intel_needs_workaround(state->device->info, 16013994831))
|
||||||
genX(batch_set_preemption)(state->batch, state->device->info, _3D, true);
|
genX(batch_set_preemption)(state->batch, state->device->info, _3D, true);
|
||||||
|
|
||||||
anv_batch_emit(state->batch, GENX(MI_BATCH_BUFFER_END), end);
|
anv_batch_emit(state->batch, GENX(MI_BATCH_BUFFER_END), end);
|
||||||
|
Reference in New Issue
Block a user