2 **************************************************
4 * Automatically generated file, do not edit! *
6 **************************************************
8 .. _amdgpu_synid_gfx11_msg_e37f7b:
13 A 16-bit message code. The bits of this operand have the following meaning:
15 ============ =============================== ===============
16 Bits Description Value Range
17 ============ =============================== ===============
18 3:0 Message *type*. 0..15
19 6:4 Optional *operation*. 0..7
21 9:8 Optional *stream*. 0..3
23 ============ =============================== ===============
25 This operand may be specified as one of the following:
27 * An :ref:`integer_number<amdgpu_synid_integer_number>` or an :ref:`absolute_expression<amdgpu_synid_absolute_expression>`. The value must be in the range from 0 to 0xFFFF.
28 * A *sendmsg* value which is described below.
30 ==================================== ====================================================
31 Sendmsg Value Syntax Description
32 ==================================== ====================================================
33 sendmsg(<*type*>) A message identified by its *type*.
34 sendmsg(<*type*>,<*op*>) A message identified by its *type* and *operation*.
35 sendmsg(<*type*>,<*op*>,<*stream*>) A message identified by its *type* and *operation*
37 ==================================== ====================================================
39 *Type* may be specified using message *name* or message *id*.
41 *Op* may be specified using operation *name* or operation *id*.
43 Stream *id* is an integer in the range from 0 to 3.
45 Numeric values may be specified as positive :ref:`integer numbers<amdgpu_synid_integer_number>`
46 or :ref:`absolute expressions<amdgpu_synid_absolute_expression>`.
48 Each message type supports specific operations:
50 ====================== ========== ============================== ============ ==========
51 Message name Message Id Supported Operations Operation Id Stream Id
52 ====================== ========== ============================== ============ ==========
53 MSG_INTERRUPT 1 \- \- \-
54 MSG_HS_TESSFACTOR 2 \- \- \-
55 MSG_DEALLOC_VGPRS 3 \- \- \-
56 MSG_STALL_WAVE_GEN 5 \- \- \-
57 MSG_HALT_WAVES 6 \- \- \-
58 MSG_GS_ALLOC_REQ 9 \- \- \-
59 MSG_SYSMSG 15 SYSMSG_OP_ECC_ERR_INTERRUPT 1 \-
60 \ SYSMSG_OP_REG_RD 2 \-
61 \ SYSMSG_OP_TTRACE_PC 4 \-
62 ====================== ========== ============================== ============ ==========
64 *Sendmsg* arguments are validated depending on how *type* value is specified:
66 * If message *type* is specified by name, arguments values must satisfy limitations detailed in the table above.
67 * If message *type* is specified as a number, each argument must not exceed the corresponding value range (see the first table).
73 // numeric message code
78 // sendmsg with strict arguments validation
79 s_sendmsg sendmsg(MSG_INTERRUPT)
80 s_sendmsg sendmsg(MSG_SYSMSG, SYSMSG_OP_TTRACE_PC)
82 // sendmsg with validation of value range only
85 s_sendmsg sendmsg(msg, op)