mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 00:00:11 +01:00
iris: disable preemption on VFG, Wa_14015207028 for DG2
This workaround disables batch level preemption for Polygon, Trifan and Lineloop primitive topologies. Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18456>
This commit is contained in:
parent
ddcd6b3834
commit
27c5b93d37
1 changed files with 8 additions and 0 deletions
|
|
@ -1058,6 +1058,14 @@ iris_init_render_context(struct iris_batch *batch)
|
|||
|
||||
iris_init_common_context(batch);
|
||||
|
||||
#if GFX_VERx10 == 125
|
||||
/* Wa_14015207028 */
|
||||
iris_emit_reg(batch, GENX(VFG_PREEMPTION_CHICKEN_BITS), vfgc) {
|
||||
vfgc.PolygonTrifanLineLoopPreemptionDisable = true;
|
||||
vfgc.PolygonTrifanLineLoopPreemptionDisableMask = true;
|
||||
};
|
||||
#endif
|
||||
|
||||
#if GFX_VER >= 9
|
||||
iris_emit_reg(batch, GENX(CS_DEBUG_MODE2), reg) {
|
||||
reg.CONSTANT_BUFFERAddressOffsetDisable = true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue