projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0f4359
)
iris/icl: Add WA_2204188704 to disable pixel shader panic dispatch
author
Anuj Phogat
<anuj.phogat@gmail.com>
Tue, 26 Mar 2019 22:46:24 +0000
(15:46 -0700)
committer
Anuj Phogat
<anuj.phogat@gmail.com>
Thu, 28 Mar 2019 19:59:59 +0000
(19:59 +0000)
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/gallium/drivers/iris/iris_state.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/iris/iris_state.c
b/src/gallium/drivers/iris/iris_state.c
index ddce0023dbe171fa0cc76539b8c006d63682f262..8f93b7336438e8aff71247a80d3bafdb9e29061c 100644
(file)
--- 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