31 lines · plain
1.. _amdgpu_synid_sendmsg_rtn:2 3sendmsg_rtn4===========5 6An 8-bit value in the instruction to encode the message type.7 8This operand may be specified as one of the following:9 10 * An :ref:`integer_number<amdgpu_synid_integer_number>` or an :ref:`absolute_expression<amdgpu_synid_absolute_expression>`. The value must be in the range 0..0xFFFF.11 * A *sendmsg* value described below.12 13 ==================================== ====================================================14 Sendmsg Value Syntax Description15 ==================================== ====================================================16 sendmsg(MSG_RTN_GET_DOORBELL) Get doorbell ID.17 sendmsg(MSG_RTN_GET_DDID) Get Draw/Dispatch ID.18 sendmsg(MSG_RTN_GET_TMA) Get TMA value.19 sendmsg(MSG_RTN_GET_TBA) Get TBA value.20 sendmsg(MSG_RTN_GET_REALTIME) Get REALTIME value.21 sendmsg(MSG_RTN_SAVE_WAVE) Report that this wave is ready to be context-saved.22 ==================================== ====================================================23 24Examples:25 26.. parsed-literal::27 28 s_sendmsg_rtn_b32 s0, 13229 s_sendmsg_rtn_b32 s0, sendmsg(MSG_GET_REALTIME)30 31