diff options
author | Anuj Phogat <[email protected]> | 2019-03-26 15:46:24 -0700 |
---|---|---|
committer | Anuj Phogat <[email protected]> | 2019-03-28 19:59:59 +0000 |
commit | 9c421d6b47e0c5f206959acd68814b63232946be (patch) | |
tree | 7d10ddd3b61b6d77064e554a76acebc0a60a5e8d /src | |
parent | e0f4359ec12e8e8dcd96d658b8ef3e308ffe8859 (diff) |
iris/icl: Add WA_2204188704 to disable pixel shader panic dispatch
Signed-off-by: Anuj Phogat <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/iris/iris_state.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_state.c b/src/gallium/drivers/iris/iris_state.c index ddce0023dbe..8f93b733643 100644 --- a/src/gallium/drivers/iris/iris_state.c +++ b/src/gallium/drivers/iris/iris_state.c @@ -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), ®_val, reg) { + reg.PSThreadPanicDispatch = 0x3; + reg.PSThreadPanicDispatchMask = 0x3; + } + iris_emit_lri(batch, COMMON_SLICE_CHICKEN3, reg_val); + // XXX: 3D_MODE? #endif |