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