Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
2a19b3ed
Commit
2a19b3ed
authored
Apr 07, 2015
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nouveau/gr/gf100-: support mmio access with gpc offset from gpccs ucode
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
7b03ac2c
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
726 additions
and
709 deletions
+726
-709
drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/gpc.fuc
drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/gpc.fuc
+11
-1
drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/gpcgf100.fuc3.h
drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/gpcgf100.fuc3.h
+144
-144
drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/gpcgf117.fuc3.h
drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/gpcgf117.fuc3.h
+174
-174
drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/gpcgk104.fuc3.h
drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/gpcgk104.fuc3.h
+174
-174
drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/gpcgk110.fuc3.h
drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/gpcgk110.fuc3.h
+174
-174
drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/gpcgk208.fuc5.h
drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/gpcgk208.fuc5.h
+21
-21
drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/gpcgm107.fuc5.h
drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/gpcgm107.fuc5.h
+21
-21
drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/macros.fuc
drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/macros.fuc
+7
-0
No files found.
drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/gpc.fuc
View file @
2a19b3ed
...
@@ -52,6 +52,12 @@ mmio_list_base:
...
@@ -52,6 +52,12 @@ mmio_list_base:
#endif
#endif
#ifdef INCLUDE_CODE
#ifdef INCLUDE_CODE
#define gpc_wr32(addr,reg) /*
*/ mov b32 $r15 reg /*
*/ imm32($r14, addr) /*
*/ or $r14 NV_PGRAPH_GPCX_GPCCS_MMIO_CTRL_BASE_ENABLE /*
*/ call(nv_wr32)
// reports an exception to the host
// reports an exception to the host
//
//
// In: $r15 error code (see os.h)
// In: $r15 error code (see os.h)
...
@@ -101,7 +107,7 @@ init:
...
@@ -101,7 +107,7 @@ init:
// enable interrupts
// enable interrupts
bset $flags ie0
bset $flags ie0
//
figure out which GPC we are, and how many TPCs we have
//
how many TPCs do we have?
nv_iord($r2, NV_PGRAPH_GPCX_GPCCS_UNITS, 0)
nv_iord($r2, NV_PGRAPH_GPCX_GPCCS_UNITS, 0)
mov $r3 1
mov $r3 1
and $r2 0x1f
and $r2 0x1f
...
@@ -109,8 +115,12 @@ init:
...
@@ -109,8 +115,12 @@ init:
sub b32 $r3 1
sub b32 $r3 1
st b32 D[$r0 + #tpc_count] $r2
st b32 D[$r0 + #tpc_count] $r2
st b32 D[$r0 + #tpc_mask] $r3
st b32 D[$r0 + #tpc_mask] $r3
// determine which GPC we are, setup (optional) mmio access offset
nv_iord($r2, NV_PGRAPH_GPCX_GPCCS_MYINDEX, 0)
nv_iord($r2, NV_PGRAPH_GPCX_GPCCS_MYINDEX, 0)
st b32 D[$r0 + #gpc_id] $r2
st b32 D[$r0 + #gpc_id] $r2
shl b32 $r2 15
nv_iowr(NV_PGRAPH_GPCX_GPCCS_MMIO_BASE, 0, $r2)
#if NV_PGRAPH_GPCX_UNK__SIZE > 0
#if NV_PGRAPH_GPCX_UNK__SIZE > 0
// figure out which, and how many, UNKs are actually present
// figure out which, and how many, UNKs are actually present
...
...
drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/gpcgf100.fuc3.h
View file @
2a19b3ed
...
@@ -310,7 +310,7 @@ uint32_t gf100_grgpc_code[] = {
...
@@ -310,7 +310,7 @@ uint32_t gf100_grgpc_code[] = {
0x03f01200
,
0x03f01200
,
0x0002d000
,
0x0002d000
,
0x17f104bd
,
0x17f104bd
,
0x10fe04
e6
,
0x10fe04
f5
,
0x0007f100
,
0x0007f100
,
0x0003f007
,
0x0003f007
,
0xbd0000d0
,
0xbd0000d0
,
...
@@ -329,157 +329,157 @@ uint32_t gf100_grgpc_code[] = {
...
@@ -329,157 +329,157 @@ uint32_t gf100_grgpc_code[] = {
0xf0860027
,
0xf0860027
,
0x22cf0123
,
0x22cf0123
,
0x04028000
,
0x04028000
,
0x010027f1
,
0xf10f24b6
,
0xcf0223f0
,
0xf0c90007
,
0x34bd0022
,
0x02d00103
,
0xf1082595
,
0xf0c00007
,
0x05d00103
,
0xf104bd00
,
0xf104bd00
,
0xf0c10007
,
0xf0010027
,
0x05d00103
,
0x22cf0223
,
0x9804bd00
,
0x9534bd00
,
0x0f98000e
,
0x07f10825
,
0x5021f501
,
0x03f0c000
,
0x002fbb01
,
0x0005d001
,
0x98003fbb
,
0x07f104bd
,
0x0f98010e
,
0x03f0c100
,
0x5021f502
,
0x0005d001
,
0x050e9801
,
0x0e9804bd
,
0xbb00effd
,
0x010f9800
,
0x3ebb002e
,
0x015021f5
,
0x0235b600
,
0xbb002fbb
,
0xd30007f1
,
0x0e98003f
,
0xd00103f0
,
0x020f9801
,
0x04bd0003
,
0x015021f5
,
0xb60825b6
,
0xfd050e98
,
0x20b60635
,
0x2ebb00ef
,
0x0130b601
,
0x003ebb00
,
0xb60824b6
,
0xf10235b6
,
0x2fb90834
,
0xf0d30007
,
0xd321f502
,
0x03d00103
,
0x003fbb02
,
0xb604bd00
,
0x010007f1
,
0x35b60825
,
0x0120b606
,
0xb60130b6
,
0x34b60824
,
0x022fb908
,
0x02d321f5
,
0xf1003fbb
,
0xf0010007
,
0x03d00203
,
0xbd04bd00
,
0x1f29f024
,
0x080007f1
,
0xd00203f0
,
0xd00203f0
,
0x04bd0003
,
0x04bd0002
,
0x29f024bd
,
/* 0x04b8: main */
0x0007f11f
,
0xf40031f4
,
0x0203f008
,
0xd7f00028
,
0xbd0002d0
,
0x3921f41c
,
/* 0x04a9: main */
0xb0f401f4
,
0x0031f404
,
0x18f404e4
,
0xf00028f4
,
0x0181fe1e
,
0x21f41cd7
,
0xbd0627f0
,
0xf401f439
,
0x0412fd20
,
0xf404e4b0
,
0xfd01e4b6
,
0x81fe1e18
,
0x18fe051e
,
0x0627f001
,
0xad21f500
,
0x12fd20bd
,
0xd30ef405
,
0x01e4b604
,
/* 0x04e8: main_not_ctx_xfer */
0xfe051efd
,
0xf010ef94
,
0x21f50018
,
0x21f501f5
,
0x0ef4059e
,
0x0ef4037e
,
/* 0x04d9: main_not_ctx_xfer */
/* 0x04f5: ih */
0x10ef94d3
,
0xfe80f9c6
,
0xf501f5f0
,
0x80f90188
,
0xf4037e21
,
0xa0f990f9
,
/* 0x04e6: ih */
0xd0f9b0f9
,
0x80f9c60e
,
0xf0f9e0f9
,
0xf90188fe
,
0xa7f104bd
,
0xf990f980
,
0xa3f00200
,
0xf9b0f9a0
,
0x00aacf00
,
0xf9e0f9d0
,
0xf404abc4
,
0xf104bdf0
,
0xd7f02c0b
,
0xf00200a7
,
0x00e7f11c
,
0xaacf00a3
,
0x00e3f01a
,
0x04abc400
,
0xf100eecf
,
0xf02c0bf4
,
0xf01900f7
,
0xe7f11cd7
,
0xffcf00f3
,
0xe3f01a00
,
0x0421f400
,
0x00eecf00
,
0xf101e7f0
,
0x1900f7f1
,
0xf01d0007
,
0xcf00f3f0
,
0x0ed00003
,
0x21f400ff
,
/* 0x0543: ih_no_fifo */
0x01e7f004
,
0xf104bd00
,
0x1d0007f1
,
0xf0010007
,
0xd00003f0
,
0x0ad00003
,
0x04bd000e
,
0xfc04bd00
,
/* 0x0534: ih_no_fifo */
0xfce0fcf0
,
0x010007f1
,
0xfcb0fcd0
,
0xd00003f0
,
0xfc90fca0
,
0x04bd000a
,
0x0088fe80
,
0xe0fcf0fc
,
0x32f480fc
,
0xb0fcd0fc
,
/* 0x0567: hub_barrier_done */
0x90fca0fc
,
0xf001f800
,
0x88fe80fc
,
0x0e9801f7
,
0xf480fc00
,
0x04febb04
,
0x01f80032
,
0xf102ffb9
,
/* 0x0558: hub_barrier_done */
0xf09418e7
,
0x9801f7f0
,
0x21f440e3
,
0xfebb040e
,
/* 0x057f: ctx_redswitch */
0x02ffb904
,
0xf000f89d
,
0x9418e7f1
,
0x07f120f7
,
0xf440e3f0
,
0x03f08500
,
0x00f89d21
,
0x000fd001
,
/* 0x0570: ctx_redswitch */
0xe7f004bd
,
0xf120f7f0
,
/* 0x0591: ctx_redswitch_delay */
0x01e2b608
,
0xf1fd1bf4
,
0xf10800f5
,
0xf10200f5
,
0xf0850007
,
0xf0850007
,
0x0fd00103
,
0x0fd00103
,
0xf004bd00
,
0xf804bd00
,
/* 0x0582: ctx_redswitch_delay */
/* 0x05ad: ctx_xfer */
0xe2b608e7
,
0x0007f100
,
0xfd1bf401
,
0x0203f081
,
0x0800f5f1
,
0xbd000fd0
,
0x0200f5f1
,
0x0711f404
,
0x850007f1
,
0x057f21f5
,
0xd00103f0
,
/* 0x05c0: ctx_xfer_not_load */
0x04bd000f
,
0x026a21f5
,
/* 0x059e: ctx_xfer */
0x07f124bd
,
0x07f100f8
,
0x03f047fc
,
0x03f08100
,
0x0002d002
,
0x000fd002
,
0x2cf004bd
,
0x11f404bd
,
0x0320b601
,
0x7021f507
,
0x4afc07f1
,
/* 0x05b1: ctx_xfer_not_load */
0xd00203f0
,
0x6a21f505
,
0x04bd0002
,
0xf124bd02
,
0xf047fc07
,
0x02d00203
,
0xf004bd00
,
0x20b6012c
,
0xfc07f103
,
0x0203f04a
,
0xbd0002d0
,
0x01acf004
,
0xf102a5f0
,
0xf00000b7
,
0x0c9850b3
,
0x0fc4b604
,
0x9800bcbb
,
0x0d98000c
,
0x00e7f001
,
0x016f21f5
,
0xf001acf0
,
0xf001acf0
,
0xb7f10
4
a5
,
0xb7f10
2
a5
,
0xb3f0
4
000
,
0xb3f0
0
000
,
0x040c9850
,
0x040c9850
,
0xbb0fc4b6
,
0xbb0fc4b6
,
0x0c9800bc
,
0x0c9800bc
,
0x020d9801
,
0x010d9800
,
0xf1060f98
,
0xf500e7f0
,
0xf50800e7
,
0xf0016f21
,
0xf5016f21
,
0xa5f001ac
,
0xf4025e21
,
0x00b7f104
,
0x12f40601
,
0x50b3f040
,
/* 0x0629: ctx_xfer_post */
0xb6040c98
,
0x7f21f507
,
0xbcbb0fc4
,
/* 0x062d: ctx_xfer_done */
0x010c9800
,
0x5821f502
,
0x98020d98
,
0x0000f805
,
0xe7f1060f
,
0x00000000
,
0x21f50800
,
0x00000000
,
0x21f5016f
,
0x00000000
,
0x01f4025e
,
0x00000000
,
0x0712f406
,
/* 0x0638: ctx_xfer_post */
0x027f21f5
,
/* 0x063c: ctx_xfer_done */
0x056721f5
,
0x000000f8
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
...
...
drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/gpcgf117.fuc3.h
View file @
2a19b3ed
...
@@ -314,7 +314,7 @@ uint32_t gf117_grgpc_code[] = {
...
@@ -314,7 +314,7 @@ uint32_t gf117_grgpc_code[] = {
0x03f01200
,
0x03f01200
,
0x0002d000
,
0x0002d000
,
0x17f104bd
,
0x17f104bd
,
0x10fe053
0
,
0x10fe053
f
,
0x0007f100
,
0x0007f100
,
0x0003f007
,
0x0003f007
,
0xbd0000d0
,
0xbd0000d0
,
...
@@ -333,187 +333,187 @@ uint32_t gf117_grgpc_code[] = {
...
@@ -333,187 +333,187 @@ uint32_t gf117_grgpc_code[] = {
0xf0860027
,
0xf0860027
,
0x22cf0123
,
0x22cf0123
,
0x04028000
,
0x04028000
,
0x0c30e7f1
,
0xf10f24b6
,
0xbd50e3f0
,
0xf0c90007
,
0xbd34bd24
,
0x02d00103
,
/* 0x0421: init_unk_loop */
0x6821f444
,
0xf400f6b0
,
0xf7f00f0b
,
0x04f2bb01
,
0xb6054ffd
,
/* 0x0436: init_unk_next */
0x20b60130
,
0x04e0b601
,
0xf40126b0
,
/* 0x0442: init_unk_done */
0x0380e21b
,
0x08048007
,
0x010027f1
,
0xcf0223f0
,
0x34bd0022
,
0xf1082595
,
0xf0c00007
,
0x05d00103
,
0xf104bd00
,
0xf104bd00
,
0xf0c10007
,
0xf00c30e7
,
0x05d00103
,
0x24bd50e3
,
0x9804bd00
,
0x44bd34bd
,
0x0f98000e
,
/* 0x0430: init_unk_loop */
0x5021f501
,
0xb06821f4
,
0x002fbb01
,
0x0bf400f6
,
0x98003fbb
,
0x01f7f00f
,
0x0f98010e
,
0xfd04f2bb
,
0x5021f502
,
0x30b6054f
,
0x050e9801
,
/* 0x0445: init_unk_next */
0xbb00effd
,
0x0120b601
,
0x3ebb002e
,
0xb004e0b6
,
0x020e9800
,
0x1bf40126
,
0xf5030f98
,
/* 0x0451: init_unk_done */
0x98015021
,
0x070380e2
,
0xeffd070e
,
0xf1080480
,
0x002ebb00
,
0xf0010027
,
0xb6003ebb
,
0x22cf0223
,
0x07f10235
,
0x9534bd00
,
0x03f0d300
,
0x07f10825
,
0x0003d001
,
0x03f0c000
,
0x25b604bd
,
0x0005d001
,
0x0635b608
,
0xb60120b6
,
0x24b60130
,
0x0834b608
,
0xf5022fb9
,
0xbb02d321
,
0x07f1003f
,
0x03f00100
,
0x0003d002
,
0x24bd04bd
,
0xf11f29f0
,
0xf0080007
,
0x02d00203
,
/* 0x04f3: main */
0xf404bd00
,
0x28f40031
,
0x24d7f000
,
0xf43921f4
,
0xe4b0f401
,
0x1e18f404
,
0xf00181fe
,
0x20bd0627
,
0xb60412fd
,
0x1efd01e4
,
0x0018fe05
,
0x05e821f5
,
/* 0x0523: main_not_ctx_xfer */
0x94d30ef4
,
0xf5f010ef
,
0x7e21f501
,
0xc60ef403
,
/* 0x0530: ih */
0x88fe80f9
,
0xf980f901
,
0xf9a0f990
,
0xf9d0f9b0
,
0xbdf0f9e0
,
0x00a7f104
,
0x00a3f002
,
0xc400aacf
,
0x0bf404ab
,
0x24d7f02c
,
0x1a00e7f1
,
0xcf00e3f0
,
0xf7f100ee
,
0xf3f01900
,
0x00ffcf00
,
0xf00421f4
,
0x07f101e7
,
0x03f01d00
,
0x000ed000
,
/* 0x057e: ih_no_fifo */
0x07f104bd
,
0x07f104bd
,
0x03f00100
,
0x03f0c100
,
0x000ad000
,
0x0005d001
,
0xf0fc04bd
,
0x0e9804bd
,
0xd0fce0fc
,
0x010f9800
,
0xa0fcb0fc
,
0x015021f5
,
0x80fc90fc
,
0xbb002fbb
,
0xfc0088fe
,
0x0e98003f
,
0x0032f480
,
0x020f9801
,
/* 0x05a2: hub_barrier_done */
0x015021f5
,
0xf7f001f8
,
0xfd050e98
,
0x040e9801
,
0x2ebb00ef
,
0xb904febb
,
0x003ebb00
,
0xe7f102ff
,
0x98020e98
,
0xe3f09418
,
0x21f5030f
,
0x9d21f440
,
0x0e980150
,
/* 0x05ba: ctx_redswitch */
0x00effd07
,
0xf7f000f8
,
0xbb002ebb
,
0x0007f120
,
0x35b6003e
,
0x0007f102
,
0x0103f0d3
,
0xbd0003d0
,
0x0825b604
,
0xb60635b6
,
0x30b60120
,
0x0824b601
,
0xb90834b6
,
0x21f5022f
,
0x3fbb02d3
,
0x0007f100
,
0x0203f001
,
0xbd0003d0
,
0xf024bd04
,
0x07f11f29
,
0x03f00800
,
0x0002d002
,
/* 0x0502: main */
0x31f404bd
,
0x0028f400
,
0xf424d7f0
,
0x01f43921
,
0x04e4b0f4
,
0xfe1e18f4
,
0x27f00181
,
0xfd20bd06
,
0xe4b60412
,
0x051efd01
,
0xf50018fe
,
0xf405f721
,
/* 0x0532: main_not_ctx_xfer */
0xef94d30e
,
0x01f5f010
,
0x037e21f5
,
/* 0x053f: ih */
0xf9c60ef4
,
0x0188fe80
,
0x90f980f9
,
0xb0f9a0f9
,
0xe0f9d0f9
,
0x04bdf0f9
,
0x0200a7f1
,
0xcf00a3f0
,
0xabc400aa
,
0x2c0bf404
,
0xf124d7f0
,
0xf01a00e7
,
0xeecf00e3
,
0x00f7f100
,
0x00f3f019
,
0xf400ffcf
,
0xe7f00421
,
0x0007f101
,
0x0003f01d
,
0xbd000ed0
,
/* 0x058d: ih_no_fifo */
0x0007f104
,
0x0003f001
,
0xbd000ad0
,
0xfcf0fc04
,
0xfcd0fce0
,
0xfca0fcb0
,
0xfe80fc90
,
0x80fc0088
,
0xf80032f4
,
/* 0x05b1: hub_barrier_done */
0x01f7f001
,
0xbb040e98
,
0xffb904fe
,
0x18e7f102
,
0x40e3f094
,
0xf89d21f4
,
/* 0x05c9: ctx_redswitch */
0x20f7f000
,
0x850007f1
,
0xd00103f0
,
0x04bd000f
,
/* 0x05db: ctx_redswitch_delay */
0xb608e7f0
,
0x1bf401e2
,
0x00f5f1fd
,
0x00f5f108
,
0x0007f102
,
0x0103f085
,
0x0103f085
,
0xbd000fd0
,
0xbd000fd0
,
0x08e7f004
,
/* 0x05f7: ctx_xfer */
/* 0x05cc: ctx_redswitch_delay */
0xf100f804
,
0xf401e2b6
,
0xf0810007
,
0xf5f1fd1b
,
0x0fd00203
,
0xf5f10800
,
0xf404bd00
,
0x07f10200
,
0x21f50711
,
0x03f08500
,
/* 0x060a: ctx_xfer_not_load */
0x000fd001
,
0x21f505c9
,
0x00f804bd
,
0x24bd026a
,
/* 0x05e8: ctx_xfer */
0x47fc07f1
,
0x810007f1
,
0xd00203f0
,
0xd00203f0
,
0x04bd000f
,
0x04bd0002
,
0xf50711f4
,
0xb6012cf0
,
/* 0x05fb: ctx_xfer_not_load */
0x07f10320
,
0xf505ba21
,
0x03f04afc
,
0xbd026a21
,
0x0002d002
,
0xfc07f124
,
0xacf004bd
,
0x0203f047
,
0x02a5f001
,
0xbd0002d0
,
0x0000b7f1
,
0x012cf004
,
0xf10320b6
,
0xf04afc07
,
0x02d00203
,
0xf004bd00
,
0xa5f001ac
,
0x00b7f102
,
0x50b3f000
,
0xb6040c98
,
0xbcbb0fc4
,
0x000c9800
,
0xf0010d98
,
0x21f500e7
,
0xacf0016f
,
0x00b7f101
,
0x50b3f040
,
0xb6040c98
,
0xbcbb0fc4
,
0x010c9800
,
0x98020d98
,
0xe7f1060f
,
0x21f50800
,
0xacf0016f
,
0x04a5f001
,
0x3000b7f1
,
0x9850b3f0
,
0x9850b3f0
,
0xc4b6040c
,
0xc4b6040c
,
0x00bcbb0f
,
0x00bcbb0f
,
0x98020c98
,
0x98000c98
,
0x0f98030d
,
0xe7f0010d
,
0x00e7f108
,
0x6f21f500
,
0x6f21f502
,
0x01acf001
,
0x5e21f501
,
0x4000b7f1
,
0x0601f402
,
0x9850b3f0
,
/* 0x0697: ctx_xfer_post */
0xc4b6040c
,
0xf50712f4
,
0x00bcbb0f
,
/* 0x069b: ctx_xfer_done */
0x98010c98
,
0xf5027f21
,
0x0f98020d
,
0xf805a221
,
0x00e7f106
,
0x00000000
,
0x6f21f508
,
0x00000000
,
0x01acf001
,
0x00000000
,
0xf104a5f0
,
0x00000000
,
0xf03000b7
,
0x0c9850b3
,
0x0fc4b604
,
0x9800bcbb
,
0x0d98020c
,
0x080f9803
,
0x0200e7f1
,
0x016f21f5
,
0x025e21f5
,
0xf40601f4
,
/* 0x06a6: ctx_xfer_post */
0x21f50712
,
/* 0x06aa: ctx_xfer_done */
0x21f5027f
,
0x00f805b1
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
...
...
drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/gpcgk104.fuc3.h
View file @
2a19b3ed
...
@@ -314,7 +314,7 @@ uint32_t gk104_grgpc_code[] = {
...
@@ -314,7 +314,7 @@ uint32_t gk104_grgpc_code[] = {
0x03f01200
,
0x03f01200
,
0x0002d000
,
0x0002d000
,
0x17f104bd
,
0x17f104bd
,
0x10fe053
0
,
0x10fe053
f
,
0x0007f100
,
0x0007f100
,
0x0003f007
,
0x0003f007
,
0xbd0000d0
,
0xbd0000d0
,
...
@@ -333,187 +333,187 @@ uint32_t gk104_grgpc_code[] = {
...
@@ -333,187 +333,187 @@ uint32_t gk104_grgpc_code[] = {
0xf0860027
,
0xf0860027
,
0x22cf0123
,
0x22cf0123
,
0x04028000
,
0x04028000
,
0x0c30e7f1
,
0xf10f24b6
,
0xbd50e3f0
,
0xf0c90007
,
0xbd34bd24
,
0x02d00103
,
/* 0x0421: init_unk_loop */
0x6821f444
,
0xf400f6b0
,
0xf7f00f0b
,
0x04f2bb01
,
0xb6054ffd
,
/* 0x0436: init_unk_next */
0x20b60130
,
0x04e0b601
,
0xf40126b0
,
/* 0x0442: init_unk_done */
0x0380e21b
,
0x08048007
,
0x010027f1
,
0xcf0223f0
,
0x34bd0022
,
0xf1082595
,
0xf0c00007
,
0x05d00103
,
0xf104bd00
,
0xf104bd00
,
0xf0c10007
,
0xf00c30e7
,
0x05d00103
,
0x24bd50e3
,
0x9804bd00
,
0x44bd34bd
,
0x0f98000e
,
/* 0x0430: init_unk_loop */
0x5021f501
,
0xb06821f4
,
0x002fbb01
,
0x0bf400f6
,
0x98003fbb
,
0x01f7f00f
,
0x0f98010e
,
0xfd04f2bb
,
0x5021f502
,
0x30b6054f
,
0x050e9801
,
/* 0x0445: init_unk_next */
0xbb00effd
,
0x0120b601
,
0x3ebb002e
,
0xb004e0b6
,
0x020e9800
,
0x1bf40126
,
0xf5030f98
,
/* 0x0451: init_unk_done */
0x98015021
,
0x070380e2
,
0xeffd070e
,
0xf1080480
,
0x002ebb00
,
0xf0010027
,
0xb6003ebb
,
0x22cf0223
,
0x07f10235
,
0x9534bd00
,
0x03f0d300
,
0x07f10825
,
0x0003d001
,
0x03f0c000
,
0x25b604bd
,
0x0005d001
,
0x0635b608
,
0xb60120b6
,
0x24b60130
,
0x0834b608
,
0xf5022fb9
,
0xbb02d321
,
0x07f1003f
,
0x03f00100
,
0x0003d002
,
0x24bd04bd
,
0xf11f29f0
,
0xf0080007
,
0x02d00203
,
/* 0x04f3: main */
0xf404bd00
,
0x28f40031
,
0x24d7f000
,
0xf43921f4
,
0xe4b0f401
,
0x1e18f404
,
0xf00181fe
,
0x20bd0627
,
0xb60412fd
,
0x1efd01e4
,
0x0018fe05
,
0x05e821f5
,
/* 0x0523: main_not_ctx_xfer */
0x94d30ef4
,
0xf5f010ef
,
0x7e21f501
,
0xc60ef403
,
/* 0x0530: ih */
0x88fe80f9
,
0xf980f901
,
0xf9a0f990
,
0xf9d0f9b0
,
0xbdf0f9e0
,
0x00a7f104
,
0x00a3f002
,
0xc400aacf
,
0x0bf404ab
,
0x24d7f02c
,
0x1a00e7f1
,
0xcf00e3f0
,
0xf7f100ee
,
0xf3f01900
,
0x00ffcf00
,
0xf00421f4
,
0x07f101e7
,
0x03f01d00
,
0x000ed000
,
/* 0x057e: ih_no_fifo */
0x07f104bd
,
0x07f104bd
,
0x03f00100
,
0x03f0c100
,
0x000ad000
,
0x0005d001
,
0xf0fc04bd
,
0x0e9804bd
,
0xd0fce0fc
,
0x010f9800
,
0xa0fcb0fc
,
0x015021f5
,
0x80fc90fc
,
0xbb002fbb
,
0xfc0088fe
,
0x0e98003f
,
0x0032f480
,
0x020f9801
,
/* 0x05a2: hub_barrier_done */
0x015021f5
,
0xf7f001f8
,
0xfd050e98
,
0x040e9801
,
0x2ebb00ef
,
0xb904febb
,
0x003ebb00
,
0xe7f102ff
,
0x98020e98
,
0xe3f09418
,
0x21f5030f
,
0x9d21f440
,
0x0e980150
,
/* 0x05ba: ctx_redswitch */
0x00effd07
,
0xf7f000f8
,
0xbb002ebb
,
0x0007f120
,
0x35b6003e
,
0x0007f102
,
0x0103f0d3
,
0xbd0003d0
,
0x0825b604
,
0xb60635b6
,
0x30b60120
,
0x0824b601
,
0xb90834b6
,
0x21f5022f
,
0x3fbb02d3
,
0x0007f100
,
0x0203f001
,
0xbd0003d0
,
0xf024bd04
,
0x07f11f29
,
0x03f00800
,
0x0002d002
,
/* 0x0502: main */
0x31f404bd
,
0x0028f400
,
0xf424d7f0
,
0x01f43921
,
0x04e4b0f4
,
0xfe1e18f4
,
0x27f00181
,
0xfd20bd06
,
0xe4b60412
,
0x051efd01
,
0xf50018fe
,
0xf405f721
,
/* 0x0532: main_not_ctx_xfer */
0xef94d30e
,
0x01f5f010
,
0x037e21f5
,
/* 0x053f: ih */
0xf9c60ef4
,
0x0188fe80
,
0x90f980f9
,
0xb0f9a0f9
,
0xe0f9d0f9
,
0x04bdf0f9
,
0x0200a7f1
,
0xcf00a3f0
,
0xabc400aa
,
0x2c0bf404
,
0xf124d7f0
,
0xf01a00e7
,
0xeecf00e3
,
0x00f7f100
,
0x00f3f019
,
0xf400ffcf
,
0xe7f00421
,
0x0007f101
,
0x0003f01d
,
0xbd000ed0
,
/* 0x058d: ih_no_fifo */
0x0007f104
,
0x0003f001
,
0xbd000ad0
,
0xfcf0fc04
,
0xfcd0fce0
,
0xfca0fcb0
,
0xfe80fc90
,
0x80fc0088
,
0xf80032f4
,
/* 0x05b1: hub_barrier_done */
0x01f7f001
,
0xbb040e98
,
0xffb904fe
,
0x18e7f102
,
0x40e3f094
,
0xf89d21f4
,
/* 0x05c9: ctx_redswitch */
0x20f7f000
,
0x850007f1
,
0xd00103f0
,
0x04bd000f
,
/* 0x05db: ctx_redswitch_delay */
0xb608e7f0
,
0x1bf401e2
,
0x00f5f1fd
,
0x00f5f108
,
0x0007f102
,
0x0103f085
,
0x0103f085
,
0xbd000fd0
,
0xbd000fd0
,
0x08e7f004
,
/* 0x05f7: ctx_xfer */
/* 0x05cc: ctx_redswitch_delay */
0xf100f804
,
0xf401e2b6
,
0xf0810007
,
0xf5f1fd1b
,
0x0fd00203
,
0xf5f10800
,
0xf404bd00
,
0x07f10200
,
0x21f50711
,
0x03f08500
,
/* 0x060a: ctx_xfer_not_load */
0x000fd001
,
0x21f505c9
,
0x00f804bd
,
0x24bd026a
,
/* 0x05e8: ctx_xfer */
0x47fc07f1
,
0x810007f1
,
0xd00203f0
,
0xd00203f0
,
0x04bd000f
,
0x04bd0002
,
0xf50711f4
,
0xb6012cf0
,
/* 0x05fb: ctx_xfer_not_load */
0x07f10320
,
0xf505ba21
,
0x03f04afc
,
0xbd026a21
,
0x0002d002
,
0xfc07f124
,
0xacf004bd
,
0x0203f047
,
0x02a5f001
,
0xbd0002d0
,
0x0000b7f1
,
0x012cf004
,
0xf10320b6
,
0xf04afc07
,
0x02d00203
,
0xf004bd00
,
0xa5f001ac
,
0x00b7f102
,
0x50b3f000
,
0xb6040c98
,
0xbcbb0fc4
,
0x000c9800
,
0xf0010d98
,
0x21f500e7
,
0xacf0016f
,
0x00b7f101
,
0x50b3f040
,
0xb6040c98
,
0xbcbb0fc4
,
0x010c9800
,
0x98020d98
,
0xe7f1060f
,
0x21f50800
,
0xacf0016f
,
0x04a5f001
,
0x3000b7f1
,
0x9850b3f0
,
0x9850b3f0
,
0xc4b6040c
,
0xc4b6040c
,
0x00bcbb0f
,
0x00bcbb0f
,
0x98020c98
,
0x98000c98
,
0x0f98030d
,
0xe7f0010d
,
0x00e7f108
,
0x6f21f500
,
0x6f21f502
,
0x01acf001
,
0x5e21f501
,
0x4000b7f1
,
0x0601f402
,
0x9850b3f0
,
/* 0x0697: ctx_xfer_post */
0xc4b6040c
,
0xf50712f4
,
0x00bcbb0f
,
/* 0x069b: ctx_xfer_done */
0x98010c98
,
0xf5027f21
,
0x0f98020d
,
0xf805a221
,
0x00e7f106
,
0x00000000
,
0x6f21f508
,
0x00000000
,
0x01acf001
,
0x00000000
,
0xf104a5f0
,
0x00000000
,
0xf03000b7
,
0x0c9850b3
,
0x0fc4b604
,
0x9800bcbb
,
0x0d98020c
,
0x080f9803
,
0x0200e7f1
,
0x016f21f5
,
0x025e21f5
,
0xf40601f4
,
/* 0x06a6: ctx_xfer_post */
0x21f50712
,
/* 0x06aa: ctx_xfer_done */
0x21f5027f
,
0x00f805b1
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
...
...
drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/gpcgk110.fuc3.h
View file @
2a19b3ed
...
@@ -314,7 +314,7 @@ uint32_t gk110_grgpc_code[] = {
...
@@ -314,7 +314,7 @@ uint32_t gk110_grgpc_code[] = {
0x03f01200
,
0x03f01200
,
0x0002d000
,
0x0002d000
,
0x17f104bd
,
0x17f104bd
,
0x10fe053
0
,
0x10fe053
f
,
0x0007f100
,
0x0007f100
,
0x0003f007
,
0x0003f007
,
0xbd0000d0
,
0xbd0000d0
,
...
@@ -333,187 +333,187 @@ uint32_t gk110_grgpc_code[] = {
...
@@ -333,187 +333,187 @@ uint32_t gk110_grgpc_code[] = {
0xf0860027
,
0xf0860027
,
0x22cf0123
,
0x22cf0123
,
0x04028000
,
0x04028000
,
0x0c30e7f1
,
0xf10f24b6
,
0xbd50e3f0
,
0xf0c90007
,
0xbd34bd24
,
0x02d00103
,
/* 0x0421: init_unk_loop */
0x6821f444
,
0xf400f6b0
,
0xf7f00f0b
,
0x04f2bb01
,
0xb6054ffd
,
/* 0x0436: init_unk_next */
0x20b60130
,
0x04e0b601
,
0xf40226b0
,
/* 0x0442: init_unk_done */
0x0380e21b
,
0x08048007
,
0x010027f1
,
0xcf0223f0
,
0x34bd0022
,
0xf1082595
,
0xf0c00007
,
0x05d00103
,
0xf104bd00
,
0xf104bd00
,
0xf0c10007
,
0xf00c30e7
,
0x05d00103
,
0x24bd50e3
,
0x9804bd00
,
0x44bd34bd
,
0x0f98000e
,
/* 0x0430: init_unk_loop */
0x5021f501
,
0xb06821f4
,
0x002fbb01
,
0x0bf400f6
,
0x98003fbb
,
0x01f7f00f
,
0x0f98010e
,
0xfd04f2bb
,
0x5021f502
,
0x30b6054f
,
0x050e9801
,
/* 0x0445: init_unk_next */
0xbb00effd
,
0x0120b601
,
0x3ebb002e
,
0xb004e0b6
,
0x020e9800
,
0x1bf40226
,
0xf5030f98
,
/* 0x0451: init_unk_done */
0x98015021
,
0x070380e2
,
0xeffd070e
,
0xf1080480
,
0x002ebb00
,
0xf0010027
,
0xb6003ebb
,
0x22cf0223
,
0x07f10235
,
0x9534bd00
,
0x03f0d300
,
0x07f10825
,
0x0003d001
,
0x03f0c000
,
0x25b604bd
,
0x0005d001
,
0x0635b608
,
0xb60120b6
,
0x24b60130
,
0x0834b608
,
0xf5022fb9
,
0xbb02d321
,
0x07f1003f
,
0x03f00100
,
0x0003d002
,
0x24bd04bd
,
0xf11f29f0
,
0xf0300007
,
0x02d00203
,
/* 0x04f3: main */
0xf404bd00
,
0x28f40031
,
0x24d7f000
,
0xf43921f4
,
0xe4b0f401
,
0x1e18f404
,
0xf00181fe
,
0x20bd0627
,
0xb60412fd
,
0x1efd01e4
,
0x0018fe05
,
0x05e821f5
,
/* 0x0523: main_not_ctx_xfer */
0x94d30ef4
,
0xf5f010ef
,
0x7e21f501
,
0xc60ef403
,
/* 0x0530: ih */
0x88fe80f9
,
0xf980f901
,
0xf9a0f990
,
0xf9d0f9b0
,
0xbdf0f9e0
,
0x00a7f104
,
0x00a3f002
,
0xc400aacf
,
0x0bf404ab
,
0x24d7f02c
,
0x1a00e7f1
,
0xcf00e3f0
,
0xf7f100ee
,
0xf3f01900
,
0x00ffcf00
,
0xf00421f4
,
0x07f101e7
,
0x03f01d00
,
0x000ed000
,
/* 0x057e: ih_no_fifo */
0x07f104bd
,
0x07f104bd
,
0x03f00100
,
0x03f0c100
,
0x000ad000
,
0x0005d001
,
0xf0fc04bd
,
0x0e9804bd
,
0xd0fce0fc
,
0x010f9800
,
0xa0fcb0fc
,
0x015021f5
,
0x80fc90fc
,
0xbb002fbb
,
0xfc0088fe
,
0x0e98003f
,
0x0032f480
,
0x020f9801
,
/* 0x05a2: hub_barrier_done */
0x015021f5
,
0xf7f001f8
,
0xfd050e98
,
0x040e9801
,
0x2ebb00ef
,
0xb904febb
,
0x003ebb00
,
0xe7f102ff
,
0x98020e98
,
0xe3f09418
,
0x21f5030f
,
0x9d21f440
,
0x0e980150
,
/* 0x05ba: ctx_redswitch */
0x00effd07
,
0xf7f000f8
,
0xbb002ebb
,
0x0007f120
,
0x35b6003e
,
0x0007f102
,
0x0103f0d3
,
0xbd0003d0
,
0x0825b604
,
0xb60635b6
,
0x30b60120
,
0x0824b601
,
0xb90834b6
,
0x21f5022f
,
0x3fbb02d3
,
0x0007f100
,
0x0203f001
,
0xbd0003d0
,
0xf024bd04
,
0x07f11f29
,
0x03f03000
,
0x0002d002
,
/* 0x0502: main */
0x31f404bd
,
0x0028f400
,
0xf424d7f0
,
0x01f43921
,
0x04e4b0f4
,
0xfe1e18f4
,
0x27f00181
,
0xfd20bd06
,
0xe4b60412
,
0x051efd01
,
0xf50018fe
,
0xf405f721
,
/* 0x0532: main_not_ctx_xfer */
0xef94d30e
,
0x01f5f010
,
0x037e21f5
,
/* 0x053f: ih */
0xf9c60ef4
,
0x0188fe80
,
0x90f980f9
,
0xb0f9a0f9
,
0xe0f9d0f9
,
0x04bdf0f9
,
0x0200a7f1
,
0xcf00a3f0
,
0xabc400aa
,
0x2c0bf404
,
0xf124d7f0
,
0xf01a00e7
,
0xeecf00e3
,
0x00f7f100
,
0x00f3f019
,
0xf400ffcf
,
0xe7f00421
,
0x0007f101
,
0x0003f01d
,
0xbd000ed0
,
/* 0x058d: ih_no_fifo */
0x0007f104
,
0x0003f001
,
0xbd000ad0
,
0xfcf0fc04
,
0xfcd0fce0
,
0xfca0fcb0
,
0xfe80fc90
,
0x80fc0088
,
0xf80032f4
,
/* 0x05b1: hub_barrier_done */
0x01f7f001
,
0xbb040e98
,
0xffb904fe
,
0x18e7f102
,
0x40e3f094
,
0xf89d21f4
,
/* 0x05c9: ctx_redswitch */
0x20f7f000
,
0x850007f1
,
0xd00103f0
,
0x04bd000f
,
/* 0x05db: ctx_redswitch_delay */
0xb608e7f0
,
0x1bf401e2
,
0x00f5f1fd
,
0x00f5f108
,
0x0007f102
,
0x0103f085
,
0x0103f085
,
0xbd000fd0
,
0xbd000fd0
,
0x08e7f004
,
/* 0x05f7: ctx_xfer */
/* 0x05cc: ctx_redswitch_delay */
0xf100f804
,
0xf401e2b6
,
0xf0810007
,
0xf5f1fd1b
,
0x0fd00203
,
0xf5f10800
,
0xf404bd00
,
0x07f10200
,
0x21f50711
,
0x03f08500
,
/* 0x060a: ctx_xfer_not_load */
0x000fd001
,
0x21f505c9
,
0x00f804bd
,
0x24bd026a
,
/* 0x05e8: ctx_xfer */
0x47fc07f1
,
0x810007f1
,
0xd00203f0
,
0xd00203f0
,
0x04bd000f
,
0x04bd0002
,
0xf50711f4
,
0xb6012cf0
,
/* 0x05fb: ctx_xfer_not_load */
0x07f10320
,
0xf505ba21
,
0x03f04afc
,
0xbd026a21
,
0x0002d002
,
0xfc07f124
,
0xacf004bd
,
0x0203f047
,
0x02a5f001
,
0xbd0002d0
,
0x0000b7f1
,
0x012cf004
,
0xf10320b6
,
0xf04afc07
,
0x02d00203
,
0xf004bd00
,
0xa5f001ac
,
0x00b7f102
,
0x50b3f000
,
0xb6040c98
,
0xbcbb0fc4
,
0x000c9800
,
0xf0010d98
,
0x21f500e7
,
0xacf0016f
,
0x00b7f101
,
0x50b3f040
,
0xb6040c98
,
0xbcbb0fc4
,
0x010c9800
,
0x98020d98
,
0xe7f1060f
,
0x21f50800
,
0xacf0016f
,
0x04a5f001
,
0x3000b7f1
,
0x9850b3f0
,
0x9850b3f0
,
0xc4b6040c
,
0xc4b6040c
,
0x00bcbb0f
,
0x00bcbb0f
,
0x98020c98
,
0x98000c98
,
0x0f98030d
,
0xe7f0010d
,
0x00e7f108
,
0x6f21f500
,
0x6f21f502
,
0x01acf001
,
0x5e21f501
,
0x4000b7f1
,
0x0601f402
,
0x9850b3f0
,
/* 0x0697: ctx_xfer_post */
0xc4b6040c
,
0xf50712f4
,
0x00bcbb0f
,
/* 0x069b: ctx_xfer_done */
0x98010c98
,
0xf5027f21
,
0x0f98020d
,
0xf805a221
,
0x00e7f106
,
0x00000000
,
0x6f21f508
,
0x00000000
,
0x01acf001
,
0x00000000
,
0xf104a5f0
,
0x00000000
,
0xf03000b7
,
0x0c9850b3
,
0x0fc4b604
,
0x9800bcbb
,
0x0d98020c
,
0x080f9803
,
0x0200e7f1
,
0x016f21f5
,
0x025e21f5
,
0xf40601f4
,
/* 0x06a6: ctx_xfer_post */
0x21f50712
,
/* 0x06aa: ctx_xfer_done */
0x21f5027f
,
0x00f805b1
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
...
...
drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/gpcgk208.fuc5.h
View file @
2a19b3ed
...
@@ -276,7 +276,7 @@ uint32_t gk208_grgpc_code[] = {
...
@@ -276,7 +276,7 @@ uint32_t gk208_grgpc_code[] = {
0x02020014
,
0x02020014
,
0xf6120040
,
0xf6120040
,
0x04bd0002
,
0x04bd0002
,
0xfe047
2
41
,
0xfe047
e
41
,
0x00400010
,
0x00400010
,
0x0000f607
,
0x0000f607
,
0x040204bd
,
0x040204bd
,
...
@@ -291,20 +291,23 @@ uint32_t gk208_grgpc_code[] = {
...
@@ -291,20 +291,23 @@ uint32_t gk208_grgpc_code[] = {
0x820603b5
,
0x820603b5
,
0xcf018600
,
0xcf018600
,
0x02b50022
,
0x02b50022
,
0x0f24b604
,
0x01c90080
,
0xbd0002f6
,
0x0c308e04
,
0x0c308e04
,
0xbd24bd50
,
0xbd24bd50
,
/* 0x03
77
: init_unk_loop */
/* 0x03
83
: init_unk_loop */
0x7e44bd34
,
0x7e44bd34
,
0xb0000065
,
0xb0000065
,
0x0bf400f6
,
0x0bf400f6
,
0xbb010f0e
,
0xbb010f0e
,
0x4ffd04f2
,
0x4ffd04f2
,
0x0130b605
,
0x0130b605
,
/* 0x03
8c
: init_unk_next */
/* 0x03
98
: init_unk_next */
0xb60120b6
,
0xb60120b6
,
0x26b004e0
,
0x26b004e0
,
0xe21bf401
,
0xe21bf401
,
/* 0x03
98
: init_unk_done */
/* 0x03
a4
: init_unk_done */
0xb50703b5
,
0xb50703b5
,
0x00820804
,
0x00820804
,
0x22cf0201
,
0x22cf0201
,
...
@@ -344,7 +347,7 @@ uint32_t gk208_grgpc_code[] = {
...
@@ -344,7 +347,7 @@ uint32_t gk208_grgpc_code[] = {
0x29f024bd
,
0x29f024bd
,
0x3000801f
,
0x3000801f
,
0x0002f602
,
0x0002f602
,
/* 0x04
36
: main */
/* 0x04
42
: main */
0x31f404bd
,
0x31f404bd
,
0x0028f400
,
0x0028f400
,
0x377e240d
,
0x377e240d
,
...
@@ -355,13 +358,13 @@ uint32_t gk208_grgpc_code[] = {
...
@@ -355,13 +358,13 @@ uint32_t gk208_grgpc_code[] = {
0x12fd20bd
,
0x12fd20bd
,
0x01e4b604
,
0x01e4b604
,
0xfe051efd
,
0xfe051efd
,
0x
09
7e0018
,
0x
15
7e0018
,
0x0ef40005
,
0x0ef40005
,
/* 0x04
65
: main_not_ctx_xfer */
/* 0x04
71
: main_not_ctx_xfer */
0x10ef94d4
,
0x10ef94d4
,
0x7e01f5f0
,
0x7e01f5f0
,
0xf40002f8
,
0xf40002f8
,
/* 0x047
2
: ih */
/* 0x047
e
: ih */
0x80f9c70e
,
0x80f9c70e
,
0xf90188fe
,
0xf90188fe
,
0xf990f980
,
0xf990f980
,
...
@@ -377,7 +380,7 @@ uint32_t gk208_grgpc_code[] = {
...
@@ -377,7 +380,7 @@ uint32_t gk208_grgpc_code[] = {
0x00047e00
,
0x00047e00
,
0x40010e00
,
0x40010e00
,
0x0ef61d00
,
0x0ef61d00
,
/* 0x04
af
: ih_no_fifo */
/* 0x04
bb
: ih_no_fifo */
0x4004bd00
,
0x4004bd00
,
0x0af60100
,
0x0af60100
,
0xfc04bd00
,
0xfc04bd00
,
...
@@ -386,30 +389,30 @@ uint32_t gk208_grgpc_code[] = {
...
@@ -386,30 +389,30 @@ uint32_t gk208_grgpc_code[] = {
0xfc90fca0
,
0xfc90fca0
,
0x0088fe80
,
0x0088fe80
,
0x32f480fc
,
0x32f480fc
,
/* 0x04
cf
: hub_barrier_done */
/* 0x04
db
: hub_barrier_done */
0x0f01f800
,
0x0f01f800
,
0x040e9801
,
0x040e9801
,
0xb204febb
,
0xb204febb
,
0x94188eff
,
0x94188eff
,
0x008f7e40
,
0x008f7e40
,
/* 0x04e
3
: ctx_redswitch */
/* 0x04e
f
: ctx_redswitch */
0x0f00f800
,
0x0f00f800
,
0x85008020
,
0x85008020
,
0x000ff601
,
0x000ff601
,
0x080e04bd
,
0x080e04bd
,
/* 0x04f
0
: ctx_redswitch_delay */
/* 0x04f
c
: ctx_redswitch_delay */
0xf401e2b6
,
0xf401e2b6
,
0xf5f1fd1b
,
0xf5f1fd1b
,
0xf5f10800
,
0xf5f10800
,
0x00800200
,
0x00800200
,
0x0ff60185
,
0x0ff60185
,
0xf804bd00
,
0xf804bd00
,
/* 0x05
09
: ctx_xfer */
/* 0x05
15
: ctx_xfer */
0x81008000
,
0x81008000
,
0x000ff602
,
0x000ff602
,
0x11f404bd
,
0x11f404bd
,
0x04e
3
7e07
,
0x04e
f
7e07
,
/* 0x05
19
: ctx_xfer_not_load */
/* 0x05
25
: ctx_xfer_not_load */
0x02167e00
,
0x02167e00
,
0x8024bd00
,
0x8024bd00
,
0xf60247fc
,
0xf60247fc
,
...
@@ -444,14 +447,11 @@ uint32_t gk208_grgpc_code[] = {
...
@@ -444,14 +447,11 @@ uint32_t gk208_grgpc_code[] = {
0x013d7e02
,
0x013d7e02
,
0x020a7e00
,
0x020a7e00
,
0x0601f400
,
0x0601f400
,
/* 0x05a
3
: ctx_xfer_post */
/* 0x05a
f
: ctx_xfer_post */
0x7e0712f4
,
0x7e0712f4
,
/* 0x05
a7
: ctx_xfer_done */
/* 0x05
b3
: ctx_xfer_done */
0x7e000227
,
0x7e000227
,
0xf80004cf
,
0xf80004db
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
...
...
drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/gpcgm107.fuc5.h
View file @
2a19b3ed
...
@@ -276,7 +276,7 @@ uint32_t gm107_grgpc_code[] = {
...
@@ -276,7 +276,7 @@ uint32_t gm107_grgpc_code[] = {
0x02020014
,
0x02020014
,
0xf6120040
,
0xf6120040
,
0x04bd0002
,
0x04bd0002
,
0xfe047
2
41
,
0xfe047
e
41
,
0x00400010
,
0x00400010
,
0x0000f607
,
0x0000f607
,
0x040204bd
,
0x040204bd
,
...
@@ -291,20 +291,23 @@ uint32_t gm107_grgpc_code[] = {
...
@@ -291,20 +291,23 @@ uint32_t gm107_grgpc_code[] = {
0x820603b5
,
0x820603b5
,
0xcf018600
,
0xcf018600
,
0x02b50022
,
0x02b50022
,
0x0f24b604
,
0x01c90080
,
0xbd0002f6
,
0x0c308e04
,
0x0c308e04
,
0xbd24bd50
,
0xbd24bd50
,
/* 0x03
77
: init_unk_loop */
/* 0x03
83
: init_unk_loop */
0x7e44bd34
,
0x7e44bd34
,
0xb0000065
,
0xb0000065
,
0x0bf400f6
,
0x0bf400f6
,
0xbb010f0e
,
0xbb010f0e
,
0x4ffd04f2
,
0x4ffd04f2
,
0x0130b605
,
0x0130b605
,
/* 0x03
8c
: init_unk_next */
/* 0x03
98
: init_unk_next */
0xb60120b6
,
0xb60120b6
,
0x26b004e0
,
0x26b004e0
,
0xe21bf402
,
0xe21bf402
,
/* 0x03
98
: init_unk_done */
/* 0x03
a4
: init_unk_done */
0xb50703b5
,
0xb50703b5
,
0x00820804
,
0x00820804
,
0x22cf0201
,
0x22cf0201
,
...
@@ -344,7 +347,7 @@ uint32_t gm107_grgpc_code[] = {
...
@@ -344,7 +347,7 @@ uint32_t gm107_grgpc_code[] = {
0x29f024bd
,
0x29f024bd
,
0x3000801f
,
0x3000801f
,
0x0002f602
,
0x0002f602
,
/* 0x04
36
: main */
/* 0x04
42
: main */
0x31f404bd
,
0x31f404bd
,
0x0028f400
,
0x0028f400
,
0x377e240d
,
0x377e240d
,
...
@@ -355,13 +358,13 @@ uint32_t gm107_grgpc_code[] = {
...
@@ -355,13 +358,13 @@ uint32_t gm107_grgpc_code[] = {
0x12fd20bd
,
0x12fd20bd
,
0x01e4b604
,
0x01e4b604
,
0xfe051efd
,
0xfe051efd
,
0x
09
7e0018
,
0x
15
7e0018
,
0x0ef40005
,
0x0ef40005
,
/* 0x04
65
: main_not_ctx_xfer */
/* 0x04
71
: main_not_ctx_xfer */
0x10ef94d4
,
0x10ef94d4
,
0x7e01f5f0
,
0x7e01f5f0
,
0xf40002f8
,
0xf40002f8
,
/* 0x047
2
: ih */
/* 0x047
e
: ih */
0x80f9c70e
,
0x80f9c70e
,
0xf90188fe
,
0xf90188fe
,
0xf990f980
,
0xf990f980
,
...
@@ -377,7 +380,7 @@ uint32_t gm107_grgpc_code[] = {
...
@@ -377,7 +380,7 @@ uint32_t gm107_grgpc_code[] = {
0x00047e00
,
0x00047e00
,
0x40010e00
,
0x40010e00
,
0x0ef61d00
,
0x0ef61d00
,
/* 0x04
af
: ih_no_fifo */
/* 0x04
bb
: ih_no_fifo */
0x4004bd00
,
0x4004bd00
,
0x0af60100
,
0x0af60100
,
0xfc04bd00
,
0xfc04bd00
,
...
@@ -386,30 +389,30 @@ uint32_t gm107_grgpc_code[] = {
...
@@ -386,30 +389,30 @@ uint32_t gm107_grgpc_code[] = {
0xfc90fca0
,
0xfc90fca0
,
0x0088fe80
,
0x0088fe80
,
0x32f480fc
,
0x32f480fc
,
/* 0x04
cf
: hub_barrier_done */
/* 0x04
db
: hub_barrier_done */
0x0f01f800
,
0x0f01f800
,
0x040e9801
,
0x040e9801
,
0xb204febb
,
0xb204febb
,
0x94188eff
,
0x94188eff
,
0x008f7e40
,
0x008f7e40
,
/* 0x04e
3
: ctx_redswitch */
/* 0x04e
f
: ctx_redswitch */
0x0f00f800
,
0x0f00f800
,
0x85008020
,
0x85008020
,
0x000ff601
,
0x000ff601
,
0x080e04bd
,
0x080e04bd
,
/* 0x04f
0
: ctx_redswitch_delay */
/* 0x04f
c
: ctx_redswitch_delay */
0xf401e2b6
,
0xf401e2b6
,
0xf5f1fd1b
,
0xf5f1fd1b
,
0xf5f10800
,
0xf5f10800
,
0x00800200
,
0x00800200
,
0x0ff60185
,
0x0ff60185
,
0xf804bd00
,
0xf804bd00
,
/* 0x05
09
: ctx_xfer */
/* 0x05
15
: ctx_xfer */
0x81008000
,
0x81008000
,
0x000ff602
,
0x000ff602
,
0x11f404bd
,
0x11f404bd
,
0x04e
3
7e07
,
0x04e
f
7e07
,
/* 0x05
19
: ctx_xfer_not_load */
/* 0x05
25
: ctx_xfer_not_load */
0x02167e00
,
0x02167e00
,
0x8024bd00
,
0x8024bd00
,
0xf60247fc
,
0xf60247fc
,
...
@@ -444,14 +447,11 @@ uint32_t gm107_grgpc_code[] = {
...
@@ -444,14 +447,11 @@ uint32_t gm107_grgpc_code[] = {
0x013d7e02
,
0x013d7e02
,
0x020a7e00
,
0x020a7e00
,
0x0601f400
,
0x0601f400
,
/* 0x05a
3
: ctx_xfer_post */
/* 0x05a
f
: ctx_xfer_post */
0x7e0712f4
,
0x7e0712f4
,
/* 0x05
a7
: ctx_xfer_done */
/* 0x05
b3
: ctx_xfer_done */
0x7e000227
,
0x7e000227
,
0xf80004cf
,
0xf80004db
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
...
...
drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/macros.fuc
View file @
2a19b3ed
...
@@ -79,7 +79,9 @@
...
@@ -79,7 +79,9 @@
#define NV_PGRAPH_FECS_MMCTX_MULTI_STRIDE 0x409718
#define NV_PGRAPH_FECS_MMCTX_MULTI_STRIDE 0x409718
#define NV_PGRAPH_FECS_MMCTX_MULTI_MASK 0x40971c
#define NV_PGRAPH_FECS_MMCTX_MULTI_MASK 0x40971c
#define NV_PGRAPH_FECS_MMCTX_QUEUE 0x409720
#define NV_PGRAPH_FECS_MMCTX_QUEUE 0x409720
#define NV_PGRAPH_FECS_MMIO_BASE 0x409724
#define NV_PGRAPH_FECS_MMIO_CTRL 0x409728
#define NV_PGRAPH_FECS_MMIO_CTRL 0x409728
#define NV_PGRAPH_FECS_MMIO_CTRL_BASE_ENABLE 0x00000001
#define NV_PGRAPH_FECS_MMIO_RDVAL 0x40972c
#define NV_PGRAPH_FECS_MMIO_RDVAL 0x40972c
#define NV_PGRAPH_FECS_MMIO_WRVAL 0x409730
#define NV_PGRAPH_FECS_MMIO_WRVAL 0x409730
#define NV_PGRAPH_FECS_MMCTX_LOAD_COUNT 0x40974c
#define NV_PGRAPH_FECS_MMCTX_LOAD_COUNT 0x40974c
...
@@ -147,6 +149,11 @@
...
@@ -147,6 +149,11 @@
#define NV_PGRAPH_GPCX_GPCCS_MYINDEX 0x41a618
#define NV_PGRAPH_GPCX_GPCCS_MYINDEX 0x41a618
#define NV_PGRAPH_GPCX_GPCCS_MMCTX_SAVE_SWBASE 0x41a700
#define NV_PGRAPH_GPCX_GPCCS_MMCTX_SAVE_SWBASE 0x41a700
#define NV_PGRAPH_GPCX_GPCCS_MMCTX_LOAD_SWBASE 0x41a704
#define NV_PGRAPH_GPCX_GPCCS_MMCTX_LOAD_SWBASE 0x41a704
#define NV_PGRAPH_GPCX_GPCCS_MMIO_BASE 0x41a724
#define NV_PGRAPH_GPCX_GPCCS_MMIO_CTRL 0x41a728
#define NV_PGRAPH_GPCX_GPCCS_MMIO_CTRL_BASE_ENABLE 0x00000001
#define NV_PGRAPH_GPCX_GPCCS_MMIO_RDVAL 0x41a72c
#define NV_PGRAPH_GPCX_GPCCS_MMIO_WRVAL 0x41a730
#define NV_PGRAPH_GPCX_GPCCS_MMCTX_LOAD_COUNT 0x41a74c
#define NV_PGRAPH_GPCX_GPCCS_MMCTX_LOAD_COUNT 0x41a74c
#if CHIPSET < GK110
#if CHIPSET < GK110
#define NV_PGRAPH_GPCX_GPCCS_CC_SCRATCH_VAL(n) ((n) * 4 + 0x41a800)
#define NV_PGRAPH_GPCX_GPCCS_CC_SCRATCH_VAL(n) ((n) * 4 + 0x41a800)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment