iris: set DisableAnyMCTRresponsefix to zero on init
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run

This is to make sure early culling related Wa_16020518922 is enabled
properly.

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/39712>
This commit is contained in:
Tapani Pälli 2026-02-05 10:12:37 +02:00 committed by Marge Bot
parent 9aaed82543
commit 331238e44e

View file

@ -1414,6 +1414,17 @@ iris_init_render_context(struct iris_batch *batch)
};
#endif
#if GFX_VERx10 >= 300
/* Set value explicitly on init to override possible wrong setting. This bit
* default changed from Xe2 to Xe3 and is required to be zero for
* Wa_16020518922 as mentioned in bspec 55893.
*/
iris_emit_reg(batch, GENX(CHICKEN_RASTER_2), reg) {
reg.DisableAnyMCTRresponsefix = false;
reg.DisableAnyMCTRresponsefixMask = true;
};
#endif
#if GFX_VERx10 >= 125
iris_emit_cmd(batch, GENX(3DSTATE_3D_MODE), p) {
if (devinfo->verx10 > 125 ||