iris: set DisableAnyMCTRresponsefix to zero on init

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>
(cherry picked from commit 331238e44e)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39828>
This commit is contained in:
Tapani Pälli 2026-02-05 10:12:37 +02:00 committed by Marge Bot
parent e1446659f8
commit bb9fef071e
2 changed files with 12 additions and 1 deletions

View file

@ -2594,7 +2594,7 @@
"description": "iris: set DisableAnyMCTRresponsefix to zero on init",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": null,
"notes": null

View file

@ -1424,6 +1424,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_VER >= 20
iris_emit_cmd(batch, GENX(3DSTATE_3D_MODE), p) {
p.DX10OGLBorderModeforYCRCB = true;