mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
i965/inst: Add gateway_notify and gateway_subfuncid fields
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 v2: * notify => gateway_notify (Ken) * define bits for gen4-gen6 (bwidawsk, Ken) Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Ben Widawsky <ben@bwidawsk.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
1b9cc257d4
commit
69659546a6
1 changed files with 11 additions and 3 deletions
|
|
@ -322,6 +322,9 @@ FJ(gen4_jump_count, 111, 96, devinfo->gen < 6)
|
|||
FC(gen4_pop_count, 115, 112, devinfo->gen < 6)
|
||||
/** @} */
|
||||
|
||||
/* Message descriptor bits */
|
||||
#define MD(x) ((x) + 96)
|
||||
|
||||
/**
|
||||
* Fields for SEND messages:
|
||||
* @{
|
||||
|
|
@ -347,6 +350,7 @@ FF(header_present,
|
|||
/* 6: */ 115, 115,
|
||||
/* 7: */ 115, 115,
|
||||
/* 8: */ 115, 115)
|
||||
F(gateway_notify, MD(16), MD(15))
|
||||
FF(function_control,
|
||||
/* 4: */ 111, 96,
|
||||
/* 4.5: */ 111, 96,
|
||||
|
|
@ -354,6 +358,13 @@ FF(function_control,
|
|||
/* 6: */ 114, 96,
|
||||
/* 7: */ 114, 96,
|
||||
/* 8: */ 114, 96)
|
||||
FF(gateway_subfuncid,
|
||||
/* 4: */ MD(1), MD(0),
|
||||
/* 4.5: */ MD(1), MD(0),
|
||||
/* 5: */ MD(1), MD(0), /* 2:0, but bit 2 is reserved MBZ */
|
||||
/* 6: */ MD(2), MD(0),
|
||||
/* 7: */ MD(2), MD(0),
|
||||
/* 8: */ MD(2), MD(0))
|
||||
FF(sfid,
|
||||
/* 4: */ 123, 120, /* called msg_target */
|
||||
/* 4.5 */ 123, 120,
|
||||
|
|
@ -364,9 +375,6 @@ FF(sfid,
|
|||
FC(base_mrf, 27, 24, devinfo->gen < 6);
|
||||
/** @} */
|
||||
|
||||
/* Message descriptor bits */
|
||||
#define MD(x) (x + 96)
|
||||
|
||||
/**
|
||||
* URB message function control bits:
|
||||
* @{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue