Commit bit in the message descriptor (Bit 13) must be always set
to true in CNL+ for memory fence messages. It also fixes a piglit
GPU hang on cnl+ in simulation environment.
Piglit test: arb_shader_image_load_store-shader-mem-barrier
See HSD ES #
1404612949
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
struct brw_reg dst)
{
const struct gen_device_info *devinfo = p->devinfo;
- const bool commit_enable = devinfo->gen == 7 && !devinfo->is_haswell;
+ const bool commit_enable =
+ devinfo->gen >= 10 || /* HSD ES # 1404612949 */
+ (devinfo->gen == 7 && !devinfo->is_haswell);
struct brw_inst *insn;
brw_push_insn_state(p);