mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-18 12:20:35 +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>
(cherry picked from commit 331238e44e)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39828>
This commit is contained in:
parent
e1446659f8
commit
bb9fef071e
2 changed files with 12 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue