iris/icl: Add WA_2204188704 to disable pixel shader panic dispatch

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Anuj Phogat 2019-03-26 15:46:24 -07:00
parent e0f4359ec1
commit 9c421d6b47
1 changed files with 7 additions and 0 deletions

View File

@ -714,6 +714,13 @@ iris_init_render_context(struct iris_screen *screen,
}
iris_emit_lri(batch, HALF_SLICE_CHICKEN7, reg_val);
/* WA_2204188704: Pixel Shader Panic dispatch must be disabled. */
iris_pack_state(GENX(COMMON_SLICE_CHICKEN3), &reg_val, reg) {
reg.PSThreadPanicDispatch = 0x3;
reg.PSThreadPanicDispatchMask = 0x3;
}
iris_emit_lri(batch, COMMON_SLICE_CHICKEN3, reg_val);
// XXX: 3D_MODE?
#endif