26c2165bad0fc75b6ab5667be24ce2bdb2bba9c1
[cascardo/linux.git] / drivers / gpu / drm / nouveau / core / engine / graph / fuc / gpcnve0.fuc.h
1 uint32_t nve0_grgpc_data[] = {
2 /* 0x0000: gpc_id */
3         0x00000000,
4 /* 0x0004: gpc_mmio_list_head */
5         0x00000000,
6 /* 0x0008: gpc_mmio_list_tail */
7         0x00000000,
8 /* 0x000c: tpc_count */
9         0x00000000,
10 /* 0x0010: tpc_mask */
11         0x00000000,
12 /* 0x0014: tpc_mmio_list_head */
13         0x00000000,
14 /* 0x0018: tpc_mmio_list_tail */
15         0x00000000,
16 /* 0x001c: cmd_queue */
17         0x00000000,
18         0x00000000,
19         0x00000000,
20         0x00000000,
21         0x00000000,
22         0x00000000,
23         0x00000000,
24         0x00000000,
25         0x00000000,
26         0x00000000,
27         0x00000000,
28         0x00000000,
29         0x00000000,
30         0x00000000,
31         0x00000000,
32         0x00000000,
33         0x00000000,
34         0x00000000,
35 /* 0x0064: chipsets */
36         0x000000e4,
37         0x01040080,
38         0x014c0104,
39         0x000000e7,
40         0x01040080,
41         0x014c0104,
42         0x00000000,
43 /* 0x0080: nve4_gpc_mmio_head */
44         0x00000380,
45         0x04000400,
46         0x0800040c,
47         0x20000450,
48         0x00000600,
49         0x00000684,
50         0x10000700,
51         0x00000800,
52         0x08000808,
53         0x00000828,
54         0x00000830,
55         0x000008d8,
56         0x000008e0,
57         0x140008e8,
58         0x0000091c,
59         0x08000924,
60         0x00000b00,
61         0x14000b08,
62         0x00000bb8,
63         0x00000c08,
64         0x1c000c10,
65         0x00000c40,
66         0x00000c6c,
67         0x00000c80,
68         0x00000c8c,
69         0x08001000,
70         0x00001014,
71         0x00003024,
72         0x040030c0,
73         0x000030e4,
74         0x14003100,
75         0x000031d0,
76         0x040031e0,
77 /* 0x0104: nve4_gpc_mmio_tail */
78 /* 0x0104: nve4_tpc_mmio_head */
79         0x00000048,
80         0x00000064,
81         0x00000088,
82         0x14000200,
83         0x0400021c,
84         0x00000230,
85         0x000002c4,
86         0x08000400,
87         0x08000420,
88         0x000004e8,
89         0x000004f4,
90         0x0c000604,
91         0x54000644,
92         0x040006ac,
93         0x000006c8,
94         0x1c000730,
95         0x00000758,
96         0x00000778,
97 };
98
99 uint32_t nve0_grgpc_code[] = {
100         0x03060ef5,
101 /* 0x0004: queue_put */
102         0x9800d898,
103         0x86f001d9,
104         0x0489b808,
105         0xf00c1bf4,
106         0x21f502f7,
107         0x00f802ec,
108 /* 0x001c: queue_put_next */
109         0xb60798c4,
110         0x8dbb0384,
111         0x0880b600,
112         0x80008e80,
113         0x90b6018f,
114         0x0f94f001,
115         0xf801d980,
116 /* 0x0039: queue_get */
117         0x0131f400,
118         0x9800d898,
119         0x89b801d9,
120         0x210bf404,
121         0xb60789c4,
122         0x9dbb0394,
123         0x0890b600,
124         0x98009e98,
125         0x80b6019f,
126         0x0f84f001,
127         0xf400d880,
128 /* 0x0066: queue_get_done */
129         0x00f80132,
130 /* 0x0068: nv_rd32 */
131         0x0728b7f1,
132         0xb906b4b6,
133         0xc9f002ec,
134         0x00bcd01f,
135 /* 0x0078: nv_rd32_wait */
136         0xc800bccf,
137         0x1bf41fcc,
138         0x06a7f0fa,
139         0x010321f5,
140         0xf840bfcf,
141 /* 0x008d: nv_wr32 */
142         0x28b7f100,
143         0x06b4b607,
144         0xb980bfd0,
145         0xc9f002ec,
146         0x1ec9f01f,
147 /* 0x00a3: nv_wr32_wait */
148         0xcf00bcd0,
149         0xccc800bc,
150         0xfa1bf41f,
151 /* 0x00ae: watchdog_reset */
152         0x87f100f8,
153         0x84b60430,
154         0x1ff9f006,
155         0xf8008fd0,
156 /* 0x00bd: watchdog_clear */
157         0x3087f100,
158         0x0684b604,
159         0xf80080d0,
160 /* 0x00c9: wait_donez */
161         0x3c87f100,
162         0x0684b608,
163         0x99f094bd,
164         0x0089d000,
165         0x081887f1,
166         0xd00684b6,
167 /* 0x00e2: wait_done_wait_donez */
168         0x87f1008a,
169         0x84b60400,
170         0x0088cf06,
171         0xf4888aff,
172         0x87f1f31b,
173         0x84b6085c,
174         0xf094bd06,
175         0x89d00099,
176 /* 0x0103: wait_doneo */
177         0xf100f800,
178         0xb6083c87,
179         0x94bd0684,
180         0xd00099f0,
181         0x87f10089,
182         0x84b60818,
183         0x008ad006,
184 /* 0x011c: wait_done_wait_doneo */
185         0x040087f1,
186         0xcf0684b6,
187         0x8aff0088,
188         0xf30bf488,
189         0x085c87f1,
190         0xbd0684b6,
191         0x0099f094,
192         0xf80089d0,
193 /* 0x013d: mmctx_size */
194 /* 0x013f: nv_mmctx_size_loop */
195         0x9894bd00,
196         0x85b600e8,
197         0x0180b61a,
198         0xbb0284b6,
199         0xe0b60098,
200         0x04efb804,
201         0xb9eb1bf4,
202         0x00f8029f,
203 /* 0x015c: mmctx_xfer */
204         0x083c87f1,
205         0xbd0684b6,
206         0x0199f094,
207         0xf10089d0,
208         0xb6071087,
209         0x94bd0684,
210         0xf405bbfd,
211         0x8bd0090b,
212         0x0099f000,
213 /* 0x0180: mmctx_base_disabled */
214         0xf405eefd,
215         0x8ed00c0b,
216         0xc08fd080,
217 /* 0x018f: mmctx_multi_disabled */
218         0xb70199f0,
219         0xc8010080,
220         0xb4b600ab,
221         0x0cb9f010,
222         0xb601aec8,
223         0xbefd11e4,
224         0x008bd005,
225 /* 0x01a8: mmctx_exec_loop */
226 /* 0x01a8: mmctx_wait_free */
227         0xf0008ecf,
228         0x0bf41fe4,
229         0x00ce98fa,
230         0xd005e9fd,
231         0xc0b6c08e,
232         0x04cdb804,
233         0xc8e81bf4,
234         0x1bf402ab,
235 /* 0x01c9: mmctx_fini_wait */
236         0x008bcf18,
237         0xb01fb4f0,
238         0x1bf410b4,
239         0x02a7f0f7,
240         0xf4c921f4,
241 /* 0x01de: mmctx_stop */
242         0xabc81b0e,
243         0x10b4b600,
244         0xf00cb9f0,
245         0x8bd012b9,
246 /* 0x01ed: mmctx_stop_wait */
247         0x008bcf00,
248         0xf412bbc8,
249 /* 0x01f6: mmctx_done */
250         0x87f1fa1b,
251         0x84b6085c,
252         0xf094bd06,
253         0x89d00199,
254 /* 0x0207: strand_wait */
255         0xf900f800,
256         0x02a7f0a0,
257         0xfcc921f4,
258 /* 0x0213: strand_pre */
259         0xf100f8a0,
260         0xf04afc87,
261         0x97f00283,
262         0x0089d00c,
263         0x020721f5,
264 /* 0x0226: strand_post */
265         0x87f100f8,
266         0x83f04afc,
267         0x0d97f002,
268         0xf50089d0,
269         0xf8020721,
270 /* 0x0239: strand_set */
271         0xfca7f100,
272         0x02a3f04f,
273         0x0500aba2,
274         0xd00fc7f0,
275         0xc7f000ac,
276         0x00bcd00b,
277         0x020721f5,
278         0xf000aed0,
279         0xbcd00ac7,
280         0x0721f500,
281 /* 0x0263: strand_ctx_init */
282         0xf100f802,
283         0xb6083c87,
284         0x94bd0684,
285         0xd00399f0,
286         0x21f50089,
287         0xe7f00213,
288         0x3921f503,
289         0xfca7f102,
290         0x02a3f046,
291         0x0400aba0,
292         0xf040a0d0,
293         0xbcd001c7,
294         0x0721f500,
295         0x010c9202,
296         0xf000acd0,
297         0xbcd002c7,
298         0x0721f500,
299         0x2621f502,
300         0x8087f102,
301         0x0684b608,
302         0xb70089cf,
303         0x95220080,
304 /* 0x02ba: ctx_init_strand_loop */
305         0x8ed008fe,
306         0x408ed000,
307         0xb6808acf,
308         0xa0b606a5,
309         0x00eabb01,
310         0xb60480b6,
311         0x1bf40192,
312         0x08e4b6e8,
313         0xf1f2efbc,
314         0xb6085c87,
315         0x94bd0684,
316         0xd00399f0,
317         0x00f80089,
318 /* 0x02ec: error */
319         0xe7f1e0f9,
320         0xe3f09814,
321         0x8d21f440,
322         0x041ce0b7,
323         0xf401f7f0,
324         0xe0fc8d21,
325 /* 0x0306: init */
326         0x04bd00f8,
327         0xf10004fe,
328         0xf0120017,
329         0x12d00227,
330         0x3e17f100,
331         0x0010fe04,
332         0x040017f1,
333         0xf0c010d0,
334         0x12d00427,
335         0x1031f400,
336         0x060817f1,
337         0xcf0614b6,
338         0x37f00012,
339         0x1f24f001,
340         0xb60432bb,
341         0x02800132,
342         0x04038003,
343         0x040010b7,
344         0x800012cf,
345         0x27f10002,
346         0x24b60800,
347         0x0022cf06,
348 /* 0x035f: init_find_chipset */
349         0xb65817f0,
350         0x13980c10,
351         0x0432b800,
352         0xb00b0bf4,
353         0x1bf40034,
354 /* 0x0373: init_context */
355         0xf100f8f1,
356         0xb6080027,
357         0x22cf0624,
358         0xf134bd40,
359         0xb6070047,
360         0x25950644,
361         0x0045d008,
362         0xbd4045d0,
363         0x58f4bde4,
364         0x1f58021e,
365         0x020e4003,
366         0xf5040f40,
367         0xbb013d21,
368         0x3fbb002f,
369         0x041e5800,
370         0x40051f58,
371         0x0f400a0e,
372         0x3d21f50c,
373         0x030e9801,
374         0xbb00effd,
375         0x3ebb002e,
376         0x0040b700,
377         0x0235b613,
378         0xb60043d0,
379         0x35b60825,
380         0x0120b606,
381         0xb60130b6,
382         0x34b60824,
383         0x022fb908,
384         0x026321f5,
385         0xf1003fbb,
386         0xb6080017,
387         0x13d00614,
388         0x0010b740,
389         0xf024bd08,
390         0x12d01f29,
391 /* 0x0401: main */
392         0x0031f400,
393         0xf00028f4,
394         0x21f41cd7,
395         0xf401f439,
396         0xf404e4b0,
397         0x81fe1e18,
398         0x0627f001,
399         0x12fd20bd,
400         0x01e4b604,
401         0xfe051efd,
402         0x21f50018,
403         0x0ef404c3,
404 /* 0x0431: main_not_ctx_xfer */
405         0x10ef94d3,
406         0xf501f5f0,
407         0xf402ec21,
408 /* 0x043e: ih */
409         0x80f9c60e,
410         0xf90188fe,
411         0xf990f980,
412         0xf9b0f9a0,
413         0xf9e0f9d0,
414         0x800acff0,
415         0xf404abc4,
416         0xb7f11d0b,
417         0xd7f01900,
418         0x40becf1c,
419         0xf400bfcf,
420         0xb0b70421,
421         0xe7f00400,
422         0x00bed001,
423 /* 0x0474: ih_no_fifo */
424         0xfc400ad0,
425         0xfce0fcf0,
426         0xfcb0fcd0,
427         0xfc90fca0,
428         0x0088fe80,
429         0x32f480fc,
430 /* 0x048f: hub_barrier_done */
431         0xf001f800,
432         0x0e9801f7,
433         0x04febb00,
434         0x9418e7f1,
435         0xf440e3f0,
436         0x00f88d21,
437 /* 0x04a4: ctx_redswitch */
438         0x0614e7f1,
439         0xf006e4b6,
440         0xefd020f7,
441         0x08f7f000,
442 /* 0x04b4: ctx_redswitch_delay */
443         0xf401f2b6,
444         0xf7f1fd1b,
445         0xefd00a20,
446 /* 0x04c3: ctx_xfer */
447         0xf100f800,
448         0xb60a0417,
449         0x1fd00614,
450         0x0711f400,
451         0x04a421f5,
452 /* 0x04d4: ctx_xfer_not_load */
453         0x4afc17f1,
454         0xf00213f0,
455         0x12d00c27,
456         0x0721f500,
457         0xfc27f102,
458         0x0223f047,
459         0xf00020d0,
460         0x20b6012c,
461         0x0012d003,
462         0xf001acf0,
463         0xb7f002a5,
464         0x50b3f000,
465         0xb6000c98,
466         0xbcbb0fc4,
467         0x010c9800,
468         0xf0020d98,
469         0x21f500e7,
470         0xacf0015c,
471         0x04a5f001,
472         0x4000b7f1,
473         0x9850b3f0,
474         0xc4b6000c,
475         0x00bcbb0f,
476         0x98050c98,
477         0x0f98060d,
478         0x00e7f104,
479         0x5c21f508,
480         0x0721f501,
481         0x0601f402,
482 /* 0x054b: ctx_xfer_post */
483         0xf11412f4,
484         0xf04afc17,
485         0x27f00213,
486         0x0012d00d,
487         0x020721f5,
488 /* 0x055c: ctx_xfer_done */
489         0x048f21f5,
490         0x000000f8,
491         0x00000000,
492         0x00000000,
493         0x00000000,
494         0x00000000,
495         0x00000000,
496         0x00000000,
497         0x00000000,
498         0x00000000,
499         0x00000000,
500         0x00000000,
501         0x00000000,
502         0x00000000,
503         0x00000000,
504         0x00000000,
505         0x00000000,
506         0x00000000,
507         0x00000000,
508         0x00000000,
509         0x00000000,
510         0x00000000,
511         0x00000000,
512         0x00000000,
513         0x00000000,
514         0x00000000,
515         0x00000000,
516         0x00000000,
517         0x00000000,
518         0x00000000,
519         0x00000000,
520         0x00000000,
521         0x00000000,
522         0x00000000,
523         0x00000000,
524         0x00000000,
525         0x00000000,
526         0x00000000,
527         0x00000000,
528         0x00000000,
529         0x00000000,
530 };