0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027 #ifndef PM4_MES_MAP_PROCESS_PER_DEBUG_VMID_DEFINED
0028 #define PM4_MES_MAP_PROCESS_PER_DEBUG_VMID_DEFINED
0029
0030 struct pm4_mes_map_process_aldebaran {
0031 union {
0032 union PM4_MES_TYPE_3_HEADER header;
0033 uint32_t ordinal1;
0034 };
0035
0036 union {
0037 struct {
0038 uint32_t pasid:16;
0039 uint32_t single_memops:1;
0040 uint32_t reserved1:1;
0041 uint32_t debug_vmid:4;
0042 uint32_t new_debug:1;
0043 uint32_t tmz:1;
0044 uint32_t diq_enable:1;
0045 uint32_t process_quantum:7;
0046 } bitfields2;
0047 uint32_t ordinal2;
0048 };
0049
0050 uint32_t vm_context_page_table_base_addr_lo32;
0051
0052 uint32_t vm_context_page_table_base_addr_hi32;
0053
0054 uint32_t sh_mem_bases;
0055
0056 uint32_t sh_mem_config;
0057
0058 uint32_t sq_shader_tba_lo;
0059
0060 uint32_t sq_shader_tba_hi;
0061
0062 uint32_t sq_shader_tma_lo;
0063
0064 uint32_t sq_shader_tma_hi;
0065
0066 uint32_t reserved6;
0067
0068 uint32_t gds_addr_lo;
0069
0070 uint32_t gds_addr_hi;
0071
0072 union {
0073 struct {
0074 uint32_t num_gws:7;
0075 uint32_t sdma_enable:1;
0076 uint32_t num_oac:4;
0077 uint32_t gds_size_hi:4;
0078 uint32_t gds_size:6;
0079 uint32_t num_queues:10;
0080 } bitfields14;
0081 uint32_t ordinal14;
0082 };
0083
0084 uint32_t spi_gdbg_per_vmid_cntl;
0085
0086 uint32_t tcp_watch_cntl[4];
0087
0088 uint32_t completion_signal_lo;
0089
0090 uint32_t completion_signal_hi;
0091
0092 };
0093
0094 #endif