mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
anv: implement Wa_14015946265 for DG2
SOL unit issues, wa is to send PC with CS stall after SO_DECL. v2: emit also in genX_gpu_memcpy (Lionel) 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>
This commit is contained in:
parent
e37f534d7f
commit
f32ac1d30b
2 changed files with 14 additions and 0 deletions
|
|
@ -184,6 +184,13 @@ emit_so_memcpy(struct anv_batch *batch, struct anv_device *device,
|
|||
},
|
||||
});
|
||||
|
||||
#if GFX_VERx10 == 125
|
||||
/* Wa_14015946265: Send PC with CS stall after SO_DECL. */
|
||||
anv_batch_emit(batch, GENX(PIPE_CONTROL), pc) {
|
||||
pc.CommandStreamerStallEnable = true;
|
||||
}
|
||||
#endif
|
||||
|
||||
anv_batch_emit(batch, GENX(3DSTATE_STREAMOUT), so) {
|
||||
so.SOFunctionEnable = true;
|
||||
so.RenderingDisable = true;
|
||||
|
|
|
|||
|
|
@ -1241,6 +1241,13 @@ emit_3dstate_streamout(struct anv_graphics_pipeline *pipeline,
|
|||
.Stream3Decl = so_decl[3][i],
|
||||
});
|
||||
}
|
||||
|
||||
#if GFX_VERx10 == 125
|
||||
/* Wa_14015946265: Send PC with CS stall after SO_DECL. */
|
||||
anv_batch_emit(&pipeline->base.batch, GENX(PIPE_CONTROL), pc) {
|
||||
pc.CommandStreamerStallEnable = true;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
struct GENX(3DSTATE_STREAMOUT) so = {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue