xref: /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/include/v10_structs.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /*
2*4882a593Smuzhiyun  * Copyright 2019 Advanced Micro Devices, Inc.
3*4882a593Smuzhiyun  *
4*4882a593Smuzhiyun  * Permission is hereby granted, free of charge, to any person obtaining a
5*4882a593Smuzhiyun  * copy of this software and associated documentation files (the "Software"),
6*4882a593Smuzhiyun  * to deal in the Software without restriction, including without limitation
7*4882a593Smuzhiyun  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8*4882a593Smuzhiyun  * and/or sell copies of the Software, and to permit persons to whom the
9*4882a593Smuzhiyun  * Software is furnished to do so, subject to the following conditions:
10*4882a593Smuzhiyun  *
11*4882a593Smuzhiyun  * The above copyright notice and this permission notice shall be included in
12*4882a593Smuzhiyun  * all copies or substantial portions of the Software.
13*4882a593Smuzhiyun  *
14*4882a593Smuzhiyun  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15*4882a593Smuzhiyun  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16*4882a593Smuzhiyun  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
17*4882a593Smuzhiyun  * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
18*4882a593Smuzhiyun  * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
19*4882a593Smuzhiyun  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20*4882a593Smuzhiyun  * OTHER DEALINGS IN THE SOFTWARE.
21*4882a593Smuzhiyun  *
22*4882a593Smuzhiyun  */
23*4882a593Smuzhiyun 
24*4882a593Smuzhiyun #ifndef V10_STRUCTS_H_
25*4882a593Smuzhiyun #define V10_STRUCTS_H_
26*4882a593Smuzhiyun 
27*4882a593Smuzhiyun struct v10_gfx_mqd
28*4882a593Smuzhiyun {
29*4882a593Smuzhiyun 	uint32_t reserved_0; // offset: 0  (0x0)
30*4882a593Smuzhiyun 	uint32_t reserved_1; // offset: 1  (0x1)
31*4882a593Smuzhiyun 	uint32_t reserved_2; // offset: 2  (0x2)
32*4882a593Smuzhiyun 	uint32_t reserved_3; // offset: 3  (0x3)
33*4882a593Smuzhiyun 	uint32_t reserved_4; // offset: 4  (0x4)
34*4882a593Smuzhiyun 	uint32_t reserved_5; // offset: 5  (0x5)
35*4882a593Smuzhiyun 	uint32_t reserved_6; // offset: 6  (0x6)
36*4882a593Smuzhiyun 	uint32_t reserved_7; // offset: 7  (0x7)
37*4882a593Smuzhiyun 	uint32_t reserved_8; // offset: 8  (0x8)
38*4882a593Smuzhiyun 	uint32_t reserved_9; // offset: 9  (0x9)
39*4882a593Smuzhiyun 	uint32_t reserved_10; // offset: 10  (0xA)
40*4882a593Smuzhiyun 	uint32_t reserved_11; // offset: 11  (0xB)
41*4882a593Smuzhiyun 	uint32_t reserved_12; // offset: 12  (0xC)
42*4882a593Smuzhiyun 	uint32_t reserved_13; // offset: 13  (0xD)
43*4882a593Smuzhiyun 	uint32_t reserved_14; // offset: 14  (0xE)
44*4882a593Smuzhiyun 	uint32_t reserved_15; // offset: 15  (0xF)
45*4882a593Smuzhiyun 	uint32_t reserved_16; // offset: 16  (0x10)
46*4882a593Smuzhiyun 	uint32_t reserved_17; // offset: 17  (0x11)
47*4882a593Smuzhiyun 	uint32_t reserved_18; // offset: 18  (0x12)
48*4882a593Smuzhiyun 	uint32_t reserved_19; // offset: 19  (0x13)
49*4882a593Smuzhiyun 	uint32_t reserved_20; // offset: 20  (0x14)
50*4882a593Smuzhiyun 	uint32_t reserved_21; // offset: 21  (0x15)
51*4882a593Smuzhiyun 	uint32_t reserved_22; // offset: 22  (0x16)
52*4882a593Smuzhiyun 	uint32_t reserved_23; // offset: 23  (0x17)
53*4882a593Smuzhiyun 	uint32_t reserved_24; // offset: 24  (0x18)
54*4882a593Smuzhiyun 	uint32_t reserved_25; // offset: 25  (0x19)
55*4882a593Smuzhiyun 	uint32_t reserved_26; // offset: 26  (0x1A)
56*4882a593Smuzhiyun 	uint32_t reserved_27; // offset: 27  (0x1B)
57*4882a593Smuzhiyun 	uint32_t reserved_28; // offset: 28  (0x1C)
58*4882a593Smuzhiyun 	uint32_t reserved_29; // offset: 29  (0x1D)
59*4882a593Smuzhiyun 	uint32_t reserved_30; // offset: 30  (0x1E)
60*4882a593Smuzhiyun 	uint32_t reserved_31; // offset: 31  (0x1F)
61*4882a593Smuzhiyun 	uint32_t reserved_32; // offset: 32  (0x20)
62*4882a593Smuzhiyun 	uint32_t reserved_33; // offset: 33  (0x21)
63*4882a593Smuzhiyun 	uint32_t reserved_34; // offset: 34  (0x22)
64*4882a593Smuzhiyun 	uint32_t reserved_35; // offset: 35  (0x23)
65*4882a593Smuzhiyun 	uint32_t reserved_36; // offset: 36  (0x24)
66*4882a593Smuzhiyun 	uint32_t reserved_37; // offset: 37  (0x25)
67*4882a593Smuzhiyun 	uint32_t reserved_38; // offset: 38  (0x26)
68*4882a593Smuzhiyun 	uint32_t reserved_39; // offset: 39  (0x27)
69*4882a593Smuzhiyun 	uint32_t reserved_40; // offset: 40  (0x28)
70*4882a593Smuzhiyun 	uint32_t reserved_41; // offset: 41  (0x29)
71*4882a593Smuzhiyun 	uint32_t reserved_42; // offset: 42  (0x2A)
72*4882a593Smuzhiyun 	uint32_t reserved_43; // offset: 43  (0x2B)
73*4882a593Smuzhiyun 	uint32_t reserved_44; // offset: 44  (0x2C)
74*4882a593Smuzhiyun 	uint32_t reserved_45; // offset: 45  (0x2D)
75*4882a593Smuzhiyun 	uint32_t reserved_46; // offset: 46  (0x2E)
76*4882a593Smuzhiyun 	uint32_t reserved_47; // offset: 47  (0x2F)
77*4882a593Smuzhiyun 	uint32_t reserved_48; // offset: 48  (0x30)
78*4882a593Smuzhiyun 	uint32_t reserved_49; // offset: 49  (0x31)
79*4882a593Smuzhiyun 	uint32_t reserved_50; // offset: 50  (0x32)
80*4882a593Smuzhiyun 	uint32_t reserved_51; // offset: 51  (0x33)
81*4882a593Smuzhiyun 	uint32_t reserved_52; // offset: 52  (0x34)
82*4882a593Smuzhiyun 	uint32_t reserved_53; // offset: 53  (0x35)
83*4882a593Smuzhiyun 	uint32_t reserved_54; // offset: 54  (0x36)
84*4882a593Smuzhiyun 	uint32_t reserved_55; // offset: 55  (0x37)
85*4882a593Smuzhiyun 	uint32_t reserved_56; // offset: 56  (0x38)
86*4882a593Smuzhiyun 	uint32_t reserved_57; // offset: 57  (0x39)
87*4882a593Smuzhiyun 	uint32_t reserved_58; // offset: 58  (0x3A)
88*4882a593Smuzhiyun 	uint32_t reserved_59; // offset: 59  (0x3B)
89*4882a593Smuzhiyun 	uint32_t reserved_60; // offset: 60  (0x3C)
90*4882a593Smuzhiyun 	uint32_t reserved_61; // offset: 61  (0x3D)
91*4882a593Smuzhiyun 	uint32_t reserved_62; // offset: 62  (0x3E)
92*4882a593Smuzhiyun 	uint32_t reserved_63; // offset: 63  (0x3F)
93*4882a593Smuzhiyun 	uint32_t reserved_64; // offset: 64  (0x40)
94*4882a593Smuzhiyun 	uint32_t reserved_65; // offset: 65  (0x41)
95*4882a593Smuzhiyun 	uint32_t reserved_66; // offset: 66  (0x42)
96*4882a593Smuzhiyun 	uint32_t reserved_67; // offset: 67  (0x43)
97*4882a593Smuzhiyun 	uint32_t reserved_68; // offset: 68  (0x44)
98*4882a593Smuzhiyun 	uint32_t reserved_69; // offset: 69  (0x45)
99*4882a593Smuzhiyun 	uint32_t reserved_70; // offset: 70  (0x46)
100*4882a593Smuzhiyun 	uint32_t reserved_71; // offset: 71  (0x47)
101*4882a593Smuzhiyun 	uint32_t reserved_72; // offset: 72  (0x48)
102*4882a593Smuzhiyun 	uint32_t reserved_73; // offset: 73  (0x49)
103*4882a593Smuzhiyun 	uint32_t reserved_74; // offset: 74  (0x4A)
104*4882a593Smuzhiyun 	uint32_t reserved_75; // offset: 75  (0x4B)
105*4882a593Smuzhiyun 	uint32_t reserved_76; // offset: 76  (0x4C)
106*4882a593Smuzhiyun 	uint32_t reserved_77; // offset: 77  (0x4D)
107*4882a593Smuzhiyun 	uint32_t reserved_78; // offset: 78  (0x4E)
108*4882a593Smuzhiyun 	uint32_t reserved_79; // offset: 79  (0x4F)
109*4882a593Smuzhiyun 	uint32_t reserved_80; // offset: 80  (0x50)
110*4882a593Smuzhiyun 	uint32_t reserved_81; // offset: 81  (0x51)
111*4882a593Smuzhiyun 	uint32_t reserved_82; // offset: 82  (0x52)
112*4882a593Smuzhiyun 	uint32_t reserved_83; // offset: 83  (0x53)
113*4882a593Smuzhiyun 	uint32_t reserved_84; // offset: 84  (0x54)
114*4882a593Smuzhiyun 	uint32_t reserved_85; // offset: 85  (0x55)
115*4882a593Smuzhiyun 	uint32_t reserved_86; // offset: 86  (0x56)
116*4882a593Smuzhiyun 	uint32_t reserved_87; // offset: 87  (0x57)
117*4882a593Smuzhiyun 	uint32_t reserved_88; // offset: 88  (0x58)
118*4882a593Smuzhiyun 	uint32_t reserved_89; // offset: 89  (0x59)
119*4882a593Smuzhiyun 	uint32_t reserved_90; // offset: 90  (0x5A)
120*4882a593Smuzhiyun 	uint32_t reserved_91; // offset: 91  (0x5B)
121*4882a593Smuzhiyun 	uint32_t reserved_92; // offset: 92  (0x5C)
122*4882a593Smuzhiyun 	uint32_t reserved_93; // offset: 93  (0x5D)
123*4882a593Smuzhiyun 	uint32_t reserved_94; // offset: 94  (0x5E)
124*4882a593Smuzhiyun 	uint32_t reserved_95; // offset: 95  (0x5F)
125*4882a593Smuzhiyun 	uint32_t reserved_96; // offset: 96  (0x60)
126*4882a593Smuzhiyun 	uint32_t reserved_97; // offset: 97  (0x61)
127*4882a593Smuzhiyun 	uint32_t reserved_98; // offset: 98  (0x62)
128*4882a593Smuzhiyun 	uint32_t reserved_99; // offset: 99  (0x63)
129*4882a593Smuzhiyun 	uint32_t reserved_100; // offset: 100  (0x64)
130*4882a593Smuzhiyun 	uint32_t reserved_101; // offset: 101  (0x65)
131*4882a593Smuzhiyun 	uint32_t reserved_102; // offset: 102  (0x66)
132*4882a593Smuzhiyun 	uint32_t reserved_103; // offset: 103  (0x67)
133*4882a593Smuzhiyun 	uint32_t reserved_104; // offset: 104  (0x68)
134*4882a593Smuzhiyun 	uint32_t reserved_105; // offset: 105  (0x69)
135*4882a593Smuzhiyun 	uint32_t disable_queue; // offset: 106  (0x6A)
136*4882a593Smuzhiyun 	uint32_t reserved_107; // offset: 107  (0x6B)
137*4882a593Smuzhiyun 	uint32_t reserved_108; // offset: 108  (0x6C)
138*4882a593Smuzhiyun 	uint32_t reserved_109; // offset: 109  (0x6D)
139*4882a593Smuzhiyun 	uint32_t reserved_110; // offset: 110  (0x6E)
140*4882a593Smuzhiyun 	uint32_t reserved_111; // offset: 111  (0x6F)
141*4882a593Smuzhiyun 	uint32_t reserved_112; // offset: 112  (0x70)
142*4882a593Smuzhiyun 	uint32_t reserved_113; // offset: 113  (0x71)
143*4882a593Smuzhiyun 	uint32_t reserved_114; // offset: 114  (0x72)
144*4882a593Smuzhiyun 	uint32_t reserved_115; // offset: 115  (0x73)
145*4882a593Smuzhiyun 	uint32_t reserved_116; // offset: 116  (0x74)
146*4882a593Smuzhiyun 	uint32_t reserved_117; // offset: 117  (0x75)
147*4882a593Smuzhiyun 	uint32_t reserved_118; // offset: 118  (0x76)
148*4882a593Smuzhiyun 	uint32_t reserved_119; // offset: 119  (0x77)
149*4882a593Smuzhiyun 	uint32_t reserved_120; // offset: 120  (0x78)
150*4882a593Smuzhiyun 	uint32_t reserved_121; // offset: 121  (0x79)
151*4882a593Smuzhiyun 	uint32_t reserved_122; // offset: 122  (0x7A)
152*4882a593Smuzhiyun 	uint32_t reserved_123; // offset: 123  (0x7B)
153*4882a593Smuzhiyun 	uint32_t reserved_124; // offset: 124  (0x7C)
154*4882a593Smuzhiyun 	uint32_t reserved_125; // offset: 125  (0x7D)
155*4882a593Smuzhiyun 	uint32_t reserved_126; // offset: 126  (0x7E)
156*4882a593Smuzhiyun 	uint32_t reserved_127; // offset: 127  (0x7F)
157*4882a593Smuzhiyun 	uint32_t cp_mqd_base_addr; // offset: 128  (0x80)
158*4882a593Smuzhiyun 	uint32_t cp_mqd_base_addr_hi; // offset: 129  (0x81)
159*4882a593Smuzhiyun 	uint32_t cp_gfx_hqd_active; // offset: 130  (0x82)
160*4882a593Smuzhiyun 	uint32_t cp_gfx_hqd_vmid; // offset: 131  (0x83)
161*4882a593Smuzhiyun 	uint32_t reserved_131; // offset: 132  (0x84)
162*4882a593Smuzhiyun 	uint32_t reserved_132; // offset: 133  (0x85)
163*4882a593Smuzhiyun 	uint32_t cp_gfx_hqd_queue_priority; // offset: 134  (0x86)
164*4882a593Smuzhiyun 	uint32_t cp_gfx_hqd_quantum; // offset: 135  (0x87)
165*4882a593Smuzhiyun 	uint32_t cp_gfx_hqd_base; // offset: 136  (0x88)
166*4882a593Smuzhiyun 	uint32_t cp_gfx_hqd_base_hi; // offset: 137  (0x89)
167*4882a593Smuzhiyun 	uint32_t cp_gfx_hqd_rptr; // offset: 138  (0x8A)
168*4882a593Smuzhiyun 	uint32_t cp_gfx_hqd_rptr_addr; // offset: 139  (0x8B)
169*4882a593Smuzhiyun 	uint32_t cp_gfx_hqd_rptr_addr_hi; // offset: 140  (0x8C)
170*4882a593Smuzhiyun 	uint32_t cp_rb_wptr_poll_addr_lo; // offset: 141  (0x8D)
171*4882a593Smuzhiyun 	uint32_t cp_rb_wptr_poll_addr_hi; // offset: 142  (0x8E)
172*4882a593Smuzhiyun 	uint32_t cp_rb_doorbell_control; // offset: 143  (0x8F)
173*4882a593Smuzhiyun 	uint32_t cp_gfx_hqd_offset; // offset: 144  (0x90)
174*4882a593Smuzhiyun 	uint32_t cp_gfx_hqd_cntl; // offset: 145  (0x91)
175*4882a593Smuzhiyun 	uint32_t reserved_146; // offset: 146  (0x92)
176*4882a593Smuzhiyun 	uint32_t reserved_147; // offset: 147  (0x93)
177*4882a593Smuzhiyun 	uint32_t cp_gfx_hqd_csmd_rptr; // offset: 148  (0x94)
178*4882a593Smuzhiyun 	uint32_t cp_gfx_hqd_wptr; // offset: 149  (0x95)
179*4882a593Smuzhiyun 	uint32_t cp_gfx_hqd_wptr_hi; // offset: 150  (0x96)
180*4882a593Smuzhiyun 	uint32_t reserved_151; // offset: 151  (0x97)
181*4882a593Smuzhiyun 	uint32_t reserved_152; // offset: 152  (0x98)
182*4882a593Smuzhiyun 	uint32_t reserved_153; // offset: 153  (0x99)
183*4882a593Smuzhiyun 	uint32_t reserved_154; // offset: 154  (0x9A)
184*4882a593Smuzhiyun 	uint32_t reserved_155; // offset: 155  (0x9B)
185*4882a593Smuzhiyun 	uint32_t cp_gfx_hqd_mapped; // offset: 156  (0x9C)
186*4882a593Smuzhiyun 	uint32_t cp_gfx_hqd_que_mgr_control; // offset: 157  (0x9D)
187*4882a593Smuzhiyun 	uint32_t reserved_158; // offset: 158  (0x9E)
188*4882a593Smuzhiyun 	uint32_t reserved_159; // offset: 159  (0x9F)
189*4882a593Smuzhiyun 	uint32_t cp_gfx_hqd_hq_status0; // offset: 160  (0xA0)
190*4882a593Smuzhiyun 	uint32_t cp_gfx_hqd_hq_control0; // offset: 161  (0xA1)
191*4882a593Smuzhiyun 	uint32_t cp_gfx_mqd_control; // offset: 162  (0xA2)
192*4882a593Smuzhiyun 	uint32_t reserved_163; // offset: 163  (0xA3)
193*4882a593Smuzhiyun 	uint32_t reserved_164; // offset: 164  (0xA4)
194*4882a593Smuzhiyun 	uint32_t reserved_165; // offset: 165  (0xA5)
195*4882a593Smuzhiyun 	uint32_t reserved_166; // offset: 166  (0xA6)
196*4882a593Smuzhiyun 	uint32_t reserved_167; // offset: 167  (0xA7)
197*4882a593Smuzhiyun 	uint32_t reserved_168; // offset: 168  (0xA8)
198*4882a593Smuzhiyun 	uint32_t reserved_169; // offset: 169  (0xA9)
199*4882a593Smuzhiyun 	uint32_t cp_num_prim_needed_count0_lo; // offset: 170  (0xAA)
200*4882a593Smuzhiyun 	uint32_t cp_num_prim_needed_count0_hi; // offset: 171  (0xAB)
201*4882a593Smuzhiyun 	uint32_t cp_num_prim_needed_count1_lo; // offset: 172  (0xAC)
202*4882a593Smuzhiyun 	uint32_t cp_num_prim_needed_count1_hi; // offset: 173  (0xAD)
203*4882a593Smuzhiyun 	uint32_t cp_num_prim_needed_count2_lo; // offset: 174  (0xAE)
204*4882a593Smuzhiyun 	uint32_t cp_num_prim_needed_count2_hi; // offset: 175  (0xAF)
205*4882a593Smuzhiyun 	uint32_t cp_num_prim_needed_count3_lo; // offset: 176  (0xB0)
206*4882a593Smuzhiyun 	uint32_t cp_num_prim_needed_count3_hi; // offset: 177  (0xB1)
207*4882a593Smuzhiyun 	uint32_t cp_num_prim_written_count0_lo; // offset: 178  (0xB2)
208*4882a593Smuzhiyun 	uint32_t cp_num_prim_written_count0_hi; // offset: 179  (0xB3)
209*4882a593Smuzhiyun 	uint32_t cp_num_prim_written_count1_lo; // offset: 180  (0xB4)
210*4882a593Smuzhiyun 	uint32_t cp_num_prim_written_count1_hi; // offset: 181  (0xB5)
211*4882a593Smuzhiyun 	uint32_t cp_num_prim_written_count2_lo; // offset: 182  (0xB6)
212*4882a593Smuzhiyun 	uint32_t cp_num_prim_written_count2_hi; // offset: 183  (0xB7)
213*4882a593Smuzhiyun 	uint32_t cp_num_prim_written_count3_lo; // offset: 184  (0xB8)
214*4882a593Smuzhiyun 	uint32_t cp_num_prim_written_count3_hi; // offset: 185  (0xB9)
215*4882a593Smuzhiyun 	uint32_t reserved_186; // offset: 186  (0xBA)
216*4882a593Smuzhiyun 	uint32_t reserved_187; // offset: 187  (0xBB)
217*4882a593Smuzhiyun 	uint32_t reserved_188; // offset: 188  (0xBC)
218*4882a593Smuzhiyun 	uint32_t reserved_189; // offset: 189  (0xBD)
219*4882a593Smuzhiyun 	uint32_t mp1_smn_fps_cnt; // offset: 190  (0xBE)
220*4882a593Smuzhiyun 	uint32_t sq_thread_trace_buf0_base; // offset: 191  (0xBF)
221*4882a593Smuzhiyun 	uint32_t sq_thread_trace_buf0_size; // offset: 192  (0xC0)
222*4882a593Smuzhiyun 	uint32_t sq_thread_trace_buf1_base; // offset: 193  (0xC1)
223*4882a593Smuzhiyun 	uint32_t sq_thread_trace_buf1_size; // offset: 194  (0xC2)
224*4882a593Smuzhiyun 	uint32_t sq_thread_trace_wptr; // offset: 195  (0xC3)
225*4882a593Smuzhiyun 	uint32_t sq_thread_trace_mask; // offset: 196  (0xC4)
226*4882a593Smuzhiyun 	uint32_t sq_thread_trace_token_mask; // offset: 197  (0xC5)
227*4882a593Smuzhiyun 	uint32_t sq_thread_trace_ctrl; // offset: 198  (0xC6)
228*4882a593Smuzhiyun 	uint32_t sq_thread_trace_status; // offset: 199  (0xC7)
229*4882a593Smuzhiyun 	uint32_t sq_thread_trace_dropped_cntr; // offset: 200  (0xC8)
230*4882a593Smuzhiyun 	uint32_t sq_thread_trace_finish_done_debug; // offset: 201  (0xC9)
231*4882a593Smuzhiyun 	uint32_t sq_thread_trace_gfx_draw_cntr; // offset: 202  (0xCA)
232*4882a593Smuzhiyun 	uint32_t sq_thread_trace_gfx_marker_cntr; // offset: 203  (0xCB)
233*4882a593Smuzhiyun 	uint32_t sq_thread_trace_hp3d_draw_cntr; // offset: 204  (0xCC)
234*4882a593Smuzhiyun 	uint32_t sq_thread_trace_hp3d_marker_cntr; // offset: 205  (0xCD)
235*4882a593Smuzhiyun 	uint32_t reserved_206; // offset: 206  (0xCE)
236*4882a593Smuzhiyun 	uint32_t reserved_207; // offset: 207  (0xCF)
237*4882a593Smuzhiyun 	uint32_t cp_sc_psinvoc_count0_lo; // offset: 208  (0xD0)
238*4882a593Smuzhiyun 	uint32_t cp_sc_psinvoc_count0_hi; // offset: 209  (0xD1)
239*4882a593Smuzhiyun 	uint32_t cp_pa_cprim_count_lo; // offset: 210  (0xD2)
240*4882a593Smuzhiyun 	uint32_t cp_pa_cprim_count_hi; // offset: 211  (0xD3)
241*4882a593Smuzhiyun 	uint32_t cp_pa_cinvoc_count_lo; // offset: 212  (0xD4)
242*4882a593Smuzhiyun 	uint32_t cp_pa_cinvoc_count_hi; // offset: 213  (0xD5)
243*4882a593Smuzhiyun 	uint32_t cp_vgt_vsinvoc_count_lo; // offset: 214  (0xD6)
244*4882a593Smuzhiyun 	uint32_t cp_vgt_vsinvoc_count_hi; // offset: 215  (0xD7)
245*4882a593Smuzhiyun 	uint32_t cp_vgt_gsinvoc_count_lo; // offset: 216  (0xD8)
246*4882a593Smuzhiyun 	uint32_t cp_vgt_gsinvoc_count_hi; // offset: 217  (0xD9)
247*4882a593Smuzhiyun 	uint32_t cp_vgt_gsprim_count_lo; // offset: 218  (0xDA)
248*4882a593Smuzhiyun 	uint32_t cp_vgt_gsprim_count_hi; // offset: 219  (0xDB)
249*4882a593Smuzhiyun 	uint32_t cp_vgt_iaprim_count_lo; // offset: 220  (0xDC)
250*4882a593Smuzhiyun 	uint32_t cp_vgt_iaprim_count_hi; // offset: 221  (0xDD)
251*4882a593Smuzhiyun 	uint32_t cp_vgt_iavert_count_lo; // offset: 222  (0xDE)
252*4882a593Smuzhiyun 	uint32_t cp_vgt_iavert_count_hi; // offset: 223  (0xDF)
253*4882a593Smuzhiyun 	uint32_t cp_vgt_hsinvoc_count_lo; // offset: 224  (0xE0)
254*4882a593Smuzhiyun 	uint32_t cp_vgt_hsinvoc_count_hi; // offset: 225  (0xE1)
255*4882a593Smuzhiyun 	uint32_t cp_vgt_dsinvoc_count_lo; // offset: 226  (0xE2)
256*4882a593Smuzhiyun 	uint32_t cp_vgt_dsinvoc_count_hi; // offset: 227  (0xE3)
257*4882a593Smuzhiyun 	uint32_t cp_vgt_csinvoc_count_lo; // offset: 228  (0xE4)
258*4882a593Smuzhiyun 	uint32_t cp_vgt_csinvoc_count_hi; // offset: 229  (0xE5)
259*4882a593Smuzhiyun 	uint32_t reserved_230; // offset: 230  (0xE6)
260*4882a593Smuzhiyun 	uint32_t reserved_231; // offset: 231  (0xE7)
261*4882a593Smuzhiyun 	uint32_t reserved_232; // offset: 232  (0xE8)
262*4882a593Smuzhiyun 	uint32_t reserved_233; // offset: 233  (0xE9)
263*4882a593Smuzhiyun 	uint32_t reserved_234; // offset: 234  (0xEA)
264*4882a593Smuzhiyun 	uint32_t reserved_235; // offset: 235  (0xEB)
265*4882a593Smuzhiyun 	uint32_t reserved_236; // offset: 236  (0xEC)
266*4882a593Smuzhiyun 	uint32_t reserved_237; // offset: 237  (0xED)
267*4882a593Smuzhiyun 	uint32_t reserved_238; // offset: 238  (0xEE)
268*4882a593Smuzhiyun 	uint32_t reserved_239; // offset: 239  (0xEF)
269*4882a593Smuzhiyun 	uint32_t reserved_240; // offset: 240  (0xF0)
270*4882a593Smuzhiyun 	uint32_t reserved_241; // offset: 241  (0xF1)
271*4882a593Smuzhiyun 	uint32_t reserved_242; // offset: 242  (0xF2)
272*4882a593Smuzhiyun 	uint32_t reserved_243; // offset: 243  (0xF3)
273*4882a593Smuzhiyun 	uint32_t reserved_244; // offset: 244  (0xF4)
274*4882a593Smuzhiyun 	uint32_t reserved_245; // offset: 245  (0xF5)
275*4882a593Smuzhiyun 	uint32_t reserved_246; // offset: 246  (0xF6)
276*4882a593Smuzhiyun 	uint32_t reserved_247; // offset: 247  (0xF7)
277*4882a593Smuzhiyun 	uint32_t reserved_248; // offset: 248  (0xF8)
278*4882a593Smuzhiyun 	uint32_t reserved_249; // offset: 249  (0xF9)
279*4882a593Smuzhiyun 	uint32_t reserved_250; // offset: 250  (0xFA)
280*4882a593Smuzhiyun 	uint32_t reserved_251; // offset: 251  (0xFB)
281*4882a593Smuzhiyun 	uint32_t reserved_252; // offset: 252  (0xFC)
282*4882a593Smuzhiyun 	uint32_t reserved_253; // offset: 253  (0xFD)
283*4882a593Smuzhiyun 	uint32_t reserved_254; // offset: 254  (0xFE)
284*4882a593Smuzhiyun 	uint32_t reserved_255; // offset: 255  (0xFF)
285*4882a593Smuzhiyun 	uint32_t reserved_256; // offset: 256  (0x100)
286*4882a593Smuzhiyun 	uint32_t reserved_257; // offset: 257  (0x101)
287*4882a593Smuzhiyun 	uint32_t reserved_258; // offset: 258  (0x102)
288*4882a593Smuzhiyun 	uint32_t reserved_259; // offset: 259  (0x103)
289*4882a593Smuzhiyun 	uint32_t reserved_260; // offset: 260  (0x104)
290*4882a593Smuzhiyun 	uint32_t reserved_261; // offset: 261  (0x105)
291*4882a593Smuzhiyun 	uint32_t reserved_262; // offset: 262  (0x106)
292*4882a593Smuzhiyun 	uint32_t reserved_263; // offset: 263  (0x107)
293*4882a593Smuzhiyun 	uint32_t reserved_264; // offset: 264  (0x108)
294*4882a593Smuzhiyun 	uint32_t reserved_265; // offset: 265  (0x109)
295*4882a593Smuzhiyun 	uint32_t reserved_266; // offset: 266  (0x10A)
296*4882a593Smuzhiyun 	uint32_t reserved_267; // offset: 267  (0x10B)
297*4882a593Smuzhiyun 	uint32_t vgt_strmout_buffer_filled_size_0; // offset: 268  (0x10C)
298*4882a593Smuzhiyun 	uint32_t vgt_strmout_buffer_filled_size_1; // offset: 269  (0x10D)
299*4882a593Smuzhiyun 	uint32_t vgt_strmout_buffer_filled_size_2; // offset: 270  (0x10E)
300*4882a593Smuzhiyun 	uint32_t vgt_strmout_buffer_filled_size_3; // offset: 271  (0x10F)
301*4882a593Smuzhiyun 	uint32_t reserved_272; // offset: 272  (0x110)
302*4882a593Smuzhiyun 	uint32_t reserved_273; // offset: 273  (0x111)
303*4882a593Smuzhiyun 	uint32_t reserved_274; // offset: 274  (0x112)
304*4882a593Smuzhiyun 	uint32_t reserved_275; // offset: 275  (0x113)
305*4882a593Smuzhiyun 	uint32_t vgt_dma_max_size; // offset: 276  (0x114)
306*4882a593Smuzhiyun 	uint32_t vgt_dma_num_instances; // offset: 277  (0x115)
307*4882a593Smuzhiyun 	uint32_t reserved_278; // offset: 278  (0x116)
308*4882a593Smuzhiyun 	uint32_t reserved_279; // offset: 279  (0x117)
309*4882a593Smuzhiyun 	uint32_t reserved_280; // offset: 280  (0x118)
310*4882a593Smuzhiyun 	uint32_t reserved_281; // offset: 281  (0x119)
311*4882a593Smuzhiyun 	uint32_t reserved_282; // offset: 282  (0x11A)
312*4882a593Smuzhiyun 	uint32_t reserved_283; // offset: 283  (0x11B)
313*4882a593Smuzhiyun 	uint32_t reserved_284; // offset: 284  (0x11C)
314*4882a593Smuzhiyun 	uint32_t reserved_285; // offset: 285  (0x11D)
315*4882a593Smuzhiyun 	uint32_t reserved_286; // offset: 286  (0x11E)
316*4882a593Smuzhiyun 	uint32_t reserved_287; // offset: 287  (0x11F)
317*4882a593Smuzhiyun 	uint32_t it_set_base_ib_addr_lo; // offset: 288  (0x120)
318*4882a593Smuzhiyun 	uint32_t it_set_base_ib_addr_hi; // offset: 289  (0x121)
319*4882a593Smuzhiyun 	uint32_t reserved_290; // offset: 290  (0x122)
320*4882a593Smuzhiyun 	uint32_t reserved_291; // offset: 291  (0x123)
321*4882a593Smuzhiyun 	uint32_t reserved_292; // offset: 292  (0x124)
322*4882a593Smuzhiyun 	uint32_t reserved_293; // offset: 293  (0x125)
323*4882a593Smuzhiyun 	uint32_t reserved_294; // offset: 294  (0x126)
324*4882a593Smuzhiyun 	uint32_t reserved_295; // offset: 295  (0x127)
325*4882a593Smuzhiyun 	uint32_t reserved_296; // offset: 296  (0x128)
326*4882a593Smuzhiyun 	uint32_t reserved_297; // offset: 297  (0x129)
327*4882a593Smuzhiyun 	uint32_t reserved_298; // offset: 298  (0x12A)
328*4882a593Smuzhiyun 	uint32_t reserved_299; // offset: 299  (0x12B)
329*4882a593Smuzhiyun 	uint32_t reserved_300; // offset: 300  (0x12C)
330*4882a593Smuzhiyun 	uint32_t reserved_301; // offset: 301  (0x12D)
331*4882a593Smuzhiyun 	uint32_t reserved_302; // offset: 302  (0x12E)
332*4882a593Smuzhiyun 	uint32_t reserved_303; // offset: 303  (0x12F)
333*4882a593Smuzhiyun 	uint32_t reserved_304; // offset: 304  (0x130)
334*4882a593Smuzhiyun 	uint32_t reserved_305; // offset: 305  (0x131)
335*4882a593Smuzhiyun 	uint32_t reserved_306; // offset: 306  (0x132)
336*4882a593Smuzhiyun 	uint32_t reserved_307; // offset: 307  (0x133)
337*4882a593Smuzhiyun 	uint32_t reserved_308; // offset: 308  (0x134)
338*4882a593Smuzhiyun 	uint32_t reserved_309; // offset: 309  (0x135)
339*4882a593Smuzhiyun 	uint32_t reserved_310; // offset: 310  (0x136)
340*4882a593Smuzhiyun 	uint32_t reserved_311; // offset: 311  (0x137)
341*4882a593Smuzhiyun 	uint32_t reserved_312; // offset: 312  (0x138)
342*4882a593Smuzhiyun 	uint32_t reserved_313; // offset: 313  (0x139)
343*4882a593Smuzhiyun 	uint32_t reserved_314; // offset: 314  (0x13A)
344*4882a593Smuzhiyun 	uint32_t reserved_315; // offset: 315  (0x13B)
345*4882a593Smuzhiyun 	uint32_t reserved_316; // offset: 316  (0x13C)
346*4882a593Smuzhiyun 	uint32_t reserved_317; // offset: 317  (0x13D)
347*4882a593Smuzhiyun 	uint32_t reserved_318; // offset: 318  (0x13E)
348*4882a593Smuzhiyun 	uint32_t reserved_319; // offset: 319  (0x13F)
349*4882a593Smuzhiyun 	uint32_t reserved_320; // offset: 320  (0x140)
350*4882a593Smuzhiyun 	uint32_t reserved_321; // offset: 321  (0x141)
351*4882a593Smuzhiyun 	uint32_t reserved_322; // offset: 322  (0x142)
352*4882a593Smuzhiyun 	uint32_t reserved_323; // offset: 323  (0x143)
353*4882a593Smuzhiyun 	uint32_t reserved_324; // offset: 324  (0x144)
354*4882a593Smuzhiyun 	uint32_t reserved_325; // offset: 325  (0x145)
355*4882a593Smuzhiyun 	uint32_t reserved_326; // offset: 326  (0x146)
356*4882a593Smuzhiyun 	uint32_t reserved_327; // offset: 327  (0x147)
357*4882a593Smuzhiyun 	uint32_t reserved_328; // offset: 328  (0x148)
358*4882a593Smuzhiyun 	uint32_t reserved_329; // offset: 329  (0x149)
359*4882a593Smuzhiyun 	uint32_t reserved_330; // offset: 330  (0x14A)
360*4882a593Smuzhiyun 	uint32_t reserved_331; // offset: 331  (0x14B)
361*4882a593Smuzhiyun 	uint32_t reserved_332; // offset: 332  (0x14C)
362*4882a593Smuzhiyun 	uint32_t reserved_333; // offset: 333  (0x14D)
363*4882a593Smuzhiyun 	uint32_t reserved_334; // offset: 334  (0x14E)
364*4882a593Smuzhiyun 	uint32_t reserved_335; // offset: 335  (0x14F)
365*4882a593Smuzhiyun 	uint32_t reserved_336; // offset: 336  (0x150)
366*4882a593Smuzhiyun 	uint32_t reserved_337; // offset: 337  (0x151)
367*4882a593Smuzhiyun 	uint32_t reserved_338; // offset: 338  (0x152)
368*4882a593Smuzhiyun 	uint32_t reserved_339; // offset: 339  (0x153)
369*4882a593Smuzhiyun 	uint32_t reserved_340; // offset: 340  (0x154)
370*4882a593Smuzhiyun 	uint32_t reserved_341; // offset: 341  (0x155)
371*4882a593Smuzhiyun 	uint32_t reserved_342; // offset: 342  (0x156)
372*4882a593Smuzhiyun 	uint32_t reserved_343; // offset: 343  (0x157)
373*4882a593Smuzhiyun 	uint32_t reserved_344; // offset: 344  (0x158)
374*4882a593Smuzhiyun 	uint32_t reserved_345; // offset: 345  (0x159)
375*4882a593Smuzhiyun 	uint32_t reserved_346; // offset: 346  (0x15A)
376*4882a593Smuzhiyun 	uint32_t reserved_347; // offset: 347  (0x15B)
377*4882a593Smuzhiyun 	uint32_t reserved_348; // offset: 348  (0x15C)
378*4882a593Smuzhiyun 	uint32_t reserved_349; // offset: 349  (0x15D)
379*4882a593Smuzhiyun 	uint32_t reserved_350; // offset: 350  (0x15E)
380*4882a593Smuzhiyun 	uint32_t reserved_351; // offset: 351  (0x15F)
381*4882a593Smuzhiyun 	uint32_t reserved_352; // offset: 352  (0x160)
382*4882a593Smuzhiyun 	uint32_t reserved_353; // offset: 353  (0x161)
383*4882a593Smuzhiyun 	uint32_t reserved_354; // offset: 354  (0x162)
384*4882a593Smuzhiyun 	uint32_t reserved_355; // offset: 355  (0x163)
385*4882a593Smuzhiyun 	uint32_t spi_shader_pgm_rsrc3_ps; // offset: 356  (0x164)
386*4882a593Smuzhiyun 	uint32_t spi_shader_pgm_rsrc3_vs; // offset: 357  (0x165)
387*4882a593Smuzhiyun 	uint32_t spi_shader_pgm_rsrc3_gs; // offset: 358  (0x166)
388*4882a593Smuzhiyun 	uint32_t spi_shader_pgm_rsrc3_hs; // offset: 359  (0x167)
389*4882a593Smuzhiyun 	uint32_t spi_shader_pgm_rsrc4_ps; // offset: 360  (0x168)
390*4882a593Smuzhiyun 	uint32_t spi_shader_pgm_rsrc4_vs; // offset: 361  (0x169)
391*4882a593Smuzhiyun 	uint32_t spi_shader_pgm_rsrc4_gs; // offset: 362  (0x16A)
392*4882a593Smuzhiyun 	uint32_t spi_shader_pgm_rsrc4_hs; // offset: 363  (0x16B)
393*4882a593Smuzhiyun 	uint32_t db_occlusion_count0_low_00; // offset: 364  (0x16C)
394*4882a593Smuzhiyun 	uint32_t db_occlusion_count0_hi_00; // offset: 365  (0x16D)
395*4882a593Smuzhiyun 	uint32_t db_occlusion_count1_low_00; // offset: 366  (0x16E)
396*4882a593Smuzhiyun 	uint32_t db_occlusion_count1_hi_00; // offset: 367  (0x16F)
397*4882a593Smuzhiyun 	uint32_t db_occlusion_count2_low_00; // offset: 368  (0x170)
398*4882a593Smuzhiyun 	uint32_t db_occlusion_count2_hi_00; // offset: 369  (0x171)
399*4882a593Smuzhiyun 	uint32_t db_occlusion_count3_low_00; // offset: 370  (0x172)
400*4882a593Smuzhiyun 	uint32_t db_occlusion_count3_hi_00; // offset: 371  (0x173)
401*4882a593Smuzhiyun 	uint32_t db_occlusion_count0_low_01; // offset: 372  (0x174)
402*4882a593Smuzhiyun 	uint32_t db_occlusion_count0_hi_01; // offset: 373  (0x175)
403*4882a593Smuzhiyun 	uint32_t db_occlusion_count1_low_01; // offset: 374  (0x176)
404*4882a593Smuzhiyun 	uint32_t db_occlusion_count1_hi_01; // offset: 375  (0x177)
405*4882a593Smuzhiyun 	uint32_t db_occlusion_count2_low_01; // offset: 376  (0x178)
406*4882a593Smuzhiyun 	uint32_t db_occlusion_count2_hi_01; // offset: 377  (0x179)
407*4882a593Smuzhiyun 	uint32_t db_occlusion_count3_low_01; // offset: 378  (0x17A)
408*4882a593Smuzhiyun 	uint32_t db_occlusion_count3_hi_01; // offset: 379  (0x17B)
409*4882a593Smuzhiyun 	uint32_t db_occlusion_count0_low_02; // offset: 380  (0x17C)
410*4882a593Smuzhiyun 	uint32_t db_occlusion_count0_hi_02; // offset: 381  (0x17D)
411*4882a593Smuzhiyun 	uint32_t db_occlusion_count1_low_02; // offset: 382  (0x17E)
412*4882a593Smuzhiyun 	uint32_t db_occlusion_count1_hi_02; // offset: 383  (0x17F)
413*4882a593Smuzhiyun 	uint32_t db_occlusion_count2_low_02; // offset: 384  (0x180)
414*4882a593Smuzhiyun 	uint32_t db_occlusion_count2_hi_02; // offset: 385  (0x181)
415*4882a593Smuzhiyun 	uint32_t db_occlusion_count3_low_02; // offset: 386  (0x182)
416*4882a593Smuzhiyun 	uint32_t db_occlusion_count3_hi_02; // offset: 387  (0x183)
417*4882a593Smuzhiyun 	uint32_t db_occlusion_count0_low_03; // offset: 388  (0x184)
418*4882a593Smuzhiyun 	uint32_t db_occlusion_count0_hi_03; // offset: 389  (0x185)
419*4882a593Smuzhiyun 	uint32_t db_occlusion_count1_low_03; // offset: 390  (0x186)
420*4882a593Smuzhiyun 	uint32_t db_occlusion_count1_hi_03; // offset: 391  (0x187)
421*4882a593Smuzhiyun 	uint32_t db_occlusion_count2_low_03; // offset: 392  (0x188)
422*4882a593Smuzhiyun 	uint32_t db_occlusion_count2_hi_03; // offset: 393  (0x189)
423*4882a593Smuzhiyun 	uint32_t db_occlusion_count3_low_03; // offset: 394  (0x18A)
424*4882a593Smuzhiyun 	uint32_t db_occlusion_count3_hi_03; // offset: 395  (0x18B)
425*4882a593Smuzhiyun 	uint32_t db_occlusion_count0_low_04; // offset: 396  (0x18C)
426*4882a593Smuzhiyun 	uint32_t db_occlusion_count0_hi_04; // offset: 397  (0x18D)
427*4882a593Smuzhiyun 	uint32_t db_occlusion_count1_low_04; // offset: 398  (0x18E)
428*4882a593Smuzhiyun 	uint32_t db_occlusion_count1_hi_04; // offset: 399  (0x18F)
429*4882a593Smuzhiyun 	uint32_t db_occlusion_count2_low_04; // offset: 400  (0x190)
430*4882a593Smuzhiyun 	uint32_t db_occlusion_count2_hi_04; // offset: 401  (0x191)
431*4882a593Smuzhiyun 	uint32_t db_occlusion_count3_low_04; // offset: 402  (0x192)
432*4882a593Smuzhiyun 	uint32_t db_occlusion_count3_hi_04; // offset: 403  (0x193)
433*4882a593Smuzhiyun 	uint32_t db_occlusion_count0_low_05; // offset: 404  (0x194)
434*4882a593Smuzhiyun 	uint32_t db_occlusion_count0_hi_05; // offset: 405  (0x195)
435*4882a593Smuzhiyun 	uint32_t db_occlusion_count1_low_05; // offset: 406  (0x196)
436*4882a593Smuzhiyun 	uint32_t db_occlusion_count1_hi_05; // offset: 407  (0x197)
437*4882a593Smuzhiyun 	uint32_t db_occlusion_count2_low_05; // offset: 408  (0x198)
438*4882a593Smuzhiyun 	uint32_t db_occlusion_count2_hi_05; // offset: 409  (0x199)
439*4882a593Smuzhiyun 	uint32_t db_occlusion_count3_low_05; // offset: 410  (0x19A)
440*4882a593Smuzhiyun 	uint32_t db_occlusion_count3_hi_05; // offset: 411  (0x19B)
441*4882a593Smuzhiyun 	uint32_t db_occlusion_count0_low_06; // offset: 412  (0x19C)
442*4882a593Smuzhiyun 	uint32_t db_occlusion_count0_hi_06; // offset: 413  (0x19D)
443*4882a593Smuzhiyun 	uint32_t db_occlusion_count1_low_06; // offset: 414  (0x19E)
444*4882a593Smuzhiyun 	uint32_t db_occlusion_count1_hi_06; // offset: 415  (0x19F)
445*4882a593Smuzhiyun 	uint32_t db_occlusion_count2_low_06; // offset: 416  (0x1A0)
446*4882a593Smuzhiyun 	uint32_t db_occlusion_count2_hi_06; // offset: 417  (0x1A1)
447*4882a593Smuzhiyun 	uint32_t db_occlusion_count3_low_06; // offset: 418  (0x1A2)
448*4882a593Smuzhiyun 	uint32_t db_occlusion_count3_hi_06; // offset: 419  (0x1A3)
449*4882a593Smuzhiyun 	uint32_t db_occlusion_count0_low_07; // offset: 420  (0x1A4)
450*4882a593Smuzhiyun 	uint32_t db_occlusion_count0_hi_07; // offset: 421  (0x1A5)
451*4882a593Smuzhiyun 	uint32_t db_occlusion_count1_low_07; // offset: 422  (0x1A6)
452*4882a593Smuzhiyun 	uint32_t db_occlusion_count1_hi_07; // offset: 423  (0x1A7)
453*4882a593Smuzhiyun 	uint32_t db_occlusion_count2_low_07; // offset: 424  (0x1A8)
454*4882a593Smuzhiyun 	uint32_t db_occlusion_count2_hi_07; // offset: 425  (0x1A9)
455*4882a593Smuzhiyun 	uint32_t db_occlusion_count3_low_07; // offset: 426  (0x1AA)
456*4882a593Smuzhiyun 	uint32_t db_occlusion_count3_hi_07; // offset: 427  (0x1AB)
457*4882a593Smuzhiyun 	uint32_t db_occlusion_count0_low_10; // offset: 428  (0x1AC)
458*4882a593Smuzhiyun 	uint32_t db_occlusion_count0_hi_10; // offset: 429  (0x1AD)
459*4882a593Smuzhiyun 	uint32_t db_occlusion_count1_low_10; // offset: 430  (0x1AE)
460*4882a593Smuzhiyun 	uint32_t db_occlusion_count1_hi_10; // offset: 431  (0x1AF)
461*4882a593Smuzhiyun 	uint32_t db_occlusion_count2_low_10; // offset: 432  (0x1B0)
462*4882a593Smuzhiyun 	uint32_t db_occlusion_count2_hi_10; // offset: 433  (0x1B1)
463*4882a593Smuzhiyun 	uint32_t db_occlusion_count3_low_10; // offset: 434  (0x1B2)
464*4882a593Smuzhiyun 	uint32_t db_occlusion_count3_hi_10; // offset: 435  (0x1B3)
465*4882a593Smuzhiyun 	uint32_t db_occlusion_count0_low_11; // offset: 436  (0x1B4)
466*4882a593Smuzhiyun 	uint32_t db_occlusion_count0_hi_11; // offset: 437  (0x1B5)
467*4882a593Smuzhiyun 	uint32_t db_occlusion_count1_low_11; // offset: 438  (0x1B6)
468*4882a593Smuzhiyun 	uint32_t db_occlusion_count1_hi_11; // offset: 439  (0x1B7)
469*4882a593Smuzhiyun 	uint32_t db_occlusion_count2_low_11; // offset: 440  (0x1B8)
470*4882a593Smuzhiyun 	uint32_t db_occlusion_count2_hi_11; // offset: 441  (0x1B9)
471*4882a593Smuzhiyun 	uint32_t db_occlusion_count3_low_11; // offset: 442  (0x1BA)
472*4882a593Smuzhiyun 	uint32_t db_occlusion_count3_hi_11; // offset: 443  (0x1BB)
473*4882a593Smuzhiyun 	uint32_t db_occlusion_count0_low_12; // offset: 444  (0x1BC)
474*4882a593Smuzhiyun 	uint32_t db_occlusion_count0_hi_12; // offset: 445  (0x1BD)
475*4882a593Smuzhiyun 	uint32_t db_occlusion_count1_low_12; // offset: 446  (0x1BE)
476*4882a593Smuzhiyun 	uint32_t db_occlusion_count1_hi_12; // offset: 447  (0x1BF)
477*4882a593Smuzhiyun 	uint32_t db_occlusion_count2_low_12; // offset: 448  (0x1C0)
478*4882a593Smuzhiyun 	uint32_t db_occlusion_count2_hi_12; // offset: 449  (0x1C1)
479*4882a593Smuzhiyun 	uint32_t db_occlusion_count3_low_12; // offset: 450  (0x1C2)
480*4882a593Smuzhiyun 	uint32_t db_occlusion_count3_hi_12; // offset: 451  (0x1C3)
481*4882a593Smuzhiyun 	uint32_t db_occlusion_count0_low_13; // offset: 452  (0x1C4)
482*4882a593Smuzhiyun 	uint32_t db_occlusion_count0_hi_13; // offset: 453  (0x1C5)
483*4882a593Smuzhiyun 	uint32_t db_occlusion_count1_low_13; // offset: 454  (0x1C6)
484*4882a593Smuzhiyun 	uint32_t db_occlusion_count1_hi_13; // offset: 455  (0x1C7)
485*4882a593Smuzhiyun 	uint32_t db_occlusion_count2_low_13; // offset: 456  (0x1C8)
486*4882a593Smuzhiyun 	uint32_t db_occlusion_count2_hi_13; // offset: 457  (0x1C9)
487*4882a593Smuzhiyun 	uint32_t db_occlusion_count3_low_13; // offset: 458  (0x1CA)
488*4882a593Smuzhiyun 	uint32_t db_occlusion_count3_hi_13; // offset: 459  (0x1CB)
489*4882a593Smuzhiyun 	uint32_t db_occlusion_count0_low_14; // offset: 460  (0x1CC)
490*4882a593Smuzhiyun 	uint32_t db_occlusion_count0_hi_14; // offset: 461  (0x1CD)
491*4882a593Smuzhiyun 	uint32_t db_occlusion_count1_low_14; // offset: 462  (0x1CE)
492*4882a593Smuzhiyun 	uint32_t db_occlusion_count1_hi_14; // offset: 463  (0x1CF)
493*4882a593Smuzhiyun 	uint32_t db_occlusion_count2_low_14; // offset: 464  (0x1D0)
494*4882a593Smuzhiyun 	uint32_t db_occlusion_count2_hi_14; // offset: 465  (0x1D1)
495*4882a593Smuzhiyun 	uint32_t db_occlusion_count3_low_14; // offset: 466  (0x1D2)
496*4882a593Smuzhiyun 	uint32_t db_occlusion_count3_hi_14; // offset: 467  (0x1D3)
497*4882a593Smuzhiyun 	uint32_t db_occlusion_count0_low_15; // offset: 468  (0x1D4)
498*4882a593Smuzhiyun 	uint32_t db_occlusion_count0_hi_15; // offset: 469  (0x1D5)
499*4882a593Smuzhiyun 	uint32_t db_occlusion_count1_low_15; // offset: 470  (0x1D6)
500*4882a593Smuzhiyun 	uint32_t db_occlusion_count1_hi_15; // offset: 471  (0x1D7)
501*4882a593Smuzhiyun 	uint32_t db_occlusion_count2_low_15; // offset: 472  (0x1D8)
502*4882a593Smuzhiyun 	uint32_t db_occlusion_count2_hi_15; // offset: 473  (0x1D9)
503*4882a593Smuzhiyun 	uint32_t db_occlusion_count3_low_15; // offset: 474  (0x1DA)
504*4882a593Smuzhiyun 	uint32_t db_occlusion_count3_hi_15; // offset: 475  (0x1DB)
505*4882a593Smuzhiyun 	uint32_t db_occlusion_count0_low_16; // offset: 476  (0x1DC)
506*4882a593Smuzhiyun 	uint32_t db_occlusion_count0_hi_16; // offset: 477  (0x1DD)
507*4882a593Smuzhiyun 	uint32_t db_occlusion_count1_low_16; // offset: 478  (0x1DE)
508*4882a593Smuzhiyun 	uint32_t db_occlusion_count1_hi_16; // offset: 479  (0x1DF)
509*4882a593Smuzhiyun 	uint32_t db_occlusion_count2_low_16; // offset: 480  (0x1E0)
510*4882a593Smuzhiyun 	uint32_t db_occlusion_count2_hi_16; // offset: 481  (0x1E1)
511*4882a593Smuzhiyun 	uint32_t db_occlusion_count3_low_16; // offset: 482  (0x1E2)
512*4882a593Smuzhiyun 	uint32_t db_occlusion_count3_hi_16; // offset: 483  (0x1E3)
513*4882a593Smuzhiyun 	uint32_t db_occlusion_count0_low_17; // offset: 484  (0x1E4)
514*4882a593Smuzhiyun 	uint32_t db_occlusion_count0_hi_17; // offset: 485  (0x1E5)
515*4882a593Smuzhiyun 	uint32_t db_occlusion_count1_low_17; // offset: 486  (0x1E6)
516*4882a593Smuzhiyun 	uint32_t db_occlusion_count1_hi_17; // offset: 487  (0x1E7)
517*4882a593Smuzhiyun 	uint32_t db_occlusion_count2_low_17; // offset: 488  (0x1E8)
518*4882a593Smuzhiyun 	uint32_t db_occlusion_count2_hi_17; // offset: 489  (0x1E9)
519*4882a593Smuzhiyun 	uint32_t db_occlusion_count3_low_17; // offset: 490  (0x1EA)
520*4882a593Smuzhiyun 	uint32_t db_occlusion_count3_hi_17; // offset: 491  (0x1EB)
521*4882a593Smuzhiyun 	uint32_t reserved_492; // offset: 492  (0x1EC)
522*4882a593Smuzhiyun 	uint32_t reserved_493; // offset: 493  (0x1ED)
523*4882a593Smuzhiyun 	uint32_t reserved_494; // offset: 494  (0x1EE)
524*4882a593Smuzhiyun 	uint32_t reserved_495; // offset: 495  (0x1EF)
525*4882a593Smuzhiyun 	uint32_t reserved_496; // offset: 496  (0x1F0)
526*4882a593Smuzhiyun 	uint32_t reserved_497; // offset: 497  (0x1F1)
527*4882a593Smuzhiyun 	uint32_t reserved_498; // offset: 498  (0x1F2)
528*4882a593Smuzhiyun 	uint32_t reserved_499; // offset: 499  (0x1F3)
529*4882a593Smuzhiyun 	uint32_t reserved_500; // offset: 500  (0x1F4)
530*4882a593Smuzhiyun 	uint32_t reserved_501; // offset: 501  (0x1F5)
531*4882a593Smuzhiyun 	uint32_t reserved_502; // offset: 502  (0x1F6)
532*4882a593Smuzhiyun 	uint32_t reserved_503; // offset: 503  (0x1F7)
533*4882a593Smuzhiyun 	uint32_t reserved_504; // offset: 504  (0x1F8)
534*4882a593Smuzhiyun 	uint32_t reserved_505; // offset: 505  (0x1F9)
535*4882a593Smuzhiyun 	uint32_t reserved_506; // offset: 506  (0x1FA)
536*4882a593Smuzhiyun 	uint32_t reserved_507; // offset: 507  (0x1FB)
537*4882a593Smuzhiyun 	uint32_t reserved_508; // offset: 508  (0x1FC)
538*4882a593Smuzhiyun 	uint32_t reserved_509; // offset: 509  (0x1FD)
539*4882a593Smuzhiyun 	uint32_t reserved_510; // offset: 510  (0x1FE)
540*4882a593Smuzhiyun 	uint32_t reserved_511; // offset: 511  (0x1FF)
541*4882a593Smuzhiyun };
542*4882a593Smuzhiyun 
543*4882a593Smuzhiyun struct v10_sdma_mqd {
544*4882a593Smuzhiyun 	uint32_t sdmax_rlcx_rb_cntl;
545*4882a593Smuzhiyun 	uint32_t sdmax_rlcx_rb_base;
546*4882a593Smuzhiyun 	uint32_t sdmax_rlcx_rb_base_hi;
547*4882a593Smuzhiyun 	uint32_t sdmax_rlcx_rb_rptr;
548*4882a593Smuzhiyun 	uint32_t sdmax_rlcx_rb_rptr_hi;
549*4882a593Smuzhiyun 	uint32_t sdmax_rlcx_rb_wptr;
550*4882a593Smuzhiyun 	uint32_t sdmax_rlcx_rb_wptr_hi;
551*4882a593Smuzhiyun 	uint32_t sdmax_rlcx_rb_wptr_poll_cntl;
552*4882a593Smuzhiyun 	uint32_t sdmax_rlcx_rb_rptr_addr_hi;
553*4882a593Smuzhiyun 	uint32_t sdmax_rlcx_rb_rptr_addr_lo;
554*4882a593Smuzhiyun 	uint32_t sdmax_rlcx_ib_cntl;
555*4882a593Smuzhiyun 	uint32_t sdmax_rlcx_ib_rptr;
556*4882a593Smuzhiyun 	uint32_t sdmax_rlcx_ib_offset;
557*4882a593Smuzhiyun 	uint32_t sdmax_rlcx_ib_base_lo;
558*4882a593Smuzhiyun 	uint32_t sdmax_rlcx_ib_base_hi;
559*4882a593Smuzhiyun 	uint32_t sdmax_rlcx_ib_size;
560*4882a593Smuzhiyun 	uint32_t sdmax_rlcx_skip_cntl;
561*4882a593Smuzhiyun 	uint32_t sdmax_rlcx_context_status;
562*4882a593Smuzhiyun 	uint32_t sdmax_rlcx_doorbell;
563*4882a593Smuzhiyun 	uint32_t sdmax_rlcx_status;
564*4882a593Smuzhiyun 	uint32_t sdmax_rlcx_doorbell_log;
565*4882a593Smuzhiyun 	uint32_t sdmax_rlcx_watermark;
566*4882a593Smuzhiyun 	uint32_t sdmax_rlcx_doorbell_offset;
567*4882a593Smuzhiyun 	uint32_t sdmax_rlcx_csa_addr_lo;
568*4882a593Smuzhiyun 	uint32_t sdmax_rlcx_csa_addr_hi;
569*4882a593Smuzhiyun 	uint32_t sdmax_rlcx_ib_sub_remain;
570*4882a593Smuzhiyun 	uint32_t sdmax_rlcx_preempt;
571*4882a593Smuzhiyun 	uint32_t sdmax_rlcx_dummy_reg;
572*4882a593Smuzhiyun 	uint32_t sdmax_rlcx_rb_wptr_poll_addr_hi;
573*4882a593Smuzhiyun 	uint32_t sdmax_rlcx_rb_wptr_poll_addr_lo;
574*4882a593Smuzhiyun 	uint32_t sdmax_rlcx_rb_aql_cntl;
575*4882a593Smuzhiyun 	uint32_t sdmax_rlcx_minor_ptr_update;
576*4882a593Smuzhiyun 	uint32_t sdmax_rlcx_midcmd_data0;
577*4882a593Smuzhiyun 	uint32_t sdmax_rlcx_midcmd_data1;
578*4882a593Smuzhiyun 	uint32_t sdmax_rlcx_midcmd_data2;
579*4882a593Smuzhiyun 	uint32_t sdmax_rlcx_midcmd_data3;
580*4882a593Smuzhiyun 	uint32_t sdmax_rlcx_midcmd_data4;
581*4882a593Smuzhiyun 	uint32_t sdmax_rlcx_midcmd_data5;
582*4882a593Smuzhiyun 	uint32_t sdmax_rlcx_midcmd_data6;
583*4882a593Smuzhiyun 	uint32_t sdmax_rlcx_midcmd_data7;
584*4882a593Smuzhiyun 	uint32_t sdmax_rlcx_midcmd_data8;
585*4882a593Smuzhiyun 	uint32_t sdmax_rlcx_midcmd_cntl;
586*4882a593Smuzhiyun 	uint32_t reserved_42;
587*4882a593Smuzhiyun 	uint32_t reserved_43;
588*4882a593Smuzhiyun 	uint32_t reserved_44;
589*4882a593Smuzhiyun 	uint32_t reserved_45;
590*4882a593Smuzhiyun 	uint32_t reserved_46;
591*4882a593Smuzhiyun 	uint32_t reserved_47;
592*4882a593Smuzhiyun 	uint32_t reserved_48;
593*4882a593Smuzhiyun 	uint32_t reserved_49;
594*4882a593Smuzhiyun 	uint32_t reserved_50;
595*4882a593Smuzhiyun 	uint32_t reserved_51;
596*4882a593Smuzhiyun 	uint32_t reserved_52;
597*4882a593Smuzhiyun 	uint32_t reserved_53;
598*4882a593Smuzhiyun 	uint32_t reserved_54;
599*4882a593Smuzhiyun 	uint32_t reserved_55;
600*4882a593Smuzhiyun 	uint32_t reserved_56;
601*4882a593Smuzhiyun 	uint32_t reserved_57;
602*4882a593Smuzhiyun 	uint32_t reserved_58;
603*4882a593Smuzhiyun 	uint32_t reserved_59;
604*4882a593Smuzhiyun 	uint32_t reserved_60;
605*4882a593Smuzhiyun 	uint32_t reserved_61;
606*4882a593Smuzhiyun 	uint32_t reserved_62;
607*4882a593Smuzhiyun 	uint32_t reserved_63;
608*4882a593Smuzhiyun 	uint32_t reserved_64;
609*4882a593Smuzhiyun 	uint32_t reserved_65;
610*4882a593Smuzhiyun 	uint32_t reserved_66;
611*4882a593Smuzhiyun 	uint32_t reserved_67;
612*4882a593Smuzhiyun 	uint32_t reserved_68;
613*4882a593Smuzhiyun 	uint32_t reserved_69;
614*4882a593Smuzhiyun 	uint32_t reserved_70;
615*4882a593Smuzhiyun 	uint32_t reserved_71;
616*4882a593Smuzhiyun 	uint32_t reserved_72;
617*4882a593Smuzhiyun 	uint32_t reserved_73;
618*4882a593Smuzhiyun 	uint32_t reserved_74;
619*4882a593Smuzhiyun 	uint32_t reserved_75;
620*4882a593Smuzhiyun 	uint32_t reserved_76;
621*4882a593Smuzhiyun 	uint32_t reserved_77;
622*4882a593Smuzhiyun 	uint32_t reserved_78;
623*4882a593Smuzhiyun 	uint32_t reserved_79;
624*4882a593Smuzhiyun 	uint32_t reserved_80;
625*4882a593Smuzhiyun 	uint32_t reserved_81;
626*4882a593Smuzhiyun 	uint32_t reserved_82;
627*4882a593Smuzhiyun 	uint32_t reserved_83;
628*4882a593Smuzhiyun 	uint32_t reserved_84;
629*4882a593Smuzhiyun 	uint32_t reserved_85;
630*4882a593Smuzhiyun 	uint32_t reserved_86;
631*4882a593Smuzhiyun 	uint32_t reserved_87;
632*4882a593Smuzhiyun 	uint32_t reserved_88;
633*4882a593Smuzhiyun 	uint32_t reserved_89;
634*4882a593Smuzhiyun 	uint32_t reserved_90;
635*4882a593Smuzhiyun 	uint32_t reserved_91;
636*4882a593Smuzhiyun 	uint32_t reserved_92;
637*4882a593Smuzhiyun 	uint32_t reserved_93;
638*4882a593Smuzhiyun 	uint32_t reserved_94;
639*4882a593Smuzhiyun 	uint32_t reserved_95;
640*4882a593Smuzhiyun 	uint32_t reserved_96;
641*4882a593Smuzhiyun 	uint32_t reserved_97;
642*4882a593Smuzhiyun 	uint32_t reserved_98;
643*4882a593Smuzhiyun 	uint32_t reserved_99;
644*4882a593Smuzhiyun 	uint32_t reserved_100;
645*4882a593Smuzhiyun 	uint32_t reserved_101;
646*4882a593Smuzhiyun 	uint32_t reserved_102;
647*4882a593Smuzhiyun 	uint32_t reserved_103;
648*4882a593Smuzhiyun 	uint32_t reserved_104;
649*4882a593Smuzhiyun 	uint32_t reserved_105;
650*4882a593Smuzhiyun 	uint32_t reserved_106;
651*4882a593Smuzhiyun 	uint32_t reserved_107;
652*4882a593Smuzhiyun 	uint32_t reserved_108;
653*4882a593Smuzhiyun 	uint32_t reserved_109;
654*4882a593Smuzhiyun 	uint32_t reserved_110;
655*4882a593Smuzhiyun 	uint32_t reserved_111;
656*4882a593Smuzhiyun 	uint32_t reserved_112;
657*4882a593Smuzhiyun 	uint32_t reserved_113;
658*4882a593Smuzhiyun 	uint32_t reserved_114;
659*4882a593Smuzhiyun 	uint32_t reserved_115;
660*4882a593Smuzhiyun 	uint32_t reserved_116;
661*4882a593Smuzhiyun 	uint32_t reserved_117;
662*4882a593Smuzhiyun 	uint32_t reserved_118;
663*4882a593Smuzhiyun 	uint32_t reserved_119;
664*4882a593Smuzhiyun 	uint32_t reserved_120;
665*4882a593Smuzhiyun 	uint32_t reserved_121;
666*4882a593Smuzhiyun 	uint32_t reserved_122;
667*4882a593Smuzhiyun 	uint32_t reserved_123;
668*4882a593Smuzhiyun 	uint32_t reserved_124;
669*4882a593Smuzhiyun 	uint32_t reserved_125;
670*4882a593Smuzhiyun 	uint32_t reserved_126;
671*4882a593Smuzhiyun 	uint32_t reserved_127;
672*4882a593Smuzhiyun 	uint32_t sdma_engine_id;
673*4882a593Smuzhiyun 	uint32_t sdma_queue_id;
674*4882a593Smuzhiyun };
675*4882a593Smuzhiyun 
676*4882a593Smuzhiyun struct v10_compute_mqd {
677*4882a593Smuzhiyun 	uint32_t header;
678*4882a593Smuzhiyun 	uint32_t compute_dispatch_initiator;
679*4882a593Smuzhiyun 	uint32_t compute_dim_x;
680*4882a593Smuzhiyun 	uint32_t compute_dim_y;
681*4882a593Smuzhiyun 	uint32_t compute_dim_z;
682*4882a593Smuzhiyun 	uint32_t compute_start_x;
683*4882a593Smuzhiyun 	uint32_t compute_start_y;
684*4882a593Smuzhiyun 	uint32_t compute_start_z;
685*4882a593Smuzhiyun 	uint32_t compute_num_thread_x;
686*4882a593Smuzhiyun 	uint32_t compute_num_thread_y;
687*4882a593Smuzhiyun 	uint32_t compute_num_thread_z;
688*4882a593Smuzhiyun 	uint32_t compute_pipelinestat_enable;
689*4882a593Smuzhiyun 	uint32_t compute_perfcount_enable;
690*4882a593Smuzhiyun 	uint32_t compute_pgm_lo;
691*4882a593Smuzhiyun 	uint32_t compute_pgm_hi;
692*4882a593Smuzhiyun 	uint32_t compute_tba_lo;
693*4882a593Smuzhiyun 	uint32_t compute_tba_hi;
694*4882a593Smuzhiyun 	uint32_t compute_tma_lo;
695*4882a593Smuzhiyun 	uint32_t compute_tma_hi;
696*4882a593Smuzhiyun 	uint32_t compute_pgm_rsrc1;
697*4882a593Smuzhiyun 	uint32_t compute_pgm_rsrc2;
698*4882a593Smuzhiyun 	uint32_t compute_vmid;
699*4882a593Smuzhiyun 	uint32_t compute_resource_limits;
700*4882a593Smuzhiyun 	uint32_t compute_static_thread_mgmt_se0;
701*4882a593Smuzhiyun 	uint32_t compute_static_thread_mgmt_se1;
702*4882a593Smuzhiyun 	uint32_t compute_tmpring_size;
703*4882a593Smuzhiyun 	uint32_t compute_static_thread_mgmt_se2;
704*4882a593Smuzhiyun 	uint32_t compute_static_thread_mgmt_se3;
705*4882a593Smuzhiyun 	uint32_t compute_restart_x;
706*4882a593Smuzhiyun 	uint32_t compute_restart_y;
707*4882a593Smuzhiyun 	uint32_t compute_restart_z;
708*4882a593Smuzhiyun 	uint32_t compute_thread_trace_enable;
709*4882a593Smuzhiyun 	uint32_t compute_misc_reserved;
710*4882a593Smuzhiyun 	uint32_t compute_dispatch_id;
711*4882a593Smuzhiyun 	uint32_t compute_threadgroup_id;
712*4882a593Smuzhiyun 	uint32_t compute_relaunch;
713*4882a593Smuzhiyun 	uint32_t compute_wave_restore_addr_lo;
714*4882a593Smuzhiyun 	uint32_t compute_wave_restore_addr_hi;
715*4882a593Smuzhiyun 	uint32_t compute_wave_restore_control;
716*4882a593Smuzhiyun 	uint32_t reserved_39;
717*4882a593Smuzhiyun 	uint32_t reserved_40;
718*4882a593Smuzhiyun 	uint32_t reserved_41;
719*4882a593Smuzhiyun 	uint32_t reserved_42;
720*4882a593Smuzhiyun 	uint32_t reserved_43;
721*4882a593Smuzhiyun 	uint32_t reserved_44;
722*4882a593Smuzhiyun 	uint32_t reserved_45;
723*4882a593Smuzhiyun 	uint32_t reserved_46;
724*4882a593Smuzhiyun 	uint32_t reserved_47;
725*4882a593Smuzhiyun 	uint32_t reserved_48;
726*4882a593Smuzhiyun 	uint32_t reserved_49;
727*4882a593Smuzhiyun 	uint32_t reserved_50;
728*4882a593Smuzhiyun 	uint32_t reserved_51;
729*4882a593Smuzhiyun 	uint32_t reserved_52;
730*4882a593Smuzhiyun 	uint32_t reserved_53;
731*4882a593Smuzhiyun 	uint32_t reserved_54;
732*4882a593Smuzhiyun 	uint32_t reserved_55;
733*4882a593Smuzhiyun 	uint32_t reserved_56;
734*4882a593Smuzhiyun 	uint32_t reserved_57;
735*4882a593Smuzhiyun 	uint32_t reserved_58;
736*4882a593Smuzhiyun 	uint32_t reserved_59;
737*4882a593Smuzhiyun 	uint32_t reserved_60;
738*4882a593Smuzhiyun 	uint32_t reserved_61;
739*4882a593Smuzhiyun 	uint32_t reserved_62;
740*4882a593Smuzhiyun 	uint32_t reserved_63;
741*4882a593Smuzhiyun 	uint32_t reserved_64;
742*4882a593Smuzhiyun 	uint32_t compute_user_data_0;
743*4882a593Smuzhiyun 	uint32_t compute_user_data_1;
744*4882a593Smuzhiyun 	uint32_t compute_user_data_2;
745*4882a593Smuzhiyun 	uint32_t compute_user_data_3;
746*4882a593Smuzhiyun 	uint32_t compute_user_data_4;
747*4882a593Smuzhiyun 	uint32_t compute_user_data_5;
748*4882a593Smuzhiyun 	uint32_t compute_user_data_6;
749*4882a593Smuzhiyun 	uint32_t compute_user_data_7;
750*4882a593Smuzhiyun 	uint32_t compute_user_data_8;
751*4882a593Smuzhiyun 	uint32_t compute_user_data_9;
752*4882a593Smuzhiyun 	uint32_t compute_user_data_10;
753*4882a593Smuzhiyun 	uint32_t compute_user_data_11;
754*4882a593Smuzhiyun 	uint32_t compute_user_data_12;
755*4882a593Smuzhiyun 	uint32_t compute_user_data_13;
756*4882a593Smuzhiyun 	uint32_t compute_user_data_14;
757*4882a593Smuzhiyun 	uint32_t compute_user_data_15;
758*4882a593Smuzhiyun 	uint32_t cp_compute_csinvoc_count_lo;
759*4882a593Smuzhiyun 	uint32_t cp_compute_csinvoc_count_hi;
760*4882a593Smuzhiyun 	uint32_t reserved_83;
761*4882a593Smuzhiyun 	uint32_t reserved_84;
762*4882a593Smuzhiyun 	uint32_t reserved_85;
763*4882a593Smuzhiyun 	uint32_t cp_mqd_query_time_lo;
764*4882a593Smuzhiyun 	uint32_t cp_mqd_query_time_hi;
765*4882a593Smuzhiyun 	uint32_t cp_mqd_connect_start_time_lo;
766*4882a593Smuzhiyun 	uint32_t cp_mqd_connect_start_time_hi;
767*4882a593Smuzhiyun 	uint32_t cp_mqd_connect_end_time_lo;
768*4882a593Smuzhiyun 	uint32_t cp_mqd_connect_end_time_hi;
769*4882a593Smuzhiyun 	uint32_t cp_mqd_connect_end_wf_count;
770*4882a593Smuzhiyun 	uint32_t cp_mqd_connect_end_pq_rptr;
771*4882a593Smuzhiyun 	uint32_t cp_mqd_connect_end_pq_wptr;
772*4882a593Smuzhiyun 	uint32_t cp_mqd_connect_end_ib_rptr;
773*4882a593Smuzhiyun 	uint32_t cp_mqd_readindex_lo;
774*4882a593Smuzhiyun 	uint32_t cp_mqd_readindex_hi;
775*4882a593Smuzhiyun 	uint32_t cp_mqd_save_start_time_lo;
776*4882a593Smuzhiyun 	uint32_t cp_mqd_save_start_time_hi;
777*4882a593Smuzhiyun 	uint32_t cp_mqd_save_end_time_lo;
778*4882a593Smuzhiyun 	uint32_t cp_mqd_save_end_time_hi;
779*4882a593Smuzhiyun 	uint32_t cp_mqd_restore_start_time_lo;
780*4882a593Smuzhiyun 	uint32_t cp_mqd_restore_start_time_hi;
781*4882a593Smuzhiyun 	uint32_t cp_mqd_restore_end_time_lo;
782*4882a593Smuzhiyun 	uint32_t cp_mqd_restore_end_time_hi;
783*4882a593Smuzhiyun 	uint32_t disable_queue;
784*4882a593Smuzhiyun 	uint32_t reserved_107;
785*4882a593Smuzhiyun 	uint32_t gds_cs_ctxsw_cnt0;
786*4882a593Smuzhiyun 	uint32_t gds_cs_ctxsw_cnt1;
787*4882a593Smuzhiyun 	uint32_t gds_cs_ctxsw_cnt2;
788*4882a593Smuzhiyun 	uint32_t gds_cs_ctxsw_cnt3;
789*4882a593Smuzhiyun 	uint32_t reserved_112;
790*4882a593Smuzhiyun 	uint32_t reserved_113;
791*4882a593Smuzhiyun 	uint32_t cp_pq_exe_status_lo;
792*4882a593Smuzhiyun 	uint32_t cp_pq_exe_status_hi;
793*4882a593Smuzhiyun 	uint32_t cp_packet_id_lo;
794*4882a593Smuzhiyun 	uint32_t cp_packet_id_hi;
795*4882a593Smuzhiyun 	uint32_t cp_packet_exe_status_lo;
796*4882a593Smuzhiyun 	uint32_t cp_packet_exe_status_hi;
797*4882a593Smuzhiyun 	uint32_t gds_save_base_addr_lo;
798*4882a593Smuzhiyun 	uint32_t gds_save_base_addr_hi;
799*4882a593Smuzhiyun 	uint32_t gds_save_mask_lo;
800*4882a593Smuzhiyun 	uint32_t gds_save_mask_hi;
801*4882a593Smuzhiyun 	uint32_t ctx_save_base_addr_lo;
802*4882a593Smuzhiyun 	uint32_t ctx_save_base_addr_hi;
803*4882a593Smuzhiyun 	uint32_t reserved_126;
804*4882a593Smuzhiyun 	uint32_t reserved_127;
805*4882a593Smuzhiyun 	uint32_t cp_mqd_base_addr_lo;
806*4882a593Smuzhiyun 	uint32_t cp_mqd_base_addr_hi;
807*4882a593Smuzhiyun 	uint32_t cp_hqd_active;
808*4882a593Smuzhiyun 	uint32_t cp_hqd_vmid;
809*4882a593Smuzhiyun 	uint32_t cp_hqd_persistent_state;
810*4882a593Smuzhiyun 	uint32_t cp_hqd_pipe_priority;
811*4882a593Smuzhiyun 	uint32_t cp_hqd_queue_priority;
812*4882a593Smuzhiyun 	uint32_t cp_hqd_quantum;
813*4882a593Smuzhiyun 	uint32_t cp_hqd_pq_base_lo;
814*4882a593Smuzhiyun 	uint32_t cp_hqd_pq_base_hi;
815*4882a593Smuzhiyun 	uint32_t cp_hqd_pq_rptr;
816*4882a593Smuzhiyun 	uint32_t cp_hqd_pq_rptr_report_addr_lo;
817*4882a593Smuzhiyun 	uint32_t cp_hqd_pq_rptr_report_addr_hi;
818*4882a593Smuzhiyun 	uint32_t cp_hqd_pq_wptr_poll_addr_lo;
819*4882a593Smuzhiyun 	uint32_t cp_hqd_pq_wptr_poll_addr_hi;
820*4882a593Smuzhiyun 	uint32_t cp_hqd_pq_doorbell_control;
821*4882a593Smuzhiyun 	uint32_t reserved_144;
822*4882a593Smuzhiyun 	uint32_t cp_hqd_pq_control;
823*4882a593Smuzhiyun 	uint32_t cp_hqd_ib_base_addr_lo;
824*4882a593Smuzhiyun 	uint32_t cp_hqd_ib_base_addr_hi;
825*4882a593Smuzhiyun 	uint32_t cp_hqd_ib_rptr;
826*4882a593Smuzhiyun 	uint32_t cp_hqd_ib_control;
827*4882a593Smuzhiyun 	uint32_t cp_hqd_iq_timer;
828*4882a593Smuzhiyun 	uint32_t cp_hqd_iq_rptr;
829*4882a593Smuzhiyun 	uint32_t cp_hqd_dequeue_request;
830*4882a593Smuzhiyun 	uint32_t cp_hqd_dma_offload;
831*4882a593Smuzhiyun 	uint32_t cp_hqd_sema_cmd;
832*4882a593Smuzhiyun 	uint32_t cp_hqd_msg_type;
833*4882a593Smuzhiyun 	uint32_t cp_hqd_atomic0_preop_lo;
834*4882a593Smuzhiyun 	uint32_t cp_hqd_atomic0_preop_hi;
835*4882a593Smuzhiyun 	uint32_t cp_hqd_atomic1_preop_lo;
836*4882a593Smuzhiyun 	uint32_t cp_hqd_atomic1_preop_hi;
837*4882a593Smuzhiyun 	uint32_t cp_hqd_hq_scheduler0;
838*4882a593Smuzhiyun 	uint32_t cp_hqd_hq_scheduler1;
839*4882a593Smuzhiyun 	uint32_t cp_mqd_control;
840*4882a593Smuzhiyun 	uint32_t cp_hqd_hq_status1;
841*4882a593Smuzhiyun 	uint32_t cp_hqd_hq_control1;
842*4882a593Smuzhiyun 	uint32_t cp_hqd_eop_base_addr_lo;
843*4882a593Smuzhiyun 	uint32_t cp_hqd_eop_base_addr_hi;
844*4882a593Smuzhiyun 	uint32_t cp_hqd_eop_control;
845*4882a593Smuzhiyun 	uint32_t cp_hqd_eop_rptr;
846*4882a593Smuzhiyun 	uint32_t cp_hqd_eop_wptr;
847*4882a593Smuzhiyun 	uint32_t cp_hqd_eop_done_events;
848*4882a593Smuzhiyun 	uint32_t cp_hqd_ctx_save_base_addr_lo;
849*4882a593Smuzhiyun 	uint32_t cp_hqd_ctx_save_base_addr_hi;
850*4882a593Smuzhiyun 	uint32_t cp_hqd_ctx_save_control;
851*4882a593Smuzhiyun 	uint32_t cp_hqd_cntl_stack_offset;
852*4882a593Smuzhiyun 	uint32_t cp_hqd_cntl_stack_size;
853*4882a593Smuzhiyun 	uint32_t cp_hqd_wg_state_offset;
854*4882a593Smuzhiyun 	uint32_t cp_hqd_ctx_save_size;
855*4882a593Smuzhiyun 	uint32_t cp_hqd_gds_resource_state;
856*4882a593Smuzhiyun 	uint32_t cp_hqd_error;
857*4882a593Smuzhiyun 	uint32_t cp_hqd_eop_wptr_mem;
858*4882a593Smuzhiyun 	uint32_t cp_hqd_aql_control;
859*4882a593Smuzhiyun 	uint32_t cp_hqd_pq_wptr_lo;
860*4882a593Smuzhiyun 	uint32_t cp_hqd_pq_wptr_hi;
861*4882a593Smuzhiyun 	uint32_t cp_hqd_suspend_cntl_stack_offset;
862*4882a593Smuzhiyun 	uint32_t cp_hqd_suspend_cntl_stack_dw_cnt;
863*4882a593Smuzhiyun 	uint32_t cp_hqd_suspend_wg_state_offset;
864*4882a593Smuzhiyun 	uint32_t reserved_187;
865*4882a593Smuzhiyun 	uint32_t reserved_188;
866*4882a593Smuzhiyun 	uint32_t reserved_189;
867*4882a593Smuzhiyun 	uint32_t reserved_190;
868*4882a593Smuzhiyun 	uint32_t reserved_191;
869*4882a593Smuzhiyun 	uint32_t iqtimer_pkt_header;
870*4882a593Smuzhiyun 	uint32_t iqtimer_pkt_dw0;
871*4882a593Smuzhiyun 	uint32_t iqtimer_pkt_dw1;
872*4882a593Smuzhiyun 	uint32_t iqtimer_pkt_dw2;
873*4882a593Smuzhiyun 	uint32_t iqtimer_pkt_dw3;
874*4882a593Smuzhiyun 	uint32_t iqtimer_pkt_dw4;
875*4882a593Smuzhiyun 	uint32_t iqtimer_pkt_dw5;
876*4882a593Smuzhiyun 	uint32_t iqtimer_pkt_dw6;
877*4882a593Smuzhiyun 	uint32_t iqtimer_pkt_dw7;
878*4882a593Smuzhiyun 	uint32_t iqtimer_pkt_dw8;
879*4882a593Smuzhiyun 	uint32_t iqtimer_pkt_dw9;
880*4882a593Smuzhiyun 	uint32_t iqtimer_pkt_dw10;
881*4882a593Smuzhiyun 	uint32_t iqtimer_pkt_dw11;
882*4882a593Smuzhiyun 	uint32_t iqtimer_pkt_dw12;
883*4882a593Smuzhiyun 	uint32_t iqtimer_pkt_dw13;
884*4882a593Smuzhiyun 	uint32_t iqtimer_pkt_dw14;
885*4882a593Smuzhiyun 	uint32_t iqtimer_pkt_dw15;
886*4882a593Smuzhiyun 	uint32_t iqtimer_pkt_dw16;
887*4882a593Smuzhiyun 	uint32_t iqtimer_pkt_dw17;
888*4882a593Smuzhiyun 	uint32_t iqtimer_pkt_dw18;
889*4882a593Smuzhiyun 	uint32_t iqtimer_pkt_dw19;
890*4882a593Smuzhiyun 	uint32_t iqtimer_pkt_dw20;
891*4882a593Smuzhiyun 	uint32_t iqtimer_pkt_dw21;
892*4882a593Smuzhiyun 	uint32_t iqtimer_pkt_dw22;
893*4882a593Smuzhiyun 	uint32_t iqtimer_pkt_dw23;
894*4882a593Smuzhiyun 	uint32_t iqtimer_pkt_dw24;
895*4882a593Smuzhiyun 	uint32_t iqtimer_pkt_dw25;
896*4882a593Smuzhiyun 	uint32_t iqtimer_pkt_dw26;
897*4882a593Smuzhiyun 	uint32_t iqtimer_pkt_dw27;
898*4882a593Smuzhiyun 	uint32_t iqtimer_pkt_dw28;
899*4882a593Smuzhiyun 	uint32_t iqtimer_pkt_dw29;
900*4882a593Smuzhiyun 	uint32_t iqtimer_pkt_dw30;
901*4882a593Smuzhiyun 	uint32_t iqtimer_pkt_dw31;
902*4882a593Smuzhiyun 	uint32_t reserved_225;
903*4882a593Smuzhiyun 	uint32_t reserved_226;
904*4882a593Smuzhiyun 	uint32_t reserved_227;
905*4882a593Smuzhiyun 	uint32_t set_resources_header;
906*4882a593Smuzhiyun 	uint32_t set_resources_dw1;
907*4882a593Smuzhiyun 	uint32_t set_resources_dw2;
908*4882a593Smuzhiyun 	uint32_t set_resources_dw3;
909*4882a593Smuzhiyun 	uint32_t set_resources_dw4;
910*4882a593Smuzhiyun 	uint32_t set_resources_dw5;
911*4882a593Smuzhiyun 	uint32_t set_resources_dw6;
912*4882a593Smuzhiyun 	uint32_t set_resources_dw7;
913*4882a593Smuzhiyun 	uint32_t reserved_236;
914*4882a593Smuzhiyun 	uint32_t reserved_237;
915*4882a593Smuzhiyun 	uint32_t reserved_238;
916*4882a593Smuzhiyun 	uint32_t reserved_239;
917*4882a593Smuzhiyun 	uint32_t queue_doorbell_id0;
918*4882a593Smuzhiyun 	uint32_t queue_doorbell_id1;
919*4882a593Smuzhiyun 	uint32_t queue_doorbell_id2;
920*4882a593Smuzhiyun 	uint32_t queue_doorbell_id3;
921*4882a593Smuzhiyun 	uint32_t queue_doorbell_id4;
922*4882a593Smuzhiyun 	uint32_t queue_doorbell_id5;
923*4882a593Smuzhiyun 	uint32_t queue_doorbell_id6;
924*4882a593Smuzhiyun 	uint32_t queue_doorbell_id7;
925*4882a593Smuzhiyun 	uint32_t queue_doorbell_id8;
926*4882a593Smuzhiyun 	uint32_t queue_doorbell_id9;
927*4882a593Smuzhiyun 	uint32_t queue_doorbell_id10;
928*4882a593Smuzhiyun 	uint32_t queue_doorbell_id11;
929*4882a593Smuzhiyun 	uint32_t queue_doorbell_id12;
930*4882a593Smuzhiyun 	uint32_t queue_doorbell_id13;
931*4882a593Smuzhiyun 	uint32_t queue_doorbell_id14;
932*4882a593Smuzhiyun 	uint32_t queue_doorbell_id15;
933*4882a593Smuzhiyun 	uint32_t reserved_256;
934*4882a593Smuzhiyun 	uint32_t reserved_257;
935*4882a593Smuzhiyun 	uint32_t reserved_258;
936*4882a593Smuzhiyun 	uint32_t reserved_259;
937*4882a593Smuzhiyun 	uint32_t reserved_260;
938*4882a593Smuzhiyun 	uint32_t reserved_261;
939*4882a593Smuzhiyun 	uint32_t reserved_262;
940*4882a593Smuzhiyun 	uint32_t reserved_263;
941*4882a593Smuzhiyun 	uint32_t reserved_264;
942*4882a593Smuzhiyun 	uint32_t reserved_265;
943*4882a593Smuzhiyun 	uint32_t reserved_266;
944*4882a593Smuzhiyun 	uint32_t reserved_267;
945*4882a593Smuzhiyun 	uint32_t reserved_268;
946*4882a593Smuzhiyun 	uint32_t reserved_269;
947*4882a593Smuzhiyun 	uint32_t reserved_270;
948*4882a593Smuzhiyun 	uint32_t reserved_271;
949*4882a593Smuzhiyun 	uint32_t reserved_272;
950*4882a593Smuzhiyun 	uint32_t reserved_273;
951*4882a593Smuzhiyun 	uint32_t reserved_274;
952*4882a593Smuzhiyun 	uint32_t reserved_275;
953*4882a593Smuzhiyun 	uint32_t reserved_276;
954*4882a593Smuzhiyun 	uint32_t reserved_277;
955*4882a593Smuzhiyun 	uint32_t reserved_278;
956*4882a593Smuzhiyun 	uint32_t reserved_279;
957*4882a593Smuzhiyun 	uint32_t reserved_280;
958*4882a593Smuzhiyun 	uint32_t reserved_281;
959*4882a593Smuzhiyun 	uint32_t reserved_282;
960*4882a593Smuzhiyun 	uint32_t reserved_283;
961*4882a593Smuzhiyun 	uint32_t reserved_284;
962*4882a593Smuzhiyun 	uint32_t reserved_285;
963*4882a593Smuzhiyun 	uint32_t reserved_286;
964*4882a593Smuzhiyun 	uint32_t reserved_287;
965*4882a593Smuzhiyun 	uint32_t reserved_288;
966*4882a593Smuzhiyun 	uint32_t reserved_289;
967*4882a593Smuzhiyun 	uint32_t reserved_290;
968*4882a593Smuzhiyun 	uint32_t reserved_291;
969*4882a593Smuzhiyun 	uint32_t reserved_292;
970*4882a593Smuzhiyun 	uint32_t reserved_293;
971*4882a593Smuzhiyun 	uint32_t reserved_294;
972*4882a593Smuzhiyun 	uint32_t reserved_295;
973*4882a593Smuzhiyun 	uint32_t reserved_296;
974*4882a593Smuzhiyun 	uint32_t reserved_297;
975*4882a593Smuzhiyun 	uint32_t reserved_298;
976*4882a593Smuzhiyun 	uint32_t reserved_299;
977*4882a593Smuzhiyun 	uint32_t reserved_300;
978*4882a593Smuzhiyun 	uint32_t reserved_301;
979*4882a593Smuzhiyun 	uint32_t reserved_302;
980*4882a593Smuzhiyun 	uint32_t reserved_303;
981*4882a593Smuzhiyun 	uint32_t reserved_304;
982*4882a593Smuzhiyun 	uint32_t reserved_305;
983*4882a593Smuzhiyun 	uint32_t reserved_306;
984*4882a593Smuzhiyun 	uint32_t reserved_307;
985*4882a593Smuzhiyun 	uint32_t reserved_308;
986*4882a593Smuzhiyun 	uint32_t reserved_309;
987*4882a593Smuzhiyun 	uint32_t reserved_310;
988*4882a593Smuzhiyun 	uint32_t reserved_311;
989*4882a593Smuzhiyun 	uint32_t reserved_312;
990*4882a593Smuzhiyun 	uint32_t reserved_313;
991*4882a593Smuzhiyun 	uint32_t reserved_314;
992*4882a593Smuzhiyun 	uint32_t reserved_315;
993*4882a593Smuzhiyun 	uint32_t reserved_316;
994*4882a593Smuzhiyun 	uint32_t reserved_317;
995*4882a593Smuzhiyun 	uint32_t reserved_318;
996*4882a593Smuzhiyun 	uint32_t reserved_319;
997*4882a593Smuzhiyun 	uint32_t reserved_320;
998*4882a593Smuzhiyun 	uint32_t reserved_321;
999*4882a593Smuzhiyun 	uint32_t reserved_322;
1000*4882a593Smuzhiyun 	uint32_t reserved_323;
1001*4882a593Smuzhiyun 	uint32_t reserved_324;
1002*4882a593Smuzhiyun 	uint32_t reserved_325;
1003*4882a593Smuzhiyun 	uint32_t reserved_326;
1004*4882a593Smuzhiyun 	uint32_t reserved_327;
1005*4882a593Smuzhiyun 	uint32_t reserved_328;
1006*4882a593Smuzhiyun 	uint32_t reserved_329;
1007*4882a593Smuzhiyun 	uint32_t reserved_330;
1008*4882a593Smuzhiyun 	uint32_t reserved_331;
1009*4882a593Smuzhiyun 	uint32_t reserved_332;
1010*4882a593Smuzhiyun 	uint32_t reserved_333;
1011*4882a593Smuzhiyun 	uint32_t reserved_334;
1012*4882a593Smuzhiyun 	uint32_t reserved_335;
1013*4882a593Smuzhiyun 	uint32_t reserved_336;
1014*4882a593Smuzhiyun 	uint32_t reserved_337;
1015*4882a593Smuzhiyun 	uint32_t reserved_338;
1016*4882a593Smuzhiyun 	uint32_t reserved_339;
1017*4882a593Smuzhiyun 	uint32_t reserved_340;
1018*4882a593Smuzhiyun 	uint32_t reserved_341;
1019*4882a593Smuzhiyun 	uint32_t reserved_342;
1020*4882a593Smuzhiyun 	uint32_t reserved_343;
1021*4882a593Smuzhiyun 	uint32_t reserved_344;
1022*4882a593Smuzhiyun 	uint32_t reserved_345;
1023*4882a593Smuzhiyun 	uint32_t reserved_346;
1024*4882a593Smuzhiyun 	uint32_t reserved_347;
1025*4882a593Smuzhiyun 	uint32_t reserved_348;
1026*4882a593Smuzhiyun 	uint32_t reserved_349;
1027*4882a593Smuzhiyun 	uint32_t reserved_350;
1028*4882a593Smuzhiyun 	uint32_t reserved_351;
1029*4882a593Smuzhiyun 	uint32_t reserved_352;
1030*4882a593Smuzhiyun 	uint32_t reserved_353;
1031*4882a593Smuzhiyun 	uint32_t reserved_354;
1032*4882a593Smuzhiyun 	uint32_t reserved_355;
1033*4882a593Smuzhiyun 	uint32_t reserved_356;
1034*4882a593Smuzhiyun 	uint32_t reserved_357;
1035*4882a593Smuzhiyun 	uint32_t reserved_358;
1036*4882a593Smuzhiyun 	uint32_t reserved_359;
1037*4882a593Smuzhiyun 	uint32_t reserved_360;
1038*4882a593Smuzhiyun 	uint32_t reserved_361;
1039*4882a593Smuzhiyun 	uint32_t reserved_362;
1040*4882a593Smuzhiyun 	uint32_t reserved_363;
1041*4882a593Smuzhiyun 	uint32_t reserved_364;
1042*4882a593Smuzhiyun 	uint32_t reserved_365;
1043*4882a593Smuzhiyun 	uint32_t reserved_366;
1044*4882a593Smuzhiyun 	uint32_t reserved_367;
1045*4882a593Smuzhiyun 	uint32_t reserved_368;
1046*4882a593Smuzhiyun 	uint32_t reserved_369;
1047*4882a593Smuzhiyun 	uint32_t reserved_370;
1048*4882a593Smuzhiyun 	uint32_t reserved_371;
1049*4882a593Smuzhiyun 	uint32_t reserved_372;
1050*4882a593Smuzhiyun 	uint32_t reserved_373;
1051*4882a593Smuzhiyun 	uint32_t reserved_374;
1052*4882a593Smuzhiyun 	uint32_t reserved_375;
1053*4882a593Smuzhiyun 	uint32_t reserved_376;
1054*4882a593Smuzhiyun 	uint32_t reserved_377;
1055*4882a593Smuzhiyun 	uint32_t reserved_378;
1056*4882a593Smuzhiyun 	uint32_t reserved_379;
1057*4882a593Smuzhiyun 	uint32_t reserved_380;
1058*4882a593Smuzhiyun 	uint32_t reserved_381;
1059*4882a593Smuzhiyun 	uint32_t reserved_382;
1060*4882a593Smuzhiyun 	uint32_t reserved_383;
1061*4882a593Smuzhiyun 	uint32_t reserved_384;
1062*4882a593Smuzhiyun 	uint32_t reserved_385;
1063*4882a593Smuzhiyun 	uint32_t reserved_386;
1064*4882a593Smuzhiyun 	uint32_t reserved_387;
1065*4882a593Smuzhiyun 	uint32_t reserved_388;
1066*4882a593Smuzhiyun 	uint32_t reserved_389;
1067*4882a593Smuzhiyun 	uint32_t reserved_390;
1068*4882a593Smuzhiyun 	uint32_t reserved_391;
1069*4882a593Smuzhiyun 	uint32_t reserved_392;
1070*4882a593Smuzhiyun 	uint32_t reserved_393;
1071*4882a593Smuzhiyun 	uint32_t reserved_394;
1072*4882a593Smuzhiyun 	uint32_t reserved_395;
1073*4882a593Smuzhiyun 	uint32_t reserved_396;
1074*4882a593Smuzhiyun 	uint32_t reserved_397;
1075*4882a593Smuzhiyun 	uint32_t reserved_398;
1076*4882a593Smuzhiyun 	uint32_t reserved_399;
1077*4882a593Smuzhiyun 	uint32_t reserved_400;
1078*4882a593Smuzhiyun 	uint32_t reserved_401;
1079*4882a593Smuzhiyun 	uint32_t reserved_402;
1080*4882a593Smuzhiyun 	uint32_t reserved_403;
1081*4882a593Smuzhiyun 	uint32_t reserved_404;
1082*4882a593Smuzhiyun 	uint32_t reserved_405;
1083*4882a593Smuzhiyun 	uint32_t reserved_406;
1084*4882a593Smuzhiyun 	uint32_t reserved_407;
1085*4882a593Smuzhiyun 	uint32_t reserved_408;
1086*4882a593Smuzhiyun 	uint32_t reserved_409;
1087*4882a593Smuzhiyun 	uint32_t reserved_410;
1088*4882a593Smuzhiyun 	uint32_t reserved_411;
1089*4882a593Smuzhiyun 	uint32_t reserved_412;
1090*4882a593Smuzhiyun 	uint32_t reserved_413;
1091*4882a593Smuzhiyun 	uint32_t reserved_414;
1092*4882a593Smuzhiyun 	uint32_t reserved_415;
1093*4882a593Smuzhiyun 	uint32_t reserved_416;
1094*4882a593Smuzhiyun 	uint32_t reserved_417;
1095*4882a593Smuzhiyun 	uint32_t reserved_418;
1096*4882a593Smuzhiyun 	uint32_t reserved_419;
1097*4882a593Smuzhiyun 	uint32_t reserved_420;
1098*4882a593Smuzhiyun 	uint32_t reserved_421;
1099*4882a593Smuzhiyun 	uint32_t reserved_422;
1100*4882a593Smuzhiyun 	uint32_t reserved_423;
1101*4882a593Smuzhiyun 	uint32_t reserved_424;
1102*4882a593Smuzhiyun 	uint32_t reserved_425;
1103*4882a593Smuzhiyun 	uint32_t reserved_426;
1104*4882a593Smuzhiyun 	uint32_t reserved_427;
1105*4882a593Smuzhiyun 	uint32_t reserved_428;
1106*4882a593Smuzhiyun 	uint32_t reserved_429;
1107*4882a593Smuzhiyun 	uint32_t reserved_430;
1108*4882a593Smuzhiyun 	uint32_t reserved_431;
1109*4882a593Smuzhiyun 	uint32_t reserved_432;
1110*4882a593Smuzhiyun 	uint32_t reserved_433;
1111*4882a593Smuzhiyun 	uint32_t reserved_434;
1112*4882a593Smuzhiyun 	uint32_t reserved_435;
1113*4882a593Smuzhiyun 	uint32_t reserved_436;
1114*4882a593Smuzhiyun 	uint32_t reserved_437;
1115*4882a593Smuzhiyun 	uint32_t reserved_438;
1116*4882a593Smuzhiyun 	uint32_t reserved_439;
1117*4882a593Smuzhiyun 	uint32_t reserved_440;
1118*4882a593Smuzhiyun 	uint32_t reserved_441;
1119*4882a593Smuzhiyun 	uint32_t reserved_442;
1120*4882a593Smuzhiyun 	uint32_t reserved_443;
1121*4882a593Smuzhiyun 	uint32_t reserved_444;
1122*4882a593Smuzhiyun 	uint32_t reserved_445;
1123*4882a593Smuzhiyun 	uint32_t reserved_446;
1124*4882a593Smuzhiyun 	uint32_t reserved_447;
1125*4882a593Smuzhiyun 	uint32_t reserved_448;
1126*4882a593Smuzhiyun 	uint32_t reserved_449;
1127*4882a593Smuzhiyun 	uint32_t reserved_450;
1128*4882a593Smuzhiyun 	uint32_t reserved_451;
1129*4882a593Smuzhiyun 	uint32_t reserved_452;
1130*4882a593Smuzhiyun 	uint32_t reserved_453;
1131*4882a593Smuzhiyun 	uint32_t reserved_454;
1132*4882a593Smuzhiyun 	uint32_t reserved_455;
1133*4882a593Smuzhiyun 	uint32_t reserved_456;
1134*4882a593Smuzhiyun 	uint32_t reserved_457;
1135*4882a593Smuzhiyun 	uint32_t reserved_458;
1136*4882a593Smuzhiyun 	uint32_t reserved_459;
1137*4882a593Smuzhiyun 	uint32_t reserved_460;
1138*4882a593Smuzhiyun 	uint32_t reserved_461;
1139*4882a593Smuzhiyun 	uint32_t reserved_462;
1140*4882a593Smuzhiyun 	uint32_t reserved_463;
1141*4882a593Smuzhiyun 	uint32_t reserved_464;
1142*4882a593Smuzhiyun 	uint32_t reserved_465;
1143*4882a593Smuzhiyun 	uint32_t reserved_466;
1144*4882a593Smuzhiyun 	uint32_t reserved_467;
1145*4882a593Smuzhiyun 	uint32_t reserved_468;
1146*4882a593Smuzhiyun 	uint32_t reserved_469;
1147*4882a593Smuzhiyun 	uint32_t reserved_470;
1148*4882a593Smuzhiyun 	uint32_t reserved_471;
1149*4882a593Smuzhiyun 	uint32_t reserved_472;
1150*4882a593Smuzhiyun 	uint32_t reserved_473;
1151*4882a593Smuzhiyun 	uint32_t reserved_474;
1152*4882a593Smuzhiyun 	uint32_t reserved_475;
1153*4882a593Smuzhiyun 	uint32_t reserved_476;
1154*4882a593Smuzhiyun 	uint32_t reserved_477;
1155*4882a593Smuzhiyun 	uint32_t reserved_478;
1156*4882a593Smuzhiyun 	uint32_t reserved_479;
1157*4882a593Smuzhiyun 	uint32_t reserved_480;
1158*4882a593Smuzhiyun 	uint32_t reserved_481;
1159*4882a593Smuzhiyun 	uint32_t reserved_482;
1160*4882a593Smuzhiyun 	uint32_t reserved_483;
1161*4882a593Smuzhiyun 	uint32_t reserved_484;
1162*4882a593Smuzhiyun 	uint32_t reserved_485;
1163*4882a593Smuzhiyun 	uint32_t reserved_486;
1164*4882a593Smuzhiyun 	uint32_t reserved_487;
1165*4882a593Smuzhiyun 	uint32_t reserved_488;
1166*4882a593Smuzhiyun 	uint32_t reserved_489;
1167*4882a593Smuzhiyun 	uint32_t reserved_490;
1168*4882a593Smuzhiyun 	uint32_t reserved_491;
1169*4882a593Smuzhiyun 	uint32_t reserved_492;
1170*4882a593Smuzhiyun 	uint32_t reserved_493;
1171*4882a593Smuzhiyun 	uint32_t reserved_494;
1172*4882a593Smuzhiyun 	uint32_t reserved_495;
1173*4882a593Smuzhiyun 	uint32_t reserved_496;
1174*4882a593Smuzhiyun 	uint32_t reserved_497;
1175*4882a593Smuzhiyun 	uint32_t reserved_498;
1176*4882a593Smuzhiyun 	uint32_t reserved_499;
1177*4882a593Smuzhiyun 	uint32_t reserved_500;
1178*4882a593Smuzhiyun 	uint32_t reserved_501;
1179*4882a593Smuzhiyun 	uint32_t reserved_502;
1180*4882a593Smuzhiyun 	uint32_t reserved_503;
1181*4882a593Smuzhiyun 	uint32_t reserved_504;
1182*4882a593Smuzhiyun 	uint32_t reserved_505;
1183*4882a593Smuzhiyun 	uint32_t reserved_506;
1184*4882a593Smuzhiyun 	uint32_t reserved_507;
1185*4882a593Smuzhiyun 	uint32_t reserved_508;
1186*4882a593Smuzhiyun 	uint32_t reserved_509;
1187*4882a593Smuzhiyun 	uint32_t reserved_510;
1188*4882a593Smuzhiyun 	uint32_t reserved_511;
1189*4882a593Smuzhiyun };
1190*4882a593Smuzhiyun 
1191*4882a593Smuzhiyun struct v10_ce_ib_state {
1192*4882a593Smuzhiyun 	/* section of non chained ib part */
1193*4882a593Smuzhiyun 	uint32_t ce_ib_completion_status;
1194*4882a593Smuzhiyun 	uint32_t ce_constegnine_count;
1195*4882a593Smuzhiyun 	uint32_t ce_ibOffset_ib1;
1196*4882a593Smuzhiyun 	uint32_t ce_ibOffset_ib2;
1197*4882a593Smuzhiyun 
1198*4882a593Smuzhiyun 	/* section of chained ib */
1199*4882a593Smuzhiyun 	uint32_t ce_chainib_addrlo_ib1;
1200*4882a593Smuzhiyun 	uint32_t ce_chainib_addrlo_ib2;
1201*4882a593Smuzhiyun 	uint32_t ce_chainib_addrhi_ib1;
1202*4882a593Smuzhiyun 	uint32_t ce_chainib_addrhi_ib2;
1203*4882a593Smuzhiyun 	uint32_t ce_chainib_size_ib1;
1204*4882a593Smuzhiyun 	uint32_t ce_chainib_size_ib2;
1205*4882a593Smuzhiyun }; /* total 10 DWORD */
1206*4882a593Smuzhiyun 
1207*4882a593Smuzhiyun struct v10_de_ib_state {
1208*4882a593Smuzhiyun 	/* section of non chained ib part */
1209*4882a593Smuzhiyun 	uint32_t ib_completion_status;
1210*4882a593Smuzhiyun 	uint32_t de_constEngine_count;
1211*4882a593Smuzhiyun 	uint32_t ib_offset_ib1;
1212*4882a593Smuzhiyun 	uint32_t ib_offset_ib2;
1213*4882a593Smuzhiyun 
1214*4882a593Smuzhiyun 	/* section of chained ib */
1215*4882a593Smuzhiyun 	uint32_t chain_ib_addrlo_ib1;
1216*4882a593Smuzhiyun 	uint32_t chain_ib_addrlo_ib2;
1217*4882a593Smuzhiyun 	uint32_t chain_ib_addrhi_ib1;
1218*4882a593Smuzhiyun 	uint32_t chain_ib_addrhi_ib2;
1219*4882a593Smuzhiyun 	uint32_t chain_ib_size_ib1;
1220*4882a593Smuzhiyun 	uint32_t chain_ib_size_ib2;
1221*4882a593Smuzhiyun 
1222*4882a593Smuzhiyun 	/* section of non chained ib part */
1223*4882a593Smuzhiyun 	uint32_t preamble_begin_ib1;
1224*4882a593Smuzhiyun 	uint32_t preamble_begin_ib2;
1225*4882a593Smuzhiyun 	uint32_t preamble_end_ib1;
1226*4882a593Smuzhiyun 	uint32_t preamble_end_ib2;
1227*4882a593Smuzhiyun 
1228*4882a593Smuzhiyun 	/* section of chained ib */
1229*4882a593Smuzhiyun 	uint32_t chain_ib_pream_addrlo_ib1;
1230*4882a593Smuzhiyun 	uint32_t chain_ib_pream_addrlo_ib2;
1231*4882a593Smuzhiyun 	uint32_t chain_ib_pream_addrhi_ib1;
1232*4882a593Smuzhiyun 	uint32_t chain_ib_pream_addrhi_ib2;
1233*4882a593Smuzhiyun 
1234*4882a593Smuzhiyun 	/* section of non chained ib part */
1235*4882a593Smuzhiyun 	uint32_t draw_indirect_baseLo;
1236*4882a593Smuzhiyun 	uint32_t draw_indirect_baseHi;
1237*4882a593Smuzhiyun 	uint32_t disp_indirect_baseLo;
1238*4882a593Smuzhiyun 	uint32_t disp_indirect_baseHi;
1239*4882a593Smuzhiyun 	uint32_t gds_backup_addrlo;
1240*4882a593Smuzhiyun 	uint32_t gds_backup_addrhi;
1241*4882a593Smuzhiyun 	uint32_t index_base_addrlo;
1242*4882a593Smuzhiyun 	uint32_t index_base_addrhi;
1243*4882a593Smuzhiyun 	uint32_t sample_cntl;
1244*4882a593Smuzhiyun }; /* Total of 27 DWORD */
1245*4882a593Smuzhiyun 
1246*4882a593Smuzhiyun struct v10_gfx_meta_data {
1247*4882a593Smuzhiyun 	/* 10 DWORD, address must be 4KB aligned */
1248*4882a593Smuzhiyun 	struct v10_ce_ib_state ce_payload;
1249*4882a593Smuzhiyun 	uint32_t reserved1[54];
1250*4882a593Smuzhiyun 	/* 27 DWORD, address must be 64B aligned */
1251*4882a593Smuzhiyun 	struct v10_de_ib_state de_payload;
1252*4882a593Smuzhiyun 	/* PFP IB base address which get pre-empted */
1253*4882a593Smuzhiyun 	uint32_t DeIbBaseAddrLo;
1254*4882a593Smuzhiyun 	uint32_t DeIbBaseAddrHi;
1255*4882a593Smuzhiyun 	uint32_t reserved2[931];
1256*4882a593Smuzhiyun }; /* Total of 4K Bytes */
1257*4882a593Smuzhiyun 
1258*4882a593Smuzhiyun #endif /* V10_STRUCTS_H_ */
1259