summaryrefslogtreecommitdiffstats
path: root/src/intel/compiler/brw_eu_defines.h
diff options
context:
space:
mode:
authorFrancisco Jerez <[email protected]>2019-09-03 17:51:17 -0700
committerFrancisco Jerez <[email protected]>2019-10-11 12:24:16 -0700
commitc22db5e1885ffbc4eb658bb27d3638749d425b03 (patch)
treeb91157289a98a251839d05489bc6983164906a4f /src/intel/compiler/brw_eu_defines.h
parent0e57dbc55cd7f42a2298dbaa4e18fe97a85fd0d2 (diff)
intel/fs/gen12: Add codegen support for the SYNC instruction.
Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_eu_defines.h')
-rw-r--r--src/intel/compiler/brw_eu_defines.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/intel/compiler/brw_eu_defines.h b/src/intel/compiler/brw_eu_defines.h
index 7252e0cb4b1..21bf8a99923 100644
--- a/src/intel/compiler/brw_eu_defines.h
+++ b/src/intel/compiler/brw_eu_defines.h
@@ -1004,6 +1004,14 @@ enum PACKED brw_width {
BRW_WIDTH_16 = 4,
};
+enum tgl_sync_function {
+ TGL_SYNC_NOP = 0x0,
+ TGL_SYNC_ALLRD = 0x2,
+ TGL_SYNC_ALLWR = 0x3,
+ TGL_SYNC_BAR = 0xe,
+ TGL_SYNC_HOST = 0xf
+};
+
/**
* Message target: Shared Function ID for where to SEND a message.
*