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