| 1 |
.. |
| 2 |
************************************************** |
| 3 |
* * |
| 4 |
* Automatically generated file, do not edit! * |
| 5 |
* * |
| 6 |
************************************************** |
| 7 |
|
| 8 |
.. _amdgpu_synid_gfx11_msg_b8ff6d: |
| 9 |
|
| 10 |
msg |
| 11 |
=== |
| 12 |
|
| 13 |
A 16-bit message code. The bits of this operand have the following meaning: |
| 14 |
|
| 15 |
============ =============================== =============== |
| 16 |
Bits Description Value Range |
| 17 |
============ =============================== =============== |
| 18 |
6:0 Message *type*. 0..127 |
| 19 |
7:7 Must be 1. 1 |
| 20 |
15:8 Unused. \- |
| 21 |
============ =============================== =============== |
| 22 |
|
| 23 |
This operand may be specified as one of the following: |
| 24 |
|
| 25 |
* 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. |
| 26 |
* A *sendmsg* value which is described below. |
| 27 |
|
| 28 |
==================================== ==================================================== |
| 29 |
Sendmsg Value Syntax Description |
| 30 |
==================================== ==================================================== |
| 31 |
sendmsg(MSG_RTN_GET_DOORBELL) Get doorbell ID. |
| 32 |
sendmsg(MSG_RTN_GET_DDID) Get Draw/Dispatch ID. |
| 33 |
sendmsg(MSG_RTN_GET_TMA) Get TMA value. |
| 34 |
sendmsg(MSG_RTN_GET_TBA) Get TBA value. |
| 35 |
sendmsg(MSG_RTN_GET_REALTIME) Get REALTIME value. |
| 36 |
sendmsg(MSG_RTN_SAVE_WAVE) Report that this wave is ready to be context-saved. |
| 37 |
==================================== ==================================================== |
| 38 |
|
| 39 |
Examples: |
| 40 |
|
| 41 |
.. parsed-literal:: |
| 42 |
|
| 43 |
s_sendmsg_rtn_b32 s0, 132 |
| 44 |
s_sendmsg_rtn_b32 s0, sendmsg(MSG_GET_REALTIME) |