Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Acked-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
# define GLK_SCEC_BARRIER_MODE_3D_HULL (1 << 7)
# define GLK_SCEC_BARRIER_MODE_MASK REG_MASK(1 << 7)
+#define COMMON_SLICE_CHICKEN3 0x7304
+# define PS_THREAD_PANIC_DISPATCH (3 << 6)
+# define PS_THREAD_PANIC_DISPATCH_MASK REG_MASK(3 << 6)
+
#define HALF_SLICE_CHICKEN7 0xE194
# define TEXEL_OFFSET_FIX_ENABLE (1 << 1)
# define TEXEL_OFFSET_FIX_MASK REG_MASK(1 << 1)
*/
brw_load_register_imm32(brw, GEN8_L3CNTLREG,
GEN8_L3CNTLREG_EDBC_NO_HANG);
+
+ /* WA_2204188704: Pixel Shader Panic dispatch must be disabled.
+ */
+ brw_load_register_imm32(brw, COMMON_SLICE_CHICKEN3,
+ PS_THREAD_PANIC_DISPATCH_MASK |
+ PS_THREAD_PANIC_DISPATCH);
}
if (devinfo->gen == 10 || devinfo->gen == 11) {