mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-12 04:40:42 +01:00
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> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39712>
This commit is contained in:
parent
9aaed82543
commit
331238e44e
1 changed files with 11 additions and 0 deletions
|
|
@ -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 ||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue