These fields will be used when emitting a send for the barrier function.

Reference: IVB PRM Volume 4, Part 2, Section 1.1.1 Message Descriptor

Signed-off-by: Jordan Justen <jordan.l.jus...@intel.com>
Reviewed-by: Chris Forbes <chr...@ijw.co.nz>
---
 src/mesa/drivers/dri/i965/brw_inst.h | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_inst.h 
b/src/mesa/drivers/dri/i965/brw_inst.h
index 372aa2b..8701771 100644
--- a/src/mesa/drivers/dri/i965/brw_inst.h
+++ b/src/mesa/drivers/dri/i965/brw_inst.h
@@ -322,6 +322,9 @@ FJ(gen4_jump_count, 111,  96, brw->gen < 6)
 FC(gen4_pop_count,  115, 112, brw->gen < 6)
 /** @} */
 
+/* Message descriptor bits */
+#define MD(x) (x + 96)
+
 /**
  * Fields for SEND messages:
  *  @{
@@ -347,6 +350,12 @@ FF(header_present,
    /* 6:   */ 115, 115,
    /* 7:   */ 115, 115,
    /* 8:   */ 115, 115)
+FF(notify,
+   /* 4: doesn't exist */ -1, -1, -1, -1,
+   /* 5: doesn't exist */ -1, -1,
+   /* 6: doesn't exist */ -1, -1,
+   /* 7:   */ MD(16), MD(15),
+   /* 8:   */ MD(16), MD(15))
 FF(function_control,
    /* 4:   */ 111,  96,
    /* 4.5: */ 111,  96,
@@ -354,6 +363,12 @@ FF(function_control,
    /* 6:   */ 114,  96,
    /* 7:   */ 114,  96,
    /* 8:   */ 114,  96)
+FF(gateway_subfuncid,
+   /* 4: doesn't exist */  -1, -1, -1, -1,
+   /* 5: doesn't exist */  -1, -1,
+   /* 6: doesn't exist */  -1, -1,
+   /* 7:   */  MD(2),  MD(0),
+   /* 8:   */  MD(2),  MD(0))
 FF(sfid,
    /* 4:   */ 123, 120, /* called msg_target */
    /* 4.5  */ 123, 120,
@@ -364,9 +379,6 @@ FF(sfid,
 FC(base_mrf,   27,  24, brw->gen < 6);
 /** @} */
 
-/* Message descriptor bits */
-#define MD(x) (x + 96)
-
 /**
  * URB message function control bits:
  *  @{
-- 
2.1.4

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to