mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-21 23:06:29 +00:00
assembler/bdw: Thread Spawn message
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
This commit is contained in:
parent
01c9654a65
commit
bf003ea634
@ -199,6 +199,15 @@ F(dp_message_control, 109, 104)
|
||||
F(dp_binding_table_index, 103, 96)
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* Thread Spawn message function control bits:
|
||||
* @ {
|
||||
*/
|
||||
F(ts_resource_select, 100, 100)
|
||||
F(ts_request_type, 97, 97)
|
||||
F(ts_opcode, 96, 96)
|
||||
/** @} */
|
||||
|
||||
#undef F
|
||||
|
||||
/**
|
||||
|
@ -1749,21 +1749,29 @@ msgtarget: NULL_TOKEN
|
||||
| THREAD_SPAWNER LPAREN INTEGER COMMA INTEGER COMMA
|
||||
INTEGER RPAREN
|
||||
{
|
||||
GEN(&$$)->bits3.generic.msg_target =
|
||||
BRW_SFID_THREAD_SPAWNER;
|
||||
if (IS_GENp(5)) {
|
||||
GEN(&$$)->bits2.send_gen5.sfid =
|
||||
BRW_SFID_THREAD_SPAWNER;
|
||||
GEN(&$$)->bits3.generic_gen5.header_present = 0;
|
||||
GEN(&$$)->bits3.thread_spawner_gen5.opcode = $3;
|
||||
GEN(&$$)->bits3.thread_spawner_gen5.requester_type = $5;
|
||||
GEN(&$$)->bits3.thread_spawner_gen5.resource_select = $7;
|
||||
if (IS_GENp(8)) {
|
||||
gen8_set_sfid(GEN8(&$$), BRW_SFID_THREAD_SPAWNER);
|
||||
gen8_set_header_present(GEN8(&$$), 0); /* Must be 0 */
|
||||
gen8_set_ts_opcode(GEN8(&$$), $3);
|
||||
gen8_set_ts_request_type(GEN8(&$$), $5);
|
||||
gen8_set_ts_resource_select(GEN8(&$$), $7);
|
||||
} else {
|
||||
GEN(&$$)->bits3.generic.msg_target =
|
||||
BRW_SFID_THREAD_SPAWNER;
|
||||
GEN(&$$)->bits3.thread_spawner.opcode = $3;
|
||||
GEN(&$$)->bits3.thread_spawner.requester_type = $5;
|
||||
GEN(&$$)->bits3.thread_spawner.resource_select = $7;
|
||||
if (IS_GENp(5)) {
|
||||
GEN(&$$)->bits2.send_gen5.sfid =
|
||||
BRW_SFID_THREAD_SPAWNER;
|
||||
GEN(&$$)->bits3.generic_gen5.header_present = 0;
|
||||
GEN(&$$)->bits3.thread_spawner_gen5.opcode = $3;
|
||||
GEN(&$$)->bits3.thread_spawner_gen5.requester_type = $5;
|
||||
GEN(&$$)->bits3.thread_spawner_gen5.resource_select = $7;
|
||||
} else {
|
||||
GEN(&$$)->bits3.generic.msg_target =
|
||||
BRW_SFID_THREAD_SPAWNER;
|
||||
GEN(&$$)->bits3.thread_spawner.opcode = $3;
|
||||
GEN(&$$)->bits3.thread_spawner.requester_type = $5;
|
||||
GEN(&$$)->bits3.thread_spawner.resource_select = $7;
|
||||
}
|
||||
}
|
||||
}
|
||||
| VME LPAREN INTEGER COMMA INTEGER COMMA INTEGER COMMA INTEGER RPAREN
|
||||
|
Loading…
x
Reference in New Issue
Block a user