Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
[sfrench/cifs-2.6.git] / drivers / gpu / drm / nouveau / nvkm / engine / gr / fuc / gpcgk208.fuc5.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 static uint32_t gk208_grgpc_data[] = {
3 /* 0x0000: gpc_mmio_list_head */
4         0x0000006c,
5 /* 0x0004: gpc_mmio_list_tail */
6 /* 0x0004: tpc_mmio_list_head */
7         0x0000006c,
8 /* 0x0008: tpc_mmio_list_tail */
9 /* 0x0008: unk_mmio_list_head */
10         0x0000006c,
11 /* 0x000c: unk_mmio_list_tail */
12         0x0000006c,
13 /* 0x0010: gpc_id */
14         0x00000000,
15 /* 0x0014: tpc_count */
16         0x00000000,
17 /* 0x0018: tpc_mask */
18         0x00000000,
19 /* 0x001c: unk_count */
20         0x00000000,
21 /* 0x0020: unk_mask */
22         0x00000000,
23 /* 0x0024: cmd_queue */
24         0x00000000,
25         0x00000000,
26         0x00000000,
27         0x00000000,
28         0x00000000,
29         0x00000000,
30         0x00000000,
31         0x00000000,
32         0x00000000,
33         0x00000000,
34         0x00000000,
35         0x00000000,
36         0x00000000,
37         0x00000000,
38         0x00000000,
39         0x00000000,
40         0x00000000,
41         0x00000000,
42 };
43
44 static uint32_t gk208_grgpc_code[] = {
45         0x03140ef5,
46 /* 0x0004: queue_put */
47         0x9800d898,
48         0x86f001d9,
49         0xf489a408,
50         0x020f0b1b,
51         0x0002f87e,
52 /* 0x001a: queue_put_next */
53         0x98c400f8,
54         0x0384b607,
55         0xb6008dbb,
56         0x8eb50880,
57         0x018fb500,
58         0xf00190b6,
59         0xd9b50f94,
60 /* 0x0037: queue_get */
61         0xf400f801,
62         0xd8980131,
63         0x01d99800,
64         0x0bf489a4,
65         0x0789c421,
66         0xbb0394b6,
67         0x90b6009d,
68         0x009e9808,
69         0xb6019f98,
70         0x84f00180,
71         0x00d8b50f,
72 /* 0x0063: queue_get_done */
73         0xf80132f4,
74 /* 0x0065: nv_rd32 */
75         0xf0ecb200,
76         0x00801fc9,
77         0x0cf601ca,
78 /* 0x0073: nv_rd32_wait */
79         0x8c04bd00,
80         0xcf01ca00,
81         0xccc800cc,
82         0xf61bf41f,
83         0xec7e060a,
84         0x008f0000,
85         0xffcf01cb,
86 /* 0x008f: nv_wr32 */
87         0x8000f800,
88         0xf601cc00,
89         0x04bd000f,
90         0xc9f0ecb2,
91         0x1ec9f01f,
92         0x01ca0080,
93         0xbd000cf6,
94 /* 0x00a9: nv_wr32_wait */
95         0xca008c04,
96         0x00cccf01,
97         0xf41fccc8,
98         0x00f8f61b,
99 /* 0x00b8: wait_donez */
100         0x99f094bd,
101         0x37008000,
102         0x0009f602,
103         0x008004bd,
104         0x0af60206,
105 /* 0x00cf: wait_donez_ne */
106         0x8804bd00,
107         0xcf010000,
108         0x8aff0088,
109         0xf61bf488,
110         0x99f094bd,
111         0x17008000,
112         0x0009f602,
113         0x00f804bd,
114 /* 0x00ec: wait_doneo */
115         0x99f094bd,
116         0x37008000,
117         0x0009f602,
118         0x008004bd,
119         0x0af60206,
120 /* 0x0103: wait_doneo_e */
121         0x8804bd00,
122         0xcf010000,
123         0x8aff0088,
124         0xf60bf488,
125         0x99f094bd,
126         0x17008000,
127         0x0009f602,
128         0x00f804bd,
129 /* 0x0120: mmctx_size */
130 /* 0x0122: nv_mmctx_size_loop */
131         0xe89894bd,
132         0x1a85b600,
133         0xb60180b6,
134         0x98bb0284,
135         0x04e0b600,
136         0x1bf4efa4,
137         0xf89fb2ec,
138 /* 0x013d: mmctx_xfer */
139         0xf094bd00,
140         0x00800199,
141         0x09f60237,
142         0xbd04bd00,
143         0x05bbfd94,
144         0x800f0bf4,
145         0xf601c400,
146         0x04bd000b,
147 /* 0x015f: mmctx_base_disabled */
148         0xfd0099f0,
149         0x0bf405ee,
150         0xc6008018,
151         0x000ef601,
152         0x008004bd,
153         0x0ff601c7,
154         0xf004bd00,
155 /* 0x017a: mmctx_multi_disabled */
156         0xabc80199,
157         0x10b4b600,
158         0xc80cb9f0,
159         0xe4b601ae,
160         0x05befd11,
161         0x01c50080,
162         0xbd000bf6,
163 /* 0x0195: mmctx_exec_loop */
164 /* 0x0195: mmctx_wait_free */
165         0xc5008e04,
166         0x00eecf01,
167         0xf41fe4f0,
168         0xce98f60b,
169         0x05e9fd00,
170         0x01c80080,
171         0xbd000ef6,
172         0x04c0b604,
173         0x1bf4cda4,
174         0x02abc8df,
175 /* 0x01bf: mmctx_fini_wait */
176         0x8b1c1bf4,
177         0xcf01c500,
178         0xb4f000bb,
179         0x10b4b01f,
180         0x0af31bf4,
181         0x00b87e05,
182         0x250ef400,
183 /* 0x01d8: mmctx_stop */
184         0xb600abc8,
185         0xb9f010b4,
186         0x12b9f00c,
187         0x01c50080,
188         0xbd000bf6,
189 /* 0x01ed: mmctx_stop_wait */
190         0xc5008b04,
191         0x00bbcf01,
192         0xf412bbc8,
193 /* 0x01fa: mmctx_done */
194         0x94bdf61b,
195         0x800199f0,
196         0xf6021700,
197         0x04bd0009,
198 /* 0x020a: strand_wait */
199         0xa0f900f8,
200         0xb87e020a,
201         0xa0fc0000,
202 /* 0x0216: strand_pre */
203         0x0c0900f8,
204         0x024afc80,
205         0xbd0009f6,
206         0x020a7e04,
207 /* 0x0227: strand_post */
208         0x0900f800,
209         0x4afc800d,
210         0x0009f602,
211         0x0a7e04bd,
212         0x00f80002,
213 /* 0x0238: strand_set */
214         0xfc800f0c,
215         0x0cf6024f,
216         0x0c04bd00,
217         0x4afc800b,
218         0x000cf602,
219         0xfc8004bd,
220         0x0ef6024f,
221         0x0c04bd00,
222         0x4afc800a,
223         0x000cf602,
224         0x0a7e04bd,
225         0x00f80002,
226 /* 0x0268: strand_ctx_init */
227         0x99f094bd,
228         0x37008003,
229         0x0009f602,
230         0x167e04bd,
231         0x030e0002,
232         0x0002387e,
233         0xfc80c4bd,
234         0x0cf60247,
235         0x0c04bd00,
236         0x4afc8001,
237         0x000cf602,
238         0x0a7e04bd,
239         0x0c920002,
240         0x46fc8001,
241         0x000cf602,
242         0x020c04bd,
243         0x024afc80,
244         0xbd000cf6,
245         0x020a7e04,
246         0x02277e00,
247         0x42008800,
248         0x20008902,
249         0x0099cf02,
250 /* 0x02c7: ctx_init_strand_loop */
251         0xf608fe95,
252         0x8ef6008e,
253         0x808acf40,
254         0xb606a5b6,
255         0xeabb01a0,
256         0x0480b600,
257         0xf40192b6,
258         0xe4b6e81b,
259         0xf2efbc08,
260         0x99f094bd,
261         0x17008003,
262         0x0009f602,
263         0x00f804bd,
264 /* 0x02f8: error */
265         0xffb2e0f9,
266         0x4098148e,
267         0x00008f7e,
268         0xffb2010f,
269         0x409c1c8e,
270         0x00008f7e,
271         0x00f8e0fc,
272 /* 0x0314: init */
273         0x004104bd,
274         0x0011cf42,
275         0x010911e7,
276         0xfe0814b6,
277         0x02020014,
278         0xf6120040,
279         0x04bd0002,
280         0xfe048441,
281         0x00400010,
282         0x0000f607,
283         0x040204bd,
284         0xf6040040,
285         0x04bd0002,
286         0x821031f4,
287         0xcf018200,
288         0x01030022,
289         0xbb1f24f0,
290         0x32b60432,
291         0x0502b501,
292         0x820603b5,
293         0xcf018600,
294         0x02b50022,
295         0x0f24b604,
296         0x01c90080,
297         0xbd0002f6,
298         0x0c308e04,
299         0x01e5f050,
300         0x34bd24bd,
301 /* 0x0386: init_unk_loop */
302         0x657e44bd,
303         0xf6b00000,
304         0x0e0bf400,
305         0xf2bb010f,
306         0x054ffd04,
307 /* 0x039b: init_unk_next */
308         0xb60130b6,
309         0xe0b60120,
310         0x0126b004,
311 /* 0x03a7: init_unk_done */
312         0xb5e21bf4,
313         0x04b50703,
314         0x01008208,
315         0x0022cf02,
316         0x259534bd,
317         0xc0008008,
318         0x0005f601,
319         0x008004bd,
320         0x05f601c1,
321         0x9804bd00,
322         0x0f98000e,
323         0x01207e01,
324         0x002fbb00,
325         0x98003fbb,
326         0x0f98010e,
327         0x01207e02,
328         0x050e9800,
329         0xbb00effd,
330         0x3ebb002e,
331         0x020e9800,
332         0x7e030f98,
333         0x98000120,
334         0xeffd070e,
335         0x002ebb00,
336         0xb6003ebb,
337         0x00800235,
338         0x03f601d3,
339         0xb604bd00,
340         0x35b60825,
341         0x0120b606,
342         0xb60130b6,
343         0x34b60824,
344         0x7e2fb208,
345         0xbb000268,
346         0x3fbb002f,
347         0x01008000,
348         0x0003f602,
349         0x24bd04bd,
350         0x801f29f0,
351         0xf6023000,
352         0x04bd0002,
353 /* 0x0448: wait */
354         0xf40028f4,
355 /* 0x044e: main */
356         0x240d0031,
357         0x0000377e,
358         0xb0f401f4,
359         0x18f404e4,
360         0x0181fe1d,
361         0x20bd0602,
362         0xb60412fd,
363         0x1efd01e4,
364         0x0018fe05,
365         0x00051f7e,
366 /* 0x0477: main_not_ctx_xfer */
367         0x94da0ef4,
368         0xf5f010ef,
369         0x02f87e01,
370         0xcd0ef400,
371 /* 0x0484: ih */
372         0x80f900f9,
373         0xf90188fe,
374         0xf990f980,
375         0xf9b0f9a0,
376         0xf9e0f9d0,
377         0x4a04bdf0,
378         0xaacf0200,
379         0x04abc400,
380         0x0d1f0bf4,
381         0x1a004e24,
382         0x4f00eecf,
383         0xffcf1900,
384         0x00047e00,
385         0x40010e00,
386         0x0ef61d00,
387 /* 0x04c3: ih_no_fifo */
388         0x4004bd00,
389         0x0af60100,
390         0xfc04bd00,
391         0xfce0fcf0,
392         0xfcb0fcd0,
393         0xfc90fca0,
394         0x0088fe80,
395         0x00fc80fc,
396         0xf80032f4,
397 /* 0x04e5: hub_barrier_done */
398         0x98010f01,
399         0xfebb040e,
400         0x8effb204,
401         0x7e409418,
402         0xf800008f,
403 /* 0x04f9: ctx_redswitch */
404         0x80200f00,
405         0xf6018500,
406         0x04bd000f,
407 /* 0x0506: ctx_redswitch_delay */
408         0xe2b6080e,
409         0xfd1bf401,
410         0x0800f5f1,
411         0x0200f5f1,
412         0x01850080,
413         0xbd000ff6,
414 /* 0x051f: ctx_xfer */
415         0x8000f804,
416         0xf6028100,
417         0x04bd000f,
418         0x7e0711f4,
419 /* 0x052f: ctx_xfer_not_load */
420         0x7e0004f9,
421         0xbd000216,
422         0x47fc8024,
423         0x0002f602,
424         0x2cf004bd,
425         0x0320b601,
426         0x024afc80,
427         0xbd0002f6,
428         0x01acf004,
429         0x8b02a5f0,
430         0x98500000,
431         0xc4b6040c,
432         0x00bcbb0f,
433         0x98000c98,
434         0x000e010d,
435         0x00013d7e,
436         0x8b01acf0,
437         0x98504000,
438         0xc4b6040c,
439         0x00bcbb0f,
440         0x98010c98,
441         0x0f98020d,
442         0x08004e06,
443         0x00013d7e,
444         0xf001acf0,
445         0x008b04a5,
446         0x0c985030,
447         0x0fc4b604,
448         0x9800bcbb,
449         0x0d98020c,
450         0x080f9803,
451         0x7e02004e,
452         0x7e00013d,
453         0xf400020a,
454         0x12f40601,
455 /* 0x05b9: ctx_xfer_post */
456         0x02277e07,
457 /* 0x05bd: ctx_xfer_done */
458         0x04e57e00,
459         0x0000f800,
460         0x00000000,
461         0x00000000,
462         0x00000000,
463         0x00000000,
464         0x00000000,
465         0x00000000,
466         0x00000000,
467         0x00000000,
468         0x00000000,
469         0x00000000,
470         0x00000000,
471         0x00000000,
472         0x00000000,
473         0x00000000,
474         0x00000000,
475 };