summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/core/engine/graph/fuc/gpcnve0.fuc.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/nouveau/core/engine/graph/fuc/gpcnve0.fuc.h')
-rw-r--r--drivers/gpu/drm/nouveau/core/engine/graph/fuc/gpcnve0.fuc.h505
1 files changed, 189 insertions, 316 deletions
diff --git a/drivers/gpu/drm/nouveau/core/engine/graph/fuc/gpcnve0.fuc.h b/drivers/gpu/drm/nouveau/core/engine/graph/fuc/gpcnve0.fuc.h
index 08c0f47..dc26c28 100644
--- a/drivers/gpu/drm/nouveau/core/engine/graph/fuc/gpcnve0.fuc.h
+++ b/drivers/gpu/drm/nouveau/core/engine/graph/fuc/gpcnve0.fuc.h
@@ -1,168 +1,43 @@
uint32_t nve0_grgpc_data[] = {
-/* 0x0000: gpc_id */
+/* 0x0000: gpc_mmio_list_head */
+ 0x0000006c,
+/* 0x0004: gpc_mmio_list_tail */
+/* 0x0004: tpc_mmio_list_head */
+ 0x0000006c,
+/* 0x0008: tpc_mmio_list_tail */
+/* 0x0008: unk_mmio_list_head */
+ 0x0000006c,
+/* 0x000c: unk_mmio_list_tail */
+ 0x0000006c,
+/* 0x0010: gpc_id */
+ 0x00000000,
+/* 0x0014: tpc_count */
+ 0x00000000,
+/* 0x0018: tpc_mask */
+ 0x00000000,
+/* 0x001c: unk_count */
+ 0x00000001,
+/* 0x0020: unk_mask */
+ 0x00000001,
+/* 0x0024: cmd_queue */
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
0x00000000,
-/* 0x0004: gpc_mmio_list_head */
0x00000000,
-/* 0x0008: gpc_mmio_list_tail */
0x00000000,
-/* 0x000c: tpc_count */
0x00000000,
-/* 0x0010: tpc_mask */
0x00000000,
-/* 0x0014: tpc_mmio_list_head */
0x00000000,
-/* 0x0018: tpc_mmio_list_tail */
0x00000000,
-/* 0x001c: unk_count */
- 0x00000001,
-/* 0x0020: unk_mask */
- 0x00000001,
-/* 0x0024: unk_mmio_list_head */
- 0x00000220,
-/* 0x0028: unk_mmio_list_tail */
- 0x00000238,
-/* 0x002c: cmd_queue */
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
-/* 0x0074: chipsets */
- 0x000000e4,
- 0x011400a8,
- 0x01d00184,
- 0x000000e7,
- 0x011400a8,
- 0x01d00184,
- 0x000000e6,
- 0x011400a8,
- 0x01d00184,
- 0x000000f0,
- 0x01840114,
- 0x022001d0,
- 0x00000000,
-/* 0x00a8: nve4_gpc_mmio_head */
- 0x00000380,
- 0x04000400,
- 0x0800040c,
- 0x20000450,
- 0x00000600,
- 0x00000684,
- 0x10000700,
- 0x00000800,
- 0x08000808,
- 0x00000828,
- 0x00000830,
- 0x000008d8,
- 0x000008e0,
- 0x140008e8,
- 0x0000091c,
- 0x08000924,
- 0x00000b00,
- 0x14000b08,
- 0x00000bb8,
- 0x00000c08,
- 0x1c000c10,
- 0x00000c40,
- 0x00000c6c,
- 0x00000c80,
- 0x00000c8c,
- 0x08001000,
- 0x00001014,
-/* 0x0114: nve4_gpc_mmio_tail */
-/* 0x0114: nvf0_gpc_mmio_head */
- 0x00000380,
- 0x04000400,
- 0x0800040c,
- 0x20000450,
- 0x00000600,
- 0x00000684,
- 0x10000700,
- 0x00000800,
- 0x08000808,
- 0x00000828,
- 0x00000830,
- 0x000008d8,
- 0x000008e0,
- 0x140008e8,
- 0x0000091c,
- 0x08000924,
- 0x00000b00,
- 0x14000b08,
- 0x00000bb8,
- 0x00000c08,
- 0x1c000c10,
- 0x00000c40,
- 0x00000c6c,
- 0x00000c80,
- 0x00000c8c,
- 0x00000d24,
- 0x08001000,
- 0x00001014,
-/* 0x0184: nvf0_gpc_mmio_tail */
-/* 0x0184: nve4_tpc_mmio_head */
- 0x00000048,
- 0x00000064,
- 0x00000088,
- 0x14000200,
- 0x0400021c,
- 0x00000230,
- 0x000002c4,
- 0x08000400,
- 0x08000420,
- 0x000004e8,
- 0x000004f4,
- 0x0c000604,
- 0x54000644,
- 0x040006ac,
- 0x000006c8,
- 0x1c000730,
- 0x00000758,
- 0x00000770,
- 0x04000778,
-/* 0x01d0: nve4_tpc_mmio_tail */
-/* 0x01d0: nvf0_tpc_mmio_head */
- 0x00000048,
- 0x00000064,
- 0x00000088,
- 0x14000200,
- 0x0400021c,
- 0x00000230,
- 0x000002c4,
- 0x08000400,
- 0x08000420,
- 0x000004e8,
- 0x000004f4,
- 0x0c000604,
- 0x54000644,
- 0x040006ac,
- 0x000006b8,
- 0x000006c8,
- 0x1c000730,
- 0x00000758,
- 0x00000770,
- 0x04000778,
-/* 0x0220: nvf0_tpc_mmio_tail */
-/* 0x0220: nve4_unk_mmio_head */
- 0x00000024,
- 0x040000c0,
- 0x000000e4,
- 0x14000100,
- 0x000001d0,
- 0x040001e0,
};
uint32_t nve0_grgpc_code[] = {
@@ -396,7 +271,7 @@ uint32_t nve0_grgpc_code[] = {
0xf10004fe,
0xf0120017,
0x12d00227,
- 0x5417f100,
+ 0x2317f100,
0x0010fe04,
0x040017f1,
0xf0c010d0,
@@ -408,169 +283,167 @@ uint32_t nve0_grgpc_code[] = {
0x1f24f001,
0xb60432bb,
0x02800132,
- 0x04038003,
+ 0x06038005,
0x040010b7,
0x800012cf,
- 0x27f10002,
+ 0x27f10402,
0x24b60800,
- 0x0022cf06,
-/* 0x035f: init_find_chipset */
- 0xb66817f0,
- 0x13980c10,
- 0x0432b800,
- 0xb00b0bf4,
- 0x1bf40034,
-/* 0x0373: init_context */
- 0xf100f8f1,
- 0xb6080027,
- 0x22cf0624,
- 0xf134bd40,
- 0xb6070047,
- 0x25950644,
- 0x0045d008,
- 0xbd4045d0,
- 0x58f4bde4,
- 0x1f58021e,
- 0x020e4003,
- 0xf5040f40,
- 0xbb013d21,
- 0x3fbb002f,
- 0x041e5800,
- 0x40051f58,
- 0x0f400a0e,
- 0x3d21f50c,
- 0x030e9801,
- 0xbb00effd,
- 0x3ebb002e,
- 0x090e9800,
- 0xf50a0f98,
- 0x98013d21,
- 0xeffd070e,
- 0x002ebb00,
- 0xb7003ebb,
- 0xb6130040,
- 0x43d00235,
- 0x0825b600,
- 0xb60635b6,
- 0x30b60120,
- 0x0824b601,
- 0xb90834b6,
- 0x21f5022f,
- 0x3fbb0263,
- 0x0017f100,
- 0x0614b608,
- 0xb74013d0,
- 0xbd080010,
- 0x1f29f024,
-/* 0x0417: main */
- 0xf40012d0,
- 0x28f40031,
- 0x2cd7f000,
- 0xf43921f4,
- 0xe4b0f401,
- 0x1e18f404,
- 0xf00181fe,
- 0x20bd0627,
- 0xb60412fd,
- 0x1efd01e4,
- 0x0018fe05,
- 0x04d921f5,
-/* 0x0447: main_not_ctx_xfer */
- 0x94d30ef4,
- 0xf5f010ef,
- 0xec21f501,
- 0xc60ef402,
-/* 0x0454: ih */
- 0x88fe80f9,
- 0xf980f901,
- 0xf9a0f990,
- 0xf9d0f9b0,
- 0xcff0f9e0,
- 0xabc4800a,
- 0x1d0bf404,
- 0x1900b7f1,
- 0xcf2cd7f0,
- 0xbfcf40be,
- 0x0421f400,
- 0x0400b0b7,
- 0xd001e7f0,
-/* 0x048a: ih_no_fifo */
- 0x0ad000be,
- 0xfcf0fc40,
- 0xfcd0fce0,
- 0xfca0fcb0,
- 0xfe80fc90,
- 0x80fc0088,
- 0xf80032f4,
-/* 0x04a5: hub_barrier_done */
- 0x01f7f001,
- 0xbb000e98,
- 0xe7f104fe,
- 0xe3f09418,
- 0x8d21f440,
-/* 0x04ba: ctx_redswitch */
- 0xe7f100f8,
- 0xe4b60614,
- 0x20f7f006,
- 0xf000efd0,
-/* 0x04ca: ctx_redswitch_delay */
- 0xf2b608f7,
- 0xfd1bf401,
- 0x0a20f7f1,
- 0xf800efd0,
-/* 0x04d9: ctx_xfer */
- 0x0417f100,
- 0x0614b60a,
- 0xf4001fd0,
- 0x21f50711,
-/* 0x04ea: ctx_xfer_not_load */
- 0x17f104ba,
- 0x13f04afc,
- 0x0c27f002,
- 0xf50012d0,
- 0xf1020721,
- 0xf047fc27,
- 0x20d00223,
- 0x012cf000,
- 0xd00320b6,
- 0xacf00012,
- 0x02a5f001,
- 0xf000b7f0,
- 0x0c9850b3,
- 0x0fc4b600,
- 0x9800bcbb,
- 0x0d98010c,
- 0x00e7f002,
- 0x015c21f5,
- 0xf101acf0,
- 0xf04000b7,
- 0x0c9850b3,
- 0x0fc4b600,
- 0x9800bcbb,
- 0x0d98050c,
- 0x040f9806,
- 0x0800e7f1,
- 0x015c21f5,
- 0xf001acf0,
- 0xb7f104a5,
- 0xb3f03000,
- 0x000c9850,
- 0xbb0fc4b6,
- 0x0c9800bc,
- 0x0a0d9809,
- 0xf1080f98,
- 0xf50200e7,
- 0xf5015c21,
- 0xf4020721,
- 0x12f40601,
-/* 0x0585: ctx_xfer_post */
- 0xfc17f114,
+ 0x4022cf06,
+ 0x47f134bd,
+ 0x44b60700,
+ 0x08259506,
+ 0xd00045d0,
+ 0x0e984045,
+ 0x010f9800,
+ 0x013d21f5,
+ 0xbb002fbb,
+ 0x0e98003f,
+ 0x020f9801,
+ 0x013d21f5,
+ 0xfd050e98,
+ 0x2ebb00ef,
+ 0x003ebb00,
+ 0x98020e98,
+ 0x21f5030f,
+ 0x0e98013d,
+ 0x00effd07,
+ 0xbb002ebb,
+ 0x40b7003e,
+ 0x35b61300,
+ 0x0043d002,
+ 0xb60825b6,
+ 0x20b60635,
+ 0x0130b601,
+ 0xb60824b6,
+ 0x2fb90834,
+ 0x6321f502,
+ 0x003fbb02,
+ 0x080017f1,
+ 0xd00614b6,
+ 0x10b74013,
+ 0x24bd0800,
+ 0xd01f29f0,
+/* 0x03e6: main */
+ 0x31f40012,
+ 0x0028f400,
+ 0xf424d7f0,
+ 0x01f43921,
+ 0x04e4b0f4,
+ 0xfe1e18f4,
+ 0x27f00181,
+ 0xfd20bd06,
+ 0xe4b60412,
+ 0x051efd01,
+ 0xf50018fe,
+ 0xf404a821,
+/* 0x0416: main_not_ctx_xfer */
+ 0xef94d30e,
+ 0x01f5f010,
+ 0x02ec21f5,
+/* 0x0423: ih */
+ 0xf9c60ef4,
+ 0x0188fe80,
+ 0x90f980f9,
+ 0xb0f9a0f9,
+ 0xe0f9d0f9,
+ 0x0acff0f9,
+ 0x04abc480,
+ 0xf11d0bf4,
+ 0xf01900b7,
+ 0xbecf24d7,
+ 0x00bfcf40,
+ 0xb70421f4,
+ 0xf00400b0,
+ 0xbed001e7,
+/* 0x0459: ih_no_fifo */
+ 0x400ad000,
+ 0xe0fcf0fc,
+ 0xb0fcd0fc,
+ 0x90fca0fc,
+ 0x88fe80fc,
+ 0xf480fc00,
+ 0x01f80032,
+/* 0x0474: hub_barrier_done */
+ 0x9801f7f0,
+ 0xfebb040e,
+ 0x18e7f104,
+ 0x40e3f094,
+ 0xf88d21f4,
+/* 0x0489: ctx_redswitch */
+ 0x14e7f100,
+ 0x06e4b606,
+ 0xd020f7f0,
+ 0xf7f000ef,
+/* 0x0499: ctx_redswitch_delay */
+ 0x01f2b608,
+ 0xf1fd1bf4,
+ 0xd00a20f7,
+ 0x00f800ef,
+/* 0x04a8: ctx_xfer */
+ 0x0a0417f1,
+ 0xd00614b6,
+ 0x11f4001f,
+ 0x8921f507,
+/* 0x04b9: ctx_xfer_not_load */
+ 0xfc17f104,
0x0213f04a,
- 0xd00d27f0,
+ 0xd00c27f0,
0x21f50012,
-/* 0x0596: ctx_xfer_done */
- 0x21f50207,
- 0x00f804a5,
+ 0x27f10207,
+ 0x23f047fc,
+ 0x0020d002,
+ 0xb6012cf0,
+ 0x12d00320,
+ 0x01acf000,
+ 0xf002a5f0,
+ 0xb3f000b7,
+ 0x040c9850,
+ 0xbb0fc4b6,
+ 0x0c9800bc,
+ 0x010d9800,
+ 0xf500e7f0,
+ 0xf0015c21,
+ 0xb7f101ac,
+ 0xb3f04000,
+ 0x040c9850,
+ 0xbb0fc4b6,
+ 0x0c9800bc,
+ 0x020d9801,
+ 0xf1060f98,
+ 0xf50800e7,
+ 0xf0015c21,
+ 0xa5f001ac,
+ 0x00b7f104,
+ 0x50b3f030,
+ 0xb6040c98,
+ 0xbcbb0fc4,
+ 0x020c9800,
+ 0x98030d98,
+ 0xe7f1080f,
+ 0x21f50200,
+ 0x21f5015c,
+ 0x01f40207,
+ 0x1412f406,
+/* 0x0554: ctx_xfer_post */
+ 0x4afc17f1,
+ 0xf00213f0,
+ 0x12d00d27,
+ 0x0721f500,
+/* 0x0565: ctx_xfer_done */
+ 0x7421f502,
+ 0x0000f804,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
0x00000000,
0x00000000,
0x00000000,