1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24 #ifndef V10_STRUCTS_H_
25 #define V10_STRUCTS_H_
26
27 struct v10_gfx_mqd
28 {
29 uint32_t reserved_0;
30 uint32_t reserved_1;
31 uint32_t reserved_2;
32 uint32_t reserved_3;
33 uint32_t reserved_4;
34 uint32_t reserved_5;
35 uint32_t reserved_6;
36 uint32_t reserved_7;
37 uint32_t reserved_8;
38 uint32_t reserved_9;
39 uint32_t reserved_10;
40 uint32_t reserved_11;
41 uint32_t reserved_12;
42 uint32_t reserved_13;
43 uint32_t reserved_14;
44 uint32_t reserved_15;
45 uint32_t reserved_16;
46 uint32_t reserved_17;
47 uint32_t reserved_18;
48 uint32_t reserved_19;
49 uint32_t reserved_20;
50 uint32_t reserved_21;
51 uint32_t reserved_22;
52 uint32_t reserved_23;
53 uint32_t reserved_24;
54 uint32_t reserved_25;
55 uint32_t reserved_26;
56 uint32_t reserved_27;
57 uint32_t reserved_28;
58 uint32_t reserved_29;
59 uint32_t reserved_30;
60 uint32_t reserved_31;
61 uint32_t reserved_32;
62 uint32_t reserved_33;
63 uint32_t reserved_34;
64 uint32_t reserved_35;
65 uint32_t reserved_36;
66 uint32_t reserved_37;
67 uint32_t reserved_38;
68 uint32_t reserved_39;
69 uint32_t reserved_40;
70 uint32_t reserved_41;
71 uint32_t reserved_42;
72 uint32_t reserved_43;
73 uint32_t reserved_44;
74 uint32_t reserved_45;
75 uint32_t reserved_46;
76 uint32_t reserved_47;
77 uint32_t reserved_48;
78 uint32_t reserved_49;
79 uint32_t reserved_50;
80 uint32_t reserved_51;
81 uint32_t reserved_52;
82 uint32_t reserved_53;
83 uint32_t reserved_54;
84 uint32_t reserved_55;
85 uint32_t reserved_56;
86 uint32_t reserved_57;
87 uint32_t reserved_58;
88 uint32_t reserved_59;
89 uint32_t reserved_60;
90 uint32_t reserved_61;
91 uint32_t reserved_62;
92 uint32_t reserved_63;
93 uint32_t reserved_64;
94 uint32_t reserved_65;
95 uint32_t reserved_66;
96 uint32_t reserved_67;
97 uint32_t reserved_68;
98 uint32_t reserved_69;
99 uint32_t reserved_70;
100 uint32_t reserved_71;
101 uint32_t reserved_72;
102 uint32_t reserved_73;
103 uint32_t reserved_74;
104 uint32_t reserved_75;
105 uint32_t reserved_76;
106 uint32_t reserved_77;
107 uint32_t reserved_78;
108 uint32_t reserved_79;
109 uint32_t reserved_80;
110 uint32_t reserved_81;
111 uint32_t reserved_82;
112 uint32_t reserved_83;
113 uint32_t reserved_84;
114 uint32_t reserved_85;
115 uint32_t reserved_86;
116 uint32_t reserved_87;
117 uint32_t reserved_88;
118 uint32_t reserved_89;
119 uint32_t reserved_90;
120 uint32_t reserved_91;
121 uint32_t reserved_92;
122 uint32_t reserved_93;
123 uint32_t reserved_94;
124 uint32_t reserved_95;
125 uint32_t reserved_96;
126 uint32_t reserved_97;
127 uint32_t reserved_98;
128 uint32_t reserved_99;
129 uint32_t reserved_100;
130 uint32_t reserved_101;
131 uint32_t reserved_102;
132 uint32_t reserved_103;
133 uint32_t reserved_104;
134 uint32_t reserved_105;
135 uint32_t disable_queue;
136 uint32_t reserved_107;
137 uint32_t reserved_108;
138 uint32_t reserved_109;
139 uint32_t reserved_110;
140 uint32_t reserved_111;
141 uint32_t reserved_112;
142 uint32_t reserved_113;
143 uint32_t reserved_114;
144 uint32_t reserved_115;
145 uint32_t reserved_116;
146 uint32_t reserved_117;
147 uint32_t reserved_118;
148 uint32_t reserved_119;
149 uint32_t reserved_120;
150 uint32_t reserved_121;
151 uint32_t reserved_122;
152 uint32_t reserved_123;
153 uint32_t reserved_124;
154 uint32_t reserved_125;
155 uint32_t reserved_126;
156 uint32_t reserved_127;
157 uint32_t cp_mqd_base_addr;
158 uint32_t cp_mqd_base_addr_hi;
159 uint32_t cp_gfx_hqd_active;
160 uint32_t cp_gfx_hqd_vmid;
161 uint32_t reserved_131;
162 uint32_t reserved_132;
163 uint32_t cp_gfx_hqd_queue_priority;
164 uint32_t cp_gfx_hqd_quantum;
165 uint32_t cp_gfx_hqd_base;
166 uint32_t cp_gfx_hqd_base_hi;
167 uint32_t cp_gfx_hqd_rptr;
168 uint32_t cp_gfx_hqd_rptr_addr;
169 uint32_t cp_gfx_hqd_rptr_addr_hi;
170 uint32_t cp_rb_wptr_poll_addr_lo;
171 uint32_t cp_rb_wptr_poll_addr_hi;
172 uint32_t cp_rb_doorbell_control;
173 uint32_t cp_gfx_hqd_offset;
174 uint32_t cp_gfx_hqd_cntl;
175 uint32_t reserved_146;
176 uint32_t reserved_147;
177 uint32_t cp_gfx_hqd_csmd_rptr;
178 uint32_t cp_gfx_hqd_wptr;
179 uint32_t cp_gfx_hqd_wptr_hi;
180 uint32_t reserved_151;
181 uint32_t reserved_152;
182 uint32_t reserved_153;
183 uint32_t reserved_154;
184 uint32_t reserved_155;
185 uint32_t cp_gfx_hqd_mapped;
186 uint32_t cp_gfx_hqd_que_mgr_control;
187 uint32_t reserved_158;
188 uint32_t reserved_159;
189 uint32_t cp_gfx_hqd_hq_status0;
190 uint32_t cp_gfx_hqd_hq_control0;
191 uint32_t cp_gfx_mqd_control;
192 uint32_t reserved_163;
193 uint32_t reserved_164;
194 uint32_t reserved_165;
195 uint32_t reserved_166;
196 uint32_t reserved_167;
197 uint32_t reserved_168;
198 uint32_t reserved_169;
199 uint32_t cp_num_prim_needed_count0_lo;
200 uint32_t cp_num_prim_needed_count0_hi;
201 uint32_t cp_num_prim_needed_count1_lo;
202 uint32_t cp_num_prim_needed_count1_hi;
203 uint32_t cp_num_prim_needed_count2_lo;
204 uint32_t cp_num_prim_needed_count2_hi;
205 uint32_t cp_num_prim_needed_count3_lo;
206 uint32_t cp_num_prim_needed_count3_hi;
207 uint32_t cp_num_prim_written_count0_lo;
208 uint32_t cp_num_prim_written_count0_hi;
209 uint32_t cp_num_prim_written_count1_lo;
210 uint32_t cp_num_prim_written_count1_hi;
211 uint32_t cp_num_prim_written_count2_lo;
212 uint32_t cp_num_prim_written_count2_hi;
213 uint32_t cp_num_prim_written_count3_lo;
214 uint32_t cp_num_prim_written_count3_hi;
215 uint32_t reserved_186;
216 uint32_t reserved_187;
217 uint32_t reserved_188;
218 uint32_t reserved_189;
219 uint32_t mp1_smn_fps_cnt;
220 uint32_t sq_thread_trace_buf0_base;
221 uint32_t sq_thread_trace_buf0_size;
222 uint32_t sq_thread_trace_buf1_base;
223 uint32_t sq_thread_trace_buf1_size;
224 uint32_t sq_thread_trace_wptr;
225 uint32_t sq_thread_trace_mask;
226 uint32_t sq_thread_trace_token_mask;
227 uint32_t sq_thread_trace_ctrl;
228 uint32_t sq_thread_trace_status;
229 uint32_t sq_thread_trace_dropped_cntr;
230 uint32_t sq_thread_trace_finish_done_debug;
231 uint32_t sq_thread_trace_gfx_draw_cntr;
232 uint32_t sq_thread_trace_gfx_marker_cntr;
233 uint32_t sq_thread_trace_hp3d_draw_cntr;
234 uint32_t sq_thread_trace_hp3d_marker_cntr;
235 uint32_t reserved_206;
236 uint32_t reserved_207;
237 uint32_t cp_sc_psinvoc_count0_lo;
238 uint32_t cp_sc_psinvoc_count0_hi;
239 uint32_t cp_pa_cprim_count_lo;
240 uint32_t cp_pa_cprim_count_hi;
241 uint32_t cp_pa_cinvoc_count_lo;
242 uint32_t cp_pa_cinvoc_count_hi;
243 uint32_t cp_vgt_vsinvoc_count_lo;
244 uint32_t cp_vgt_vsinvoc_count_hi;
245 uint32_t cp_vgt_gsinvoc_count_lo;
246 uint32_t cp_vgt_gsinvoc_count_hi;
247 uint32_t cp_vgt_gsprim_count_lo;
248 uint32_t cp_vgt_gsprim_count_hi;
249 uint32_t cp_vgt_iaprim_count_lo;
250 uint32_t cp_vgt_iaprim_count_hi;
251 uint32_t cp_vgt_iavert_count_lo;
252 uint32_t cp_vgt_iavert_count_hi;
253 uint32_t cp_vgt_hsinvoc_count_lo;
254 uint32_t cp_vgt_hsinvoc_count_hi;
255 uint32_t cp_vgt_dsinvoc_count_lo;
256 uint32_t cp_vgt_dsinvoc_count_hi;
257 uint32_t cp_vgt_csinvoc_count_lo;
258 uint32_t cp_vgt_csinvoc_count_hi;
259 uint32_t reserved_230;
260 uint32_t reserved_231;
261 uint32_t reserved_232;
262 uint32_t reserved_233;
263 uint32_t reserved_234;
264 uint32_t reserved_235;
265 uint32_t reserved_236;
266 uint32_t reserved_237;
267 uint32_t reserved_238;
268 uint32_t reserved_239;
269 uint32_t reserved_240;
270 uint32_t reserved_241;
271 uint32_t reserved_242;
272 uint32_t reserved_243;
273 uint32_t reserved_244;
274 uint32_t reserved_245;
275 uint32_t reserved_246;
276 uint32_t reserved_247;
277 uint32_t reserved_248;
278 uint32_t reserved_249;
279 uint32_t reserved_250;
280 uint32_t reserved_251;
281 uint32_t reserved_252;
282 uint32_t reserved_253;
283 uint32_t reserved_254;
284 uint32_t reserved_255;
285 uint32_t reserved_256;
286 uint32_t reserved_257;
287 uint32_t reserved_258;
288 uint32_t reserved_259;
289 uint32_t reserved_260;
290 uint32_t reserved_261;
291 uint32_t reserved_262;
292 uint32_t reserved_263;
293 uint32_t reserved_264;
294 uint32_t reserved_265;
295 uint32_t reserved_266;
296 uint32_t reserved_267;
297 uint32_t vgt_strmout_buffer_filled_size_0;
298 uint32_t vgt_strmout_buffer_filled_size_1;
299 uint32_t vgt_strmout_buffer_filled_size_2;
300 uint32_t vgt_strmout_buffer_filled_size_3;
301 uint32_t reserved_272;
302 uint32_t reserved_273;
303 uint32_t reserved_274;
304 uint32_t reserved_275;
305 uint32_t vgt_dma_max_size;
306 uint32_t vgt_dma_num_instances;
307 uint32_t reserved_278;
308 uint32_t reserved_279;
309 uint32_t reserved_280;
310 uint32_t reserved_281;
311 uint32_t reserved_282;
312 uint32_t reserved_283;
313 uint32_t reserved_284;
314 uint32_t reserved_285;
315 uint32_t reserved_286;
316 uint32_t reserved_287;
317 uint32_t it_set_base_ib_addr_lo;
318 uint32_t it_set_base_ib_addr_hi;
319 uint32_t reserved_290;
320 uint32_t reserved_291;
321 uint32_t reserved_292;
322 uint32_t reserved_293;
323 uint32_t reserved_294;
324 uint32_t reserved_295;
325 uint32_t reserved_296;
326 uint32_t reserved_297;
327 uint32_t reserved_298;
328 uint32_t reserved_299;
329 uint32_t reserved_300;
330 uint32_t reserved_301;
331 uint32_t reserved_302;
332 uint32_t reserved_303;
333 uint32_t reserved_304;
334 uint32_t reserved_305;
335 uint32_t reserved_306;
336 uint32_t reserved_307;
337 uint32_t reserved_308;
338 uint32_t reserved_309;
339 uint32_t reserved_310;
340 uint32_t reserved_311;
341 uint32_t reserved_312;
342 uint32_t reserved_313;
343 uint32_t reserved_314;
344 uint32_t reserved_315;
345 uint32_t reserved_316;
346 uint32_t reserved_317;
347 uint32_t reserved_318;
348 uint32_t reserved_319;
349 uint32_t reserved_320;
350 uint32_t reserved_321;
351 uint32_t reserved_322;
352 uint32_t reserved_323;
353 uint32_t reserved_324;
354 uint32_t reserved_325;
355 uint32_t reserved_326;
356 uint32_t reserved_327;
357 uint32_t reserved_328;
358 uint32_t reserved_329;
359 uint32_t reserved_330;
360 uint32_t reserved_331;
361 uint32_t reserved_332;
362 uint32_t reserved_333;
363 uint32_t reserved_334;
364 uint32_t reserved_335;
365 uint32_t reserved_336;
366 uint32_t reserved_337;
367 uint32_t reserved_338;
368 uint32_t reserved_339;
369 uint32_t reserved_340;
370 uint32_t reserved_341;
371 uint32_t reserved_342;
372 uint32_t reserved_343;
373 uint32_t reserved_344;
374 uint32_t reserved_345;
375 uint32_t reserved_346;
376 uint32_t reserved_347;
377 uint32_t reserved_348;
378 uint32_t reserved_349;
379 uint32_t reserved_350;
380 uint32_t reserved_351;
381 uint32_t reserved_352;
382 uint32_t reserved_353;
383 uint32_t reserved_354;
384 uint32_t reserved_355;
385 uint32_t spi_shader_pgm_rsrc3_ps;
386 uint32_t spi_shader_pgm_rsrc3_vs;
387 uint32_t spi_shader_pgm_rsrc3_gs;
388 uint32_t spi_shader_pgm_rsrc3_hs;
389 uint32_t spi_shader_pgm_rsrc4_ps;
390 uint32_t spi_shader_pgm_rsrc4_vs;
391 uint32_t spi_shader_pgm_rsrc4_gs;
392 uint32_t spi_shader_pgm_rsrc4_hs;
393 uint32_t db_occlusion_count0_low_00;
394 uint32_t db_occlusion_count0_hi_00;
395 uint32_t db_occlusion_count1_low_00;
396 uint32_t db_occlusion_count1_hi_00;
397 uint32_t db_occlusion_count2_low_00;
398 uint32_t db_occlusion_count2_hi_00;
399 uint32_t db_occlusion_count3_low_00;
400 uint32_t db_occlusion_count3_hi_00;
401 uint32_t db_occlusion_count0_low_01;
402 uint32_t db_occlusion_count0_hi_01;
403 uint32_t db_occlusion_count1_low_01;
404 uint32_t db_occlusion_count1_hi_01;
405 uint32_t db_occlusion_count2_low_01;
406 uint32_t db_occlusion_count2_hi_01;
407 uint32_t db_occlusion_count3_low_01;
408 uint32_t db_occlusion_count3_hi_01;
409 uint32_t db_occlusion_count0_low_02;
410 uint32_t db_occlusion_count0_hi_02;
411 uint32_t db_occlusion_count1_low_02;
412 uint32_t db_occlusion_count1_hi_02;
413 uint32_t db_occlusion_count2_low_02;
414 uint32_t db_occlusion_count2_hi_02;
415 uint32_t db_occlusion_count3_low_02;
416 uint32_t db_occlusion_count3_hi_02;
417 uint32_t db_occlusion_count0_low_03;
418 uint32_t db_occlusion_count0_hi_03;
419 uint32_t db_occlusion_count1_low_03;
420 uint32_t db_occlusion_count1_hi_03;
421 uint32_t db_occlusion_count2_low_03;
422 uint32_t db_occlusion_count2_hi_03;
423 uint32_t db_occlusion_count3_low_03;
424 uint32_t db_occlusion_count3_hi_03;
425 uint32_t db_occlusion_count0_low_04;
426 uint32_t db_occlusion_count0_hi_04;
427 uint32_t db_occlusion_count1_low_04;
428 uint32_t db_occlusion_count1_hi_04;
429 uint32_t db_occlusion_count2_low_04;
430 uint32_t db_occlusion_count2_hi_04;
431 uint32_t db_occlusion_count3_low_04;
432 uint32_t db_occlusion_count3_hi_04;
433 uint32_t db_occlusion_count0_low_05;
434 uint32_t db_occlusion_count0_hi_05;
435 uint32_t db_occlusion_count1_low_05;
436 uint32_t db_occlusion_count1_hi_05;
437 uint32_t db_occlusion_count2_low_05;
438 uint32_t db_occlusion_count2_hi_05;
439 uint32_t db_occlusion_count3_low_05;
440 uint32_t db_occlusion_count3_hi_05;
441 uint32_t db_occlusion_count0_low_06;
442 uint32_t db_occlusion_count0_hi_06;
443 uint32_t db_occlusion_count1_low_06;
444 uint32_t db_occlusion_count1_hi_06;
445 uint32_t db_occlusion_count2_low_06;
446 uint32_t db_occlusion_count2_hi_06;
447 uint32_t db_occlusion_count3_low_06;
448 uint32_t db_occlusion_count3_hi_06;
449 uint32_t db_occlusion_count0_low_07;
450 uint32_t db_occlusion_count0_hi_07;
451 uint32_t db_occlusion_count1_low_07;
452 uint32_t db_occlusion_count1_hi_07;
453 uint32_t db_occlusion_count2_low_07;
454 uint32_t db_occlusion_count2_hi_07;
455 uint32_t db_occlusion_count3_low_07;
456 uint32_t db_occlusion_count3_hi_07;
457 uint32_t db_occlusion_count0_low_10;
458 uint32_t db_occlusion_count0_hi_10;
459 uint32_t db_occlusion_count1_low_10;
460 uint32_t db_occlusion_count1_hi_10;
461 uint32_t db_occlusion_count2_low_10;
462 uint32_t db_occlusion_count2_hi_10;
463 uint32_t db_occlusion_count3_low_10;
464 uint32_t db_occlusion_count3_hi_10;
465 uint32_t db_occlusion_count0_low_11;
466 uint32_t db_occlusion_count0_hi_11;
467 uint32_t db_occlusion_count1_low_11;
468 uint32_t db_occlusion_count1_hi_11;
469 uint32_t db_occlusion_count2_low_11;
470 uint32_t db_occlusion_count2_hi_11;
471 uint32_t db_occlusion_count3_low_11;
472 uint32_t db_occlusion_count3_hi_11;
473 uint32_t db_occlusion_count0_low_12;
474 uint32_t db_occlusion_count0_hi_12;
475 uint32_t db_occlusion_count1_low_12;
476 uint32_t db_occlusion_count1_hi_12;
477 uint32_t db_occlusion_count2_low_12;
478 uint32_t db_occlusion_count2_hi_12;
479 uint32_t db_occlusion_count3_low_12;
480 uint32_t db_occlusion_count3_hi_12;
481 uint32_t db_occlusion_count0_low_13;
482 uint32_t db_occlusion_count0_hi_13;
483 uint32_t db_occlusion_count1_low_13;
484 uint32_t db_occlusion_count1_hi_13;
485 uint32_t db_occlusion_count2_low_13;
486 uint32_t db_occlusion_count2_hi_13;
487 uint32_t db_occlusion_count3_low_13;
488 uint32_t db_occlusion_count3_hi_13;
489 uint32_t db_occlusion_count0_low_14;
490 uint32_t db_occlusion_count0_hi_14;
491 uint32_t db_occlusion_count1_low_14;
492 uint32_t db_occlusion_count1_hi_14;
493 uint32_t db_occlusion_count2_low_14;
494 uint32_t db_occlusion_count2_hi_14;
495 uint32_t db_occlusion_count3_low_14;
496 uint32_t db_occlusion_count3_hi_14;
497 uint32_t db_occlusion_count0_low_15;
498 uint32_t db_occlusion_count0_hi_15;
499 uint32_t db_occlusion_count1_low_15;
500 uint32_t db_occlusion_count1_hi_15;
501 uint32_t db_occlusion_count2_low_15;
502 uint32_t db_occlusion_count2_hi_15;
503 uint32_t db_occlusion_count3_low_15;
504 uint32_t db_occlusion_count3_hi_15;
505 uint32_t db_occlusion_count0_low_16;
506 uint32_t db_occlusion_count0_hi_16;
507 uint32_t db_occlusion_count1_low_16;
508 uint32_t db_occlusion_count1_hi_16;
509 uint32_t db_occlusion_count2_low_16;
510 uint32_t db_occlusion_count2_hi_16;
511 uint32_t db_occlusion_count3_low_16;
512 uint32_t db_occlusion_count3_hi_16;
513 uint32_t db_occlusion_count0_low_17;
514 uint32_t db_occlusion_count0_hi_17;
515 uint32_t db_occlusion_count1_low_17;
516 uint32_t db_occlusion_count1_hi_17;
517 uint32_t db_occlusion_count2_low_17;
518 uint32_t db_occlusion_count2_hi_17;
519 uint32_t db_occlusion_count3_low_17;
520 uint32_t db_occlusion_count3_hi_17;
521 uint32_t reserved_492;
522 uint32_t reserved_493;
523 uint32_t reserved_494;
524 uint32_t reserved_495;
525 uint32_t reserved_496;
526 uint32_t reserved_497;
527 uint32_t reserved_498;
528 uint32_t reserved_499;
529 uint32_t reserved_500;
530 uint32_t reserved_501;
531 uint32_t reserved_502;
532 uint32_t reserved_503;
533 uint32_t reserved_504;
534 uint32_t reserved_505;
535 uint32_t reserved_506;
536 uint32_t reserved_507;
537 uint32_t reserved_508;
538 uint32_t reserved_509;
539 uint32_t reserved_510;
540 uint32_t reserved_511;
541 };
542
543 struct v10_sdma_mqd {
544 uint32_t sdmax_rlcx_rb_cntl;
545 uint32_t sdmax_rlcx_rb_base;
546 uint32_t sdmax_rlcx_rb_base_hi;
547 uint32_t sdmax_rlcx_rb_rptr;
548 uint32_t sdmax_rlcx_rb_rptr_hi;
549 uint32_t sdmax_rlcx_rb_wptr;
550 uint32_t sdmax_rlcx_rb_wptr_hi;
551 uint32_t sdmax_rlcx_rb_wptr_poll_cntl;
552 uint32_t sdmax_rlcx_rb_rptr_addr_hi;
553 uint32_t sdmax_rlcx_rb_rptr_addr_lo;
554 uint32_t sdmax_rlcx_ib_cntl;
555 uint32_t sdmax_rlcx_ib_rptr;
556 uint32_t sdmax_rlcx_ib_offset;
557 uint32_t sdmax_rlcx_ib_base_lo;
558 uint32_t sdmax_rlcx_ib_base_hi;
559 uint32_t sdmax_rlcx_ib_size;
560 uint32_t sdmax_rlcx_skip_cntl;
561 uint32_t sdmax_rlcx_context_status;
562 uint32_t sdmax_rlcx_doorbell;
563 uint32_t sdmax_rlcx_status;
564 uint32_t sdmax_rlcx_doorbell_log;
565 uint32_t sdmax_rlcx_watermark;
566 uint32_t sdmax_rlcx_doorbell_offset;
567 uint32_t sdmax_rlcx_csa_addr_lo;
568 uint32_t sdmax_rlcx_csa_addr_hi;
569 uint32_t sdmax_rlcx_ib_sub_remain;
570 uint32_t sdmax_rlcx_preempt;
571 uint32_t sdmax_rlcx_dummy_reg;
572 uint32_t sdmax_rlcx_rb_wptr_poll_addr_hi;
573 uint32_t sdmax_rlcx_rb_wptr_poll_addr_lo;
574 uint32_t sdmax_rlcx_rb_aql_cntl;
575 uint32_t sdmax_rlcx_minor_ptr_update;
576 uint32_t sdmax_rlcx_midcmd_data0;
577 uint32_t sdmax_rlcx_midcmd_data1;
578 uint32_t sdmax_rlcx_midcmd_data2;
579 uint32_t sdmax_rlcx_midcmd_data3;
580 uint32_t sdmax_rlcx_midcmd_data4;
581 uint32_t sdmax_rlcx_midcmd_data5;
582 uint32_t sdmax_rlcx_midcmd_data6;
583 uint32_t sdmax_rlcx_midcmd_data7;
584 uint32_t sdmax_rlcx_midcmd_data8;
585 uint32_t sdmax_rlcx_midcmd_cntl;
586 uint32_t reserved_42;
587 uint32_t reserved_43;
588 uint32_t reserved_44;
589 uint32_t reserved_45;
590 uint32_t reserved_46;
591 uint32_t reserved_47;
592 uint32_t reserved_48;
593 uint32_t reserved_49;
594 uint32_t reserved_50;
595 uint32_t reserved_51;
596 uint32_t reserved_52;
597 uint32_t reserved_53;
598 uint32_t reserved_54;
599 uint32_t reserved_55;
600 uint32_t reserved_56;
601 uint32_t reserved_57;
602 uint32_t reserved_58;
603 uint32_t reserved_59;
604 uint32_t reserved_60;
605 uint32_t reserved_61;
606 uint32_t reserved_62;
607 uint32_t reserved_63;
608 uint32_t reserved_64;
609 uint32_t reserved_65;
610 uint32_t reserved_66;
611 uint32_t reserved_67;
612 uint32_t reserved_68;
613 uint32_t reserved_69;
614 uint32_t reserved_70;
615 uint32_t reserved_71;
616 uint32_t reserved_72;
617 uint32_t reserved_73;
618 uint32_t reserved_74;
619 uint32_t reserved_75;
620 uint32_t reserved_76;
621 uint32_t reserved_77;
622 uint32_t reserved_78;
623 uint32_t reserved_79;
624 uint32_t reserved_80;
625 uint32_t reserved_81;
626 uint32_t reserved_82;
627 uint32_t reserved_83;
628 uint32_t reserved_84;
629 uint32_t reserved_85;
630 uint32_t reserved_86;
631 uint32_t reserved_87;
632 uint32_t reserved_88;
633 uint32_t reserved_89;
634 uint32_t reserved_90;
635 uint32_t reserved_91;
636 uint32_t reserved_92;
637 uint32_t reserved_93;
638 uint32_t reserved_94;
639 uint32_t reserved_95;
640 uint32_t reserved_96;
641 uint32_t reserved_97;
642 uint32_t reserved_98;
643 uint32_t reserved_99;
644 uint32_t reserved_100;
645 uint32_t reserved_101;
646 uint32_t reserved_102;
647 uint32_t reserved_103;
648 uint32_t reserved_104;
649 uint32_t reserved_105;
650 uint32_t reserved_106;
651 uint32_t reserved_107;
652 uint32_t reserved_108;
653 uint32_t reserved_109;
654 uint32_t reserved_110;
655 uint32_t reserved_111;
656 uint32_t reserved_112;
657 uint32_t reserved_113;
658 uint32_t reserved_114;
659 uint32_t reserved_115;
660 uint32_t reserved_116;
661 uint32_t reserved_117;
662 uint32_t reserved_118;
663 uint32_t reserved_119;
664 uint32_t reserved_120;
665 uint32_t reserved_121;
666 uint32_t reserved_122;
667 uint32_t reserved_123;
668 uint32_t reserved_124;
669 uint32_t reserved_125;
670 uint32_t reserved_126;
671 uint32_t reserved_127;
672 uint32_t sdma_engine_id;
673 uint32_t sdma_queue_id;
674 };
675
676 struct v10_compute_mqd {
677 uint32_t header;
678 uint32_t compute_dispatch_initiator;
679 uint32_t compute_dim_x;
680 uint32_t compute_dim_y;
681 uint32_t compute_dim_z;
682 uint32_t compute_start_x;
683 uint32_t compute_start_y;
684 uint32_t compute_start_z;
685 uint32_t compute_num_thread_x;
686 uint32_t compute_num_thread_y;
687 uint32_t compute_num_thread_z;
688 uint32_t compute_pipelinestat_enable;
689 uint32_t compute_perfcount_enable;
690 uint32_t compute_pgm_lo;
691 uint32_t compute_pgm_hi;
692 uint32_t compute_tba_lo;
693 uint32_t compute_tba_hi;
694 uint32_t compute_tma_lo;
695 uint32_t compute_tma_hi;
696 uint32_t compute_pgm_rsrc1;
697 uint32_t compute_pgm_rsrc2;
698 uint32_t compute_vmid;
699 uint32_t compute_resource_limits;
700 uint32_t compute_static_thread_mgmt_se0;
701 uint32_t compute_static_thread_mgmt_se1;
702 uint32_t compute_tmpring_size;
703 uint32_t compute_static_thread_mgmt_se2;
704 uint32_t compute_static_thread_mgmt_se3;
705 uint32_t compute_restart_x;
706 uint32_t compute_restart_y;
707 uint32_t compute_restart_z;
708 uint32_t compute_thread_trace_enable;
709 uint32_t compute_misc_reserved;
710 uint32_t compute_dispatch_id;
711 uint32_t compute_threadgroup_id;
712 uint32_t compute_relaunch;
713 uint32_t compute_wave_restore_addr_lo;
714 uint32_t compute_wave_restore_addr_hi;
715 uint32_t compute_wave_restore_control;
716 uint32_t reserved_39;
717 uint32_t reserved_40;
718 uint32_t reserved_41;
719 uint32_t reserved_42;
720 uint32_t reserved_43;
721 uint32_t reserved_44;
722 uint32_t reserved_45;
723 uint32_t reserved_46;
724 uint32_t reserved_47;
725 uint32_t reserved_48;
726 uint32_t reserved_49;
727 uint32_t reserved_50;
728 uint32_t reserved_51;
729 uint32_t reserved_52;
730 uint32_t reserved_53;
731 uint32_t reserved_54;
732 uint32_t reserved_55;
733 uint32_t reserved_56;
734 uint32_t reserved_57;
735 uint32_t reserved_58;
736 uint32_t reserved_59;
737 uint32_t reserved_60;
738 uint32_t reserved_61;
739 uint32_t reserved_62;
740 uint32_t reserved_63;
741 uint32_t reserved_64;
742 uint32_t compute_user_data_0;
743 uint32_t compute_user_data_1;
744 uint32_t compute_user_data_2;
745 uint32_t compute_user_data_3;
746 uint32_t compute_user_data_4;
747 uint32_t compute_user_data_5;
748 uint32_t compute_user_data_6;
749 uint32_t compute_user_data_7;
750 uint32_t compute_user_data_8;
751 uint32_t compute_user_data_9;
752 uint32_t compute_user_data_10;
753 uint32_t compute_user_data_11;
754 uint32_t compute_user_data_12;
755 uint32_t compute_user_data_13;
756 uint32_t compute_user_data_14;
757 uint32_t compute_user_data_15;
758 uint32_t cp_compute_csinvoc_count_lo;
759 uint32_t cp_compute_csinvoc_count_hi;
760 uint32_t reserved_83;
761 uint32_t reserved_84;
762 uint32_t reserved_85;
763 uint32_t cp_mqd_query_time_lo;
764 uint32_t cp_mqd_query_time_hi;
765 uint32_t cp_mqd_connect_start_time_lo;
766 uint32_t cp_mqd_connect_start_time_hi;
767 uint32_t cp_mqd_connect_end_time_lo;
768 uint32_t cp_mqd_connect_end_time_hi;
769 uint32_t cp_mqd_connect_end_wf_count;
770 uint32_t cp_mqd_connect_end_pq_rptr;
771 uint32_t cp_mqd_connect_end_pq_wptr;
772 uint32_t cp_mqd_connect_end_ib_rptr;
773 uint32_t cp_mqd_readindex_lo;
774 uint32_t cp_mqd_readindex_hi;
775 uint32_t cp_mqd_save_start_time_lo;
776 uint32_t cp_mqd_save_start_time_hi;
777 uint32_t cp_mqd_save_end_time_lo;
778 uint32_t cp_mqd_save_end_time_hi;
779 uint32_t cp_mqd_restore_start_time_lo;
780 uint32_t cp_mqd_restore_start_time_hi;
781 uint32_t cp_mqd_restore_end_time_lo;
782 uint32_t cp_mqd_restore_end_time_hi;
783 uint32_t disable_queue;
784 uint32_t reserved_107;
785 uint32_t gds_cs_ctxsw_cnt0;
786 uint32_t gds_cs_ctxsw_cnt1;
787 uint32_t gds_cs_ctxsw_cnt2;
788 uint32_t gds_cs_ctxsw_cnt3;
789 uint32_t reserved_112;
790 uint32_t reserved_113;
791 uint32_t cp_pq_exe_status_lo;
792 uint32_t cp_pq_exe_status_hi;
793 uint32_t cp_packet_id_lo;
794 uint32_t cp_packet_id_hi;
795 uint32_t cp_packet_exe_status_lo;
796 uint32_t cp_packet_exe_status_hi;
797 uint32_t gds_save_base_addr_lo;
798 uint32_t gds_save_base_addr_hi;
799 uint32_t gds_save_mask_lo;
800 uint32_t gds_save_mask_hi;
801 uint32_t ctx_save_base_addr_lo;
802 uint32_t ctx_save_base_addr_hi;
803 uint32_t reserved_126;
804 uint32_t reserved_127;
805 uint32_t cp_mqd_base_addr_lo;
806 uint32_t cp_mqd_base_addr_hi;
807 uint32_t cp_hqd_active;
808 uint32_t cp_hqd_vmid;
809 uint32_t cp_hqd_persistent_state;
810 uint32_t cp_hqd_pipe_priority;
811 uint32_t cp_hqd_queue_priority;
812 uint32_t cp_hqd_quantum;
813 uint32_t cp_hqd_pq_base_lo;
814 uint32_t cp_hqd_pq_base_hi;
815 uint32_t cp_hqd_pq_rptr;
816 uint32_t cp_hqd_pq_rptr_report_addr_lo;
817 uint32_t cp_hqd_pq_rptr_report_addr_hi;
818 uint32_t cp_hqd_pq_wptr_poll_addr_lo;
819 uint32_t cp_hqd_pq_wptr_poll_addr_hi;
820 uint32_t cp_hqd_pq_doorbell_control;
821 uint32_t reserved_144;
822 uint32_t cp_hqd_pq_control;
823 uint32_t cp_hqd_ib_base_addr_lo;
824 uint32_t cp_hqd_ib_base_addr_hi;
825 uint32_t cp_hqd_ib_rptr;
826 uint32_t cp_hqd_ib_control;
827 uint32_t cp_hqd_iq_timer;
828 uint32_t cp_hqd_iq_rptr;
829 uint32_t cp_hqd_dequeue_request;
830 uint32_t cp_hqd_dma_offload;
831 uint32_t cp_hqd_sema_cmd;
832 uint32_t cp_hqd_msg_type;
833 uint32_t cp_hqd_atomic0_preop_lo;
834 uint32_t cp_hqd_atomic0_preop_hi;
835 uint32_t cp_hqd_atomic1_preop_lo;
836 uint32_t cp_hqd_atomic1_preop_hi;
837 uint32_t cp_hqd_hq_scheduler0;
838 uint32_t cp_hqd_hq_scheduler1;
839 uint32_t cp_mqd_control;
840 uint32_t cp_hqd_hq_status1;
841 uint32_t cp_hqd_hq_control1;
842 uint32_t cp_hqd_eop_base_addr_lo;
843 uint32_t cp_hqd_eop_base_addr_hi;
844 uint32_t cp_hqd_eop_control;
845 uint32_t cp_hqd_eop_rptr;
846 uint32_t cp_hqd_eop_wptr;
847 uint32_t cp_hqd_eop_done_events;
848 uint32_t cp_hqd_ctx_save_base_addr_lo;
849 uint32_t cp_hqd_ctx_save_base_addr_hi;
850 uint32_t cp_hqd_ctx_save_control;
851 uint32_t cp_hqd_cntl_stack_offset;
852 uint32_t cp_hqd_cntl_stack_size;
853 uint32_t cp_hqd_wg_state_offset;
854 uint32_t cp_hqd_ctx_save_size;
855 uint32_t cp_hqd_gds_resource_state;
856 uint32_t cp_hqd_error;
857 uint32_t cp_hqd_eop_wptr_mem;
858 uint32_t cp_hqd_aql_control;
859 uint32_t cp_hqd_pq_wptr_lo;
860 uint32_t cp_hqd_pq_wptr_hi;
861 uint32_t cp_hqd_suspend_cntl_stack_offset;
862 uint32_t cp_hqd_suspend_cntl_stack_dw_cnt;
863 uint32_t cp_hqd_suspend_wg_state_offset;
864 uint32_t reserved_187;
865 uint32_t reserved_188;
866 uint32_t reserved_189;
867 uint32_t reserved_190;
868 uint32_t reserved_191;
869 uint32_t iqtimer_pkt_header;
870 uint32_t iqtimer_pkt_dw0;
871 uint32_t iqtimer_pkt_dw1;
872 uint32_t iqtimer_pkt_dw2;
873 uint32_t iqtimer_pkt_dw3;
874 uint32_t iqtimer_pkt_dw4;
875 uint32_t iqtimer_pkt_dw5;
876 uint32_t iqtimer_pkt_dw6;
877 uint32_t iqtimer_pkt_dw7;
878 uint32_t iqtimer_pkt_dw8;
879 uint32_t iqtimer_pkt_dw9;
880 uint32_t iqtimer_pkt_dw10;
881 uint32_t iqtimer_pkt_dw11;
882 uint32_t iqtimer_pkt_dw12;
883 uint32_t iqtimer_pkt_dw13;
884 uint32_t iqtimer_pkt_dw14;
885 uint32_t iqtimer_pkt_dw15;
886 uint32_t iqtimer_pkt_dw16;
887 uint32_t iqtimer_pkt_dw17;
888 uint32_t iqtimer_pkt_dw18;
889 uint32_t iqtimer_pkt_dw19;
890 uint32_t iqtimer_pkt_dw20;
891 uint32_t iqtimer_pkt_dw21;
892 uint32_t iqtimer_pkt_dw22;
893 uint32_t iqtimer_pkt_dw23;
894 uint32_t iqtimer_pkt_dw24;
895 uint32_t iqtimer_pkt_dw25;
896 uint32_t iqtimer_pkt_dw26;
897 uint32_t iqtimer_pkt_dw27;
898 uint32_t iqtimer_pkt_dw28;
899 uint32_t iqtimer_pkt_dw29;
900 uint32_t iqtimer_pkt_dw30;
901 uint32_t iqtimer_pkt_dw31;
902 uint32_t reserved_225;
903 uint32_t reserved_226;
904 uint32_t reserved_227;
905 uint32_t set_resources_header;
906 uint32_t set_resources_dw1;
907 uint32_t set_resources_dw2;
908 uint32_t set_resources_dw3;
909 uint32_t set_resources_dw4;
910 uint32_t set_resources_dw5;
911 uint32_t set_resources_dw6;
912 uint32_t set_resources_dw7;
913 uint32_t reserved_236;
914 uint32_t reserved_237;
915 uint32_t reserved_238;
916 uint32_t reserved_239;
917 uint32_t queue_doorbell_id0;
918 uint32_t queue_doorbell_id1;
919 uint32_t queue_doorbell_id2;
920 uint32_t queue_doorbell_id3;
921 uint32_t queue_doorbell_id4;
922 uint32_t queue_doorbell_id5;
923 uint32_t queue_doorbell_id6;
924 uint32_t queue_doorbell_id7;
925 uint32_t queue_doorbell_id8;
926 uint32_t queue_doorbell_id9;
927 uint32_t queue_doorbell_id10;
928 uint32_t queue_doorbell_id11;
929 uint32_t queue_doorbell_id12;
930 uint32_t queue_doorbell_id13;
931 uint32_t queue_doorbell_id14;
932 uint32_t queue_doorbell_id15;
933 uint32_t reserved_256;
934 uint32_t reserved_257;
935 uint32_t reserved_258;
936 uint32_t reserved_259;
937 uint32_t reserved_260;
938 uint32_t reserved_261;
939 uint32_t reserved_262;
940 uint32_t reserved_263;
941 uint32_t reserved_264;
942 uint32_t reserved_265;
943 uint32_t reserved_266;
944 uint32_t reserved_267;
945 uint32_t reserved_268;
946 uint32_t reserved_269;
947 uint32_t reserved_270;
948 uint32_t reserved_271;
949 uint32_t reserved_272;
950 uint32_t reserved_273;
951 uint32_t reserved_274;
952 uint32_t reserved_275;
953 uint32_t reserved_276;
954 uint32_t reserved_277;
955 uint32_t reserved_278;
956 uint32_t reserved_279;
957 uint32_t reserved_280;
958 uint32_t reserved_281;
959 uint32_t reserved_282;
960 uint32_t reserved_283;
961 uint32_t reserved_284;
962 uint32_t reserved_285;
963 uint32_t reserved_286;
964 uint32_t reserved_287;
965 uint32_t reserved_288;
966 uint32_t reserved_289;
967 uint32_t reserved_290;
968 uint32_t reserved_291;
969 uint32_t reserved_292;
970 uint32_t reserved_293;
971 uint32_t reserved_294;
972 uint32_t reserved_295;
973 uint32_t reserved_296;
974 uint32_t reserved_297;
975 uint32_t reserved_298;
976 uint32_t reserved_299;
977 uint32_t reserved_300;
978 uint32_t reserved_301;
979 uint32_t reserved_302;
980 uint32_t reserved_303;
981 uint32_t reserved_304;
982 uint32_t reserved_305;
983 uint32_t reserved_306;
984 uint32_t reserved_307;
985 uint32_t reserved_308;
986 uint32_t reserved_309;
987 uint32_t reserved_310;
988 uint32_t reserved_311;
989 uint32_t reserved_312;
990 uint32_t reserved_313;
991 uint32_t reserved_314;
992 uint32_t reserved_315;
993 uint32_t reserved_316;
994 uint32_t reserved_317;
995 uint32_t reserved_318;
996 uint32_t reserved_319;
997 uint32_t reserved_320;
998 uint32_t reserved_321;
999 uint32_t reserved_322;
1000 uint32_t reserved_323;
1001 uint32_t reserved_324;
1002 uint32_t reserved_325;
1003 uint32_t reserved_326;
1004 uint32_t reserved_327;
1005 uint32_t reserved_328;
1006 uint32_t reserved_329;
1007 uint32_t reserved_330;
1008 uint32_t reserved_331;
1009 uint32_t reserved_332;
1010 uint32_t reserved_333;
1011 uint32_t reserved_334;
1012 uint32_t reserved_335;
1013 uint32_t reserved_336;
1014 uint32_t reserved_337;
1015 uint32_t reserved_338;
1016 uint32_t reserved_339;
1017 uint32_t reserved_340;
1018 uint32_t reserved_341;
1019 uint32_t reserved_342;
1020 uint32_t reserved_343;
1021 uint32_t reserved_344;
1022 uint32_t reserved_345;
1023 uint32_t reserved_346;
1024 uint32_t reserved_347;
1025 uint32_t reserved_348;
1026 uint32_t reserved_349;
1027 uint32_t reserved_350;
1028 uint32_t reserved_351;
1029 uint32_t reserved_352;
1030 uint32_t reserved_353;
1031 uint32_t reserved_354;
1032 uint32_t reserved_355;
1033 uint32_t reserved_356;
1034 uint32_t reserved_357;
1035 uint32_t reserved_358;
1036 uint32_t reserved_359;
1037 uint32_t reserved_360;
1038 uint32_t reserved_361;
1039 uint32_t reserved_362;
1040 uint32_t reserved_363;
1041 uint32_t reserved_364;
1042 uint32_t reserved_365;
1043 uint32_t reserved_366;
1044 uint32_t reserved_367;
1045 uint32_t reserved_368;
1046 uint32_t reserved_369;
1047 uint32_t reserved_370;
1048 uint32_t reserved_371;
1049 uint32_t reserved_372;
1050 uint32_t reserved_373;
1051 uint32_t reserved_374;
1052 uint32_t reserved_375;
1053 uint32_t reserved_376;
1054 uint32_t reserved_377;
1055 uint32_t reserved_378;
1056 uint32_t reserved_379;
1057 uint32_t reserved_380;
1058 uint32_t reserved_381;
1059 uint32_t reserved_382;
1060 uint32_t reserved_383;
1061 uint32_t reserved_384;
1062 uint32_t reserved_385;
1063 uint32_t reserved_386;
1064 uint32_t reserved_387;
1065 uint32_t reserved_388;
1066 uint32_t reserved_389;
1067 uint32_t reserved_390;
1068 uint32_t reserved_391;
1069 uint32_t reserved_392;
1070 uint32_t reserved_393;
1071 uint32_t reserved_394;
1072 uint32_t reserved_395;
1073 uint32_t reserved_396;
1074 uint32_t reserved_397;
1075 uint32_t reserved_398;
1076 uint32_t reserved_399;
1077 uint32_t reserved_400;
1078 uint32_t reserved_401;
1079 uint32_t reserved_402;
1080 uint32_t reserved_403;
1081 uint32_t reserved_404;
1082 uint32_t reserved_405;
1083 uint32_t reserved_406;
1084 uint32_t reserved_407;
1085 uint32_t reserved_408;
1086 uint32_t reserved_409;
1087 uint32_t reserved_410;
1088 uint32_t reserved_411;
1089 uint32_t reserved_412;
1090 uint32_t reserved_413;
1091 uint32_t reserved_414;
1092 uint32_t reserved_415;
1093 uint32_t reserved_416;
1094 uint32_t reserved_417;
1095 uint32_t reserved_418;
1096 uint32_t reserved_419;
1097 uint32_t reserved_420;
1098 uint32_t reserved_421;
1099 uint32_t reserved_422;
1100 uint32_t reserved_423;
1101 uint32_t reserved_424;
1102 uint32_t reserved_425;
1103 uint32_t reserved_426;
1104 uint32_t reserved_427;
1105 uint32_t reserved_428;
1106 uint32_t reserved_429;
1107 uint32_t reserved_430;
1108 uint32_t reserved_431;
1109 uint32_t reserved_432;
1110 uint32_t reserved_433;
1111 uint32_t reserved_434;
1112 uint32_t reserved_435;
1113 uint32_t reserved_436;
1114 uint32_t reserved_437;
1115 uint32_t reserved_438;
1116 uint32_t reserved_439;
1117 uint32_t reserved_440;
1118 uint32_t reserved_441;
1119 uint32_t reserved_442;
1120 uint32_t reserved_443;
1121 uint32_t reserved_444;
1122 uint32_t reserved_445;
1123 uint32_t reserved_446;
1124 uint32_t reserved_447;
1125 uint32_t reserved_448;
1126 uint32_t reserved_449;
1127 uint32_t reserved_450;
1128 uint32_t reserved_451;
1129 uint32_t reserved_452;
1130 uint32_t reserved_453;
1131 uint32_t reserved_454;
1132 uint32_t reserved_455;
1133 uint32_t reserved_456;
1134 uint32_t reserved_457;
1135 uint32_t reserved_458;
1136 uint32_t reserved_459;
1137 uint32_t reserved_460;
1138 uint32_t reserved_461;
1139 uint32_t reserved_462;
1140 uint32_t reserved_463;
1141 uint32_t reserved_464;
1142 uint32_t reserved_465;
1143 uint32_t reserved_466;
1144 uint32_t reserved_467;
1145 uint32_t reserved_468;
1146 uint32_t reserved_469;
1147 uint32_t reserved_470;
1148 uint32_t reserved_471;
1149 uint32_t reserved_472;
1150 uint32_t reserved_473;
1151 uint32_t reserved_474;
1152 uint32_t reserved_475;
1153 uint32_t reserved_476;
1154 uint32_t reserved_477;
1155 uint32_t reserved_478;
1156 uint32_t reserved_479;
1157 uint32_t reserved_480;
1158 uint32_t reserved_481;
1159 uint32_t reserved_482;
1160 uint32_t reserved_483;
1161 uint32_t reserved_484;
1162 uint32_t reserved_485;
1163 uint32_t reserved_486;
1164 uint32_t reserved_487;
1165 uint32_t reserved_488;
1166 uint32_t reserved_489;
1167 uint32_t reserved_490;
1168 uint32_t reserved_491;
1169 uint32_t reserved_492;
1170 uint32_t reserved_493;
1171 uint32_t reserved_494;
1172 uint32_t reserved_495;
1173 uint32_t reserved_496;
1174 uint32_t reserved_497;
1175 uint32_t reserved_498;
1176 uint32_t reserved_499;
1177 uint32_t reserved_500;
1178 uint32_t reserved_501;
1179 uint32_t reserved_502;
1180 uint32_t reserved_503;
1181 uint32_t reserved_504;
1182 uint32_t reserved_505;
1183 uint32_t reserved_506;
1184 uint32_t reserved_507;
1185 uint32_t reserved_508;
1186 uint32_t reserved_509;
1187 uint32_t reserved_510;
1188 uint32_t reserved_511;
1189 };
1190
1191 struct v10_ce_ib_state {
1192
1193 uint32_t ce_ib_completion_status;
1194 uint32_t ce_constegnine_count;
1195 uint32_t ce_ibOffset_ib1;
1196 uint32_t ce_ibOffset_ib2;
1197
1198
1199 uint32_t ce_chainib_addrlo_ib1;
1200 uint32_t ce_chainib_addrlo_ib2;
1201 uint32_t ce_chainib_addrhi_ib1;
1202 uint32_t ce_chainib_addrhi_ib2;
1203 uint32_t ce_chainib_size_ib1;
1204 uint32_t ce_chainib_size_ib2;
1205 };
1206
1207 struct v10_de_ib_state {
1208
1209 uint32_t ib_completion_status;
1210 uint32_t de_constEngine_count;
1211 uint32_t ib_offset_ib1;
1212 uint32_t ib_offset_ib2;
1213
1214
1215 uint32_t chain_ib_addrlo_ib1;
1216 uint32_t chain_ib_addrlo_ib2;
1217 uint32_t chain_ib_addrhi_ib1;
1218 uint32_t chain_ib_addrhi_ib2;
1219 uint32_t chain_ib_size_ib1;
1220 uint32_t chain_ib_size_ib2;
1221
1222
1223 uint32_t preamble_begin_ib1;
1224 uint32_t preamble_begin_ib2;
1225 uint32_t preamble_end_ib1;
1226 uint32_t preamble_end_ib2;
1227
1228
1229 uint32_t chain_ib_pream_addrlo_ib1;
1230 uint32_t chain_ib_pream_addrlo_ib2;
1231 uint32_t chain_ib_pream_addrhi_ib1;
1232 uint32_t chain_ib_pream_addrhi_ib2;
1233
1234
1235 uint32_t draw_indirect_baseLo;
1236 uint32_t draw_indirect_baseHi;
1237 uint32_t disp_indirect_baseLo;
1238 uint32_t disp_indirect_baseHi;
1239 uint32_t gds_backup_addrlo;
1240 uint32_t gds_backup_addrhi;
1241 uint32_t index_base_addrlo;
1242 uint32_t index_base_addrhi;
1243 uint32_t sample_cntl;
1244 };
1245
1246 struct v10_gfx_meta_data {
1247
1248 struct v10_ce_ib_state ce_payload;
1249 uint32_t reserved1[54];
1250
1251 struct v10_de_ib_state de_payload;
1252
1253 uint32_t DeIbBaseAddrLo;
1254 uint32_t DeIbBaseAddrHi;
1255 uint32_t reserved2[931];
1256 };
1257
1258 #endif