intel/compiler: Memory fence commit must always be enabled for gen10+
authorAnuj Phogat <anuj.phogat@gmail.com>
Wed, 7 Feb 2018 01:09:09 +0000 (17:09 -0800)
committerFrancisco Jerez <currojerez@riseup.net>
Fri, 2 Mar 2018 19:45:21 +0000 (11:45 -0800)
commit56dc9f9f49638e0769d6bc696ff7f5dafccec9fc
tree7e450a001d85ccb166f97e2e12a9f7b41949eb9c
parent4b4838b1ae46a0ce9fed88f275cc01167302cf24
intel/compiler: Memory fence commit must always be enabled for gen10+

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>
src/intel/compiler/brw_eu_emit.c