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
nexedi
linux
Commits
7a2f9743
Commit
7a2f9743
authored
Sep 11, 2014
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/gf100-/pwr/memx: block host and fifo around reclock
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
30da0806
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
632 additions
and
474 deletions
+632
-474
drivers/gpu/drm/nouveau/core/subdev/pwr/fuc/memx.fuc
drivers/gpu/drm/nouveau/core/subdev/pwr/fuc/memx.fuc
+32
-2
drivers/gpu/drm/nouveau/core/subdev/pwr/fuc/nv108.fuc.h
drivers/gpu/drm/nouveau/core/subdev/pwr/fuc/nv108.fuc.h
+202
-138
drivers/gpu/drm/nouveau/core/subdev/pwr/fuc/nvc0.fuc.h
drivers/gpu/drm/nouveau/core/subdev/pwr/fuc/nvc0.fuc.h
+197
-197
drivers/gpu/drm/nouveau/core/subdev/pwr/fuc/nvd0.fuc.h
drivers/gpu/drm/nouveau/core/subdev/pwr/fuc/nvd0.fuc.h
+201
-137
No files found.
drivers/gpu/drm/nouveau/core/subdev/pwr/fuc/memx.fuc
View file @
7a2f9743
...
...
@@ -84,6 +84,22 @@ memx_func_enter:
movw $r6 0x2
or $r7 $r6
nv_wr32($r8, $r7)
#else
movw $r6 0x001620
imm32($r7, ~0x00000aa2);
nv_rd32($r8, $r6)
and $r8 $r7
nv_wr32($r6, $r8)
imm32($r7, ~0x00000001)
nv_rd32($r8, $r6)
and $r8 $r7
nv_wr32($r6, $r8)
movw $r6 0x0026f0
nv_rd32($r8, $r6)
and $r8 $r7
nv_wr32($r6, $r8)
#endif
mov $r6 NV_PPWR_OUTPUT_SET_FB_PAUSE
...
...
@@ -95,7 +111,6 @@ memx_func_enter:
nv_iord($r6, NV_PPWR_TIMER_LOW)
st b32 D[$r0 + #memx_ts_start] $r6
ret
// description
...
...
@@ -121,8 +136,23 @@ memx_func_leave:
imm32($r6, 0xffffffcc)
and $r7 $r6
nv_wr32($r8, $r7)
#else
movw $r6 0x0026f0
imm32($r7, 0x00000001)
nv_rd32($r8, $r6)
or $r8 $r7
nv_wr32($r6, $r8)
movw $r6 0x001620
nv_rd32($r8, $r6)
or $r8 $r7
nv_wr32($r6, $r8)
imm32($r7, 0x00000aa2);
nv_rd32($r8, $r6)
or $r8 $r7
nv_wr32($r6, $r8)
#endif
ret
#if NVKM_PPWR_CHIPSET < GF119
...
...
drivers/gpu/drm/nouveau/core/subdev/pwr/fuc/nv108.fuc.h
View file @
7a2f9743
...
...
@@ -46,8 +46,8 @@ uint32_t nv108_pwr_data[] = {
0x00000000
,
0x00000000
,
0x584d454d
,
0x00000
564
,
0x00000
556
,
0x00000
61c
,
0x00000
60e
,
0x00000000
,
0x00000000
,
0x00000000
,
...
...
@@ -68,8 +68,8 @@ uint32_t nv108_pwr_data[] = {
0x00000000
,
0x00000000
,
0x46524550
,
0x00000
568
,
0x00000
566
,
0x00000
620
,
0x00000
61e
,
0x00000000
,
0x00000000
,
0x00000000
,
...
...
@@ -90,8 +90,8 @@ uint32_t nv108_pwr_data[] = {
0x00000000
,
0x00000000
,
0x5f433249
,
0x00000
96c
,
0x000008
13
,
0x00000
a24
,
0x000008
cb
,
0x00000000
,
0x00000000
,
0x00000000
,
...
...
@@ -112,8 +112,8 @@ uint32_t nv108_pwr_data[] = {
0x00000000
,
0x00000000
,
0x54534554
,
0x00000
98d
,
0x00000
96e
,
0x00000
a45
,
0x00000
a26
,
0x00000000
,
0x00000000
,
0x00000000
,
...
...
@@ -134,8 +134,8 @@ uint32_t nv108_pwr_data[] = {
0x00000000
,
0x00000000
,
0x454c4449
,
0x00000
998
,
0x00000
996
,
0x00000
a50
,
0x00000
a4e
,
0x00000000
,
0x00000000
,
0x00000000
,
...
...
@@ -233,19 +233,19 @@ uint32_t nv108_pwr_data[] = {
/* 0x037c: memx_func_next */
0x00000002
,
0x00000000
,
0x00000
4a3
,
0x00000
500
,
0x00000003
,
0x00000002
,
0x00000
4c8
,
0x00000
580
,
0x00040004
,
0x00000000
,
0x00000
4e5
,
0x00000
59d
,
0x00010005
,
0x00000000
,
0x00000
4ff
,
0x00000
5b7
,
0x00010006
,
0x00000000
,
0x00000
4c3
,
0x00000
57b
,
/* 0x03b8: memx_func_tail */
/* 0x03b8: memx_ts_start */
0x00000000
,
...
...
@@ -1183,29 +1183,75 @@ uint32_t nv108_pwr_code[] = {
0x04c44001
,
0xbd0001f6
,
/* 0x0483: memx_func_enter */
0x0600f804
,
0x07e04004
,
0xbd0006f6
,
/* 0x048d: memx_func_enter_wait */
0x07c04604
,
0xf00066cf
,
0x0bf40464
,
0xcf2c06f7
,
0x06b50066
,
/* 0x04a3: memx_func_leave */
0x0600f8ee
,
0x0066cf2c
,
0x06ef06b5
,
0x07e44004
,
0xbd0006f6
,
/* 0x04b5: memx_func_leave_wait */
0x07c04604
,
0xf00066cf
,
0x1bf40464
,
/* 0x04c3: memx_func_wait_vblank */
0xb600f8f7
,
0xf100f804
,
0xf1162067
,
0xf1f55d77
,
0xb2ffff73
,
0x00047e6e
,
0xfdd8b200
,
0x60f90487
,
0xd0fc80f9
,
0x2e7ee0fc
,
0x77f10000
,
0x73f1fffe
,
0x6eb2ffff
,
0x0000047e
,
0x87fdd8b2
,
0xf960f904
,
0xfcd0fc80
,
0x002e7ee0
,
0xf067f100
,
0x7e6eb226
,
0xb2000004
,
0x0487fdd8
,
0x80f960f9
,
0xe0fcd0fc
,
0x00002e7e
,
0xe0400406
,
0x0006f607
,
/* 0x04ea: memx_func_enter_wait */
0xc04604bd
,
0x0066cf07
,
0xf40464f0
,
0x2c06f70b
,
0xb50066cf
,
0x00f8ee06
,
/* 0x0500: memx_func_leave */
0x66cf2c06
,
0xef06b500
,
0xe4400406
,
0x0006f607
,
/* 0x0512: memx_func_leave_wait */
0xc04604bd
,
0x0066cf07
,
0xf40464f0
,
0x67f1f71b
,
0x77f126f0
,
0x73f00001
,
0x7e6eb200
,
0xb2000004
,
0x0587fdd8
,
0x80f960f9
,
0xe0fcd0fc
,
0x00002e7e
,
0x162067f1
,
0x047e6eb2
,
0xd8b20000
,
0xf90587fd
,
0xfc80f960
,
0x7ee0fcd0
,
0xf100002e
,
0xf00aa277
,
0x6eb20073
,
0x0000047e
,
0x87fdd8b2
,
0xf960f905
,
0xfcd0fc80
,
0x002e7ee0
,
/* 0x057b: memx_func_wait_vblank */
0xb600f800
,
0x00f80410
,
/* 0x0
4c8
: memx_func_wr32 */
/* 0x0
580
: memx_func_wr32 */
0x98001698
,
0x10b60115
,
0xf960f908
,
...
...
@@ -1213,21 +1259,21 @@ uint32_t nv108_pwr_code[] = {
0x002e7ee0
,
0x0242b600
,
0xf8e81bf4
,
/* 0x0
4e5
: memx_func_wait */
/* 0x0
59d
: memx_func_wait */
0xcf2c0800
,
0x1e980088
,
0x011d9800
,
0x98021c98
,
0x10b6031b
,
0x00797e10
,
/* 0x0
4ff
: memx_func_delay */
/* 0x0
5b7
: memx_func_delay */
0x9800f800
,
0x10b6001e
,
0x005d7e04
,
/* 0x05
0b
: memx_exec */
/* 0x05
c3
: memx_exec */
0xf900f800
,
0xb2d0f9e0
,
/* 0x05
13
: memx_exec_next */
/* 0x05
cb
: memx_exec_next */
0x98b2b2c1
,
0x10b60013
,
0xf034e704
,
...
...
@@ -1242,103 +1288,103 @@ uint32_t nv108_pwr_code[] = {
0x00bbcf07
,
0xe0fcd0fc
,
0x0002c27e
,
/* 0x0
54a
: memx_info */
/* 0x0
602
: memx_info */
0xc04c00f8
,
0x08004b03
,
0x0002c27e
,
/* 0x0
556
: memx_recv */
/* 0x0
60e
: memx_recv */
0xd6b000f8
,
0xb20bf401
,
0xf400d6b0
,
0x00f8eb0b
,
/* 0x0
564
: memx_init */
/* 0x0
566
: perf_recv */
/* 0x0
61c
: memx_init */
/* 0x0
61e
: perf_recv */
0x00f800f8
,
/* 0x0
568
: perf_init */
/* 0x0
56a
: i2c_drive_scl */
/* 0x0
620
: perf_init */
/* 0x0
622
: i2c_drive_scl */
0x36b000f8
,
0x0d0bf400
,
0xf607e040
,
0x04bd0001
,
/* 0x0
57a
: i2c_drive_scl_lo */
/* 0x0
632
: i2c_drive_scl_lo */
0xe44000f8
,
0x0001f607
,
0x00f804bd
,
/* 0x0
584
: i2c_drive_sda */
/* 0x0
63c
: i2c_drive_sda */
0xf40036b0
,
0xe0400d0b
,
0x0002f607
,
0x00f804bd
,
/* 0x0
594
: i2c_drive_sda_lo */
/* 0x0
64c
: i2c_drive_sda_lo */
0xf607e440
,
0x04bd0002
,
/* 0x0
59e
: i2c_sense_scl */
/* 0x0
656
: i2c_sense_scl */
0x32f400f8
,
0x07c44301
,
0xfd0033cf
,
0x0bf40431
,
0x0131f406
,
/* 0x0
5b0
: i2c_sense_scl_done */
/* 0x0
5b2
: i2c_sense_sda */
/* 0x0
668
: i2c_sense_scl_done */
/* 0x0
66a
: i2c_sense_sda */
0x32f400f8
,
0x07c44301
,
0xfd0033cf
,
0x0bf40432
,
0x0131f406
,
/* 0x0
5c4
: i2c_sense_sda_done */
/* 0x0
5c6
: i2c_raise_scl */
/* 0x0
67c
: i2c_sense_sda_done */
/* 0x0
67e
: i2c_raise_scl */
0x40f900f8
,
0x03089844
,
0x0
56a
7e01
,
/* 0x0
5d1
: i2c_raise_scl_wait */
0x0
622
7e01
,
/* 0x0
689
: i2c_raise_scl_wait */
0x03e84e00
,
0x00005d7e
,
0x000
59e
7e
,
0x000
656
7e
,
0xb60901f4
,
0x1bf40142
,
/* 0x0
5e5
: i2c_raise_scl_done */
/* 0x0
69d
: i2c_raise_scl_done */
0xf840fcef
,
/* 0x0
5e9
: i2c_start */
0x0
59e
7e00
,
/* 0x0
6a1
: i2c_start */
0x0
656
7e00
,
0x0d11f400
,
0x000
5b2
7e
,
0x000
66a
7e
,
0xf40611f4
,
/* 0x0
5fa
: i2c_start_rep */
/* 0x0
6b2
: i2c_start_rep */
0x00032e0e
,
0x000
56a
7e
,
0x
84
7e0103
,
0x76bb000
5
,
0x000
622
7e
,
0x
3c
7e0103
,
0x76bb000
6
,
0x0465b600
,
0x659450f9
,
0x0256bb04
,
0x75fd50bd
,
0x7e50fc04
,
0xb6000
5c6
,
0xb6000
67e
,
0x11f40464
,
/* 0x06
25
: i2c_start_send */
/* 0x06
dd
: i2c_start_send */
0x7e00031d
,
0x4e000
584
,
0x4e000
63c
,
0x5d7e1388
,
0x00030000
,
0x000
56a
7e
,
0x000
622
7e
,
0x7e13884e
,
/* 0x06
3f
: i2c_start_out */
/* 0x06
f7
: i2c_start_out */
0xf800005d
,
/* 0x06
41
: i2c_stop */
/* 0x06
f9
: i2c_stop */
0x7e000300
,
0x03000
56a
,
0x0
584
7e00
,
0x03000
622
,
0x0
63c
7e00
,
0x03e84e00
,
0x00005d7e
,
0x
6a
7e0103
,
0x884e000
5
,
0x
22
7e0103
,
0x884e000
6
,
0x005d7e13
,
0x7e010300
,
0x4e000
584
,
0x4e000
63c
,
0x5d7e1388
,
0x00f80000
,
/* 0x0
670
: i2c_bitw */
0x000
584
7e
,
/* 0x0
728
: i2c_bitw */
0x000
63c
7e
,
0x7e03e84e
,
0xbb00005d
,
0x65b60076
,
...
...
@@ -1346,44 +1392,44 @@ uint32_t nv108_pwr_code[] = {
0x56bb0465
,
0xfd50bd02
,
0x50fc0475
,
0x000
5c6
7e
,
0x000
67e
7e
,
0xf40464b6
,
0x884e1711
,
0x005d7e13
,
0x7e000300
,
0x4e000
56a
,
0x4e000
622
,
0x5d7e1388
,
/* 0x0
6ae
: i2c_bitw_out */
/* 0x0
766
: i2c_bitw_out */
0x00f80000
,
/* 0x0
6b0
: i2c_bitr */
0x
84
7e0103
,
0xe84e000
5
,
/* 0x0
768
: i2c_bitr */
0x
3c
7e0103
,
0xe84e000
6
,
0x005d7e03
,
0x0076bb00
,
0xf90465b6
,
0x04659450
,
0xbd0256bb
,
0x0475fd50
,
0x
c6
7e50fc
,
0x64b6000
5
,
0x
7e
7e50fc
,
0x64b6000
6
,
0x1a11f404
,
0x000
5b2
7e
,
0x
6a
7e0003
,
0x884e000
5
,
0x000
66a
7e
,
0x
22
7e0003
,
0x884e000
6
,
0x005d7e13
,
0x013cf000
,
/* 0x0
6f3
: i2c_bitr_done */
/* 0x0
7ab
: i2c_bitr_done */
0xf80131f4
,
/* 0x0
6f5
: i2c_get_byte */
/* 0x0
7ad
: i2c_get_byte */
0x04000500
,
/* 0x0
6f9
: i2c_get_byte_next */
/* 0x0
7b1
: i2c_get_byte_next */
0x0154b608
,
0xb60076bb
,
0x50f90465
,
0xbb046594
,
0x50bd0256
,
0xfc0475fd
,
0x0
6b0
7e50
,
0x0
768
7e50
,
0x0464b600
,
0xfd2a11f4
,
0x42b60553
,
...
...
@@ -1394,11 +1440,11 @@ uint32_t nv108_pwr_code[] = {
0x0256bb04
,
0x75fd50bd
,
0x7e50fc04
,
0xb6000
670
,
/* 0x07
42
: i2c_get_byte_done */
0xb6000
728
,
/* 0x07
fa
: i2c_get_byte_done */
0x00f80464
,
/* 0x07
44
: i2c_put_byte */
/* 0x07
46
: i2c_put_byte_next */
/* 0x07
fc
: i2c_put_byte */
/* 0x07
fe
: i2c_put_byte_next */
0x42b60804
,
0x3854ff01
,
0xb60076bb
,
...
...
@@ -1406,7 +1452,7 @@ uint32_t nv108_pwr_code[] = {
0xbb046594
,
0x50bd0256
,
0xfc0475fd
,
0x0
670
7e50
,
0x0
728
7e50
,
0x0464b600
,
0xb03411f4
,
0x1bf40046
,
...
...
@@ -1415,21 +1461,21 @@ uint32_t nv108_pwr_code[] = {
0x04659450
,
0xbd0256bb
,
0x0475fd50
,
0x
b0
7e50fc
,
0x64b6000
6
,
0x
68
7e50fc
,
0x64b6000
7
,
0x0f11f404
,
0xb00076bb
,
0x1bf40136
,
0x0132f406
,
/* 0x0
79c
: i2c_put_byte_done */
/* 0x0
79e
: i2c_addr */
/* 0x0
854
: i2c_put_byte_done */
/* 0x0
856
: i2c_addr */
0x76bb00f8
,
0x0465b600
,
0x659450f9
,
0x0256bb04
,
0x75fd50bd
,
0x7e50fc04
,
0xb6000
5e9
,
0xb6000
6a1
,
0x11f40464
,
0x2ec3e729
,
0x0134b601
,
...
...
@@ -1439,24 +1485,24 @@ uint32_t nv108_pwr_code[] = {
0x56bb0465
,
0xfd50bd02
,
0x50fc0475
,
0x0007
44
7e
,
/* 0x0
7e3
: i2c_addr_done */
0x0007
fc
7e
,
/* 0x0
89b
: i2c_addr_done */
0xf80464b6
,
/* 0x0
7e5
: i2c_acquire_addr */
/* 0x0
89d
: i2c_acquire_addr */
0xf8cec700
,
0xb705e4b6
,
0xf8d014e0
,
/* 0x0
7f1
: i2c_acquire */
0x0
7e5
7e00
,
/* 0x0
8a9
: i2c_acquire */
0x0
89d
7e00
,
0x00047e00
,
0x03d9f000
,
0x00002e7e
,
/* 0x08
02
: i2c_release */
0x
e5
7e00f8
,
0x047e000
7
,
/* 0x08
ba
: i2c_release */
0x
9d
7e00f8
,
0x047e000
8
,
0xdaf00000
,
0x002e7e03
,
/* 0x08
13
: i2c_recv */
/* 0x08
cb
: i2c_recv */
0xf400f800
,
0xc1c70132
,
0x0214b6f8
,
...
...
@@ -1476,7 +1522,7 @@ uint32_t nv108_pwr_code[] = {
0x56bb0465
,
0xfd50bd02
,
0x50fc0475
,
0x000
7f1
7e
,
0x000
8a9
7e
,
0xfc0464b6
,
0x00d6b0d0
,
0x00b01bf5
,
...
...
@@ -1486,7 +1532,7 @@ uint32_t nv108_pwr_code[] = {
0x0256bb04
,
0x75fd50bd
,
0x7e50fc04
,
0xb6000
79e
,
0xb6000
856
,
0x11f50464
,
0xc5c700cc
,
0x0076bbe0
,
...
...
@@ -1494,7 +1540,7 @@ uint32_t nv108_pwr_code[] = {
0x04659450
,
0xbd0256bb
,
0x0475fd50
,
0x
44
7e50fc
,
0x
fc
7e50fc
,
0x64b60007
,
0xa911f504
,
0xbb010500
,
...
...
@@ -1503,7 +1549,7 @@ uint32_t nv108_pwr_code[] = {
0x56bb0465
,
0xfd50bd02
,
0x50fc0475
,
0x000
79e
7e
,
0x000
856
7e
,
0xf50464b6
,
0xbb008711
,
0x65b60076
,
...
...
@@ -1511,7 +1557,7 @@ uint32_t nv108_pwr_code[] = {
0x56bb0465
,
0xfd50bd02
,
0x50fc0475
,
0x000
6f5
7e
,
0x000
7ad
7e
,
0xf40464b6
,
0x5bcb6711
,
0x0076bbe0
,
...
...
@@ -1519,37 +1565,37 @@ uint32_t nv108_pwr_code[] = {
0x04659450
,
0xbd0256bb
,
0x0475fd50
,
0x
41
7e50fc
,
0x
f9
7e50fc
,
0x64b60006
,
0xbd5bb204
,
0x410ef474
,
/* 0x09
18
: i2c_recv_not_rd08 */
/* 0x09
d0
: i2c_recv_not_rd08 */
0xf401d6b0
,
0x00053b1b
,
0x000
79e
7e
,
0x000
856
7e
,
0xc73211f4
,
0x
44
7ee0c5
,
0x
fc
7ee0c5
,
0x11f40007
,
0x7e000528
,
0xf4000
79e
,
0xf4000
856
,
0xb5c71f11
,
0x07
44
7ee0
,
0x07
fc
7ee0
,
0x1511f400
,
0x0006
41
7e
,
0x0006
f9
7e
,
0xc5c774bd
,
0x091bf408
,
0xf40232f4
,
/* 0x0
956
: i2c_recv_not_wr08 */
/* 0x0
956
: i2c_recv_done */
/* 0x0
a0e
: i2c_recv_not_wr08 */
/* 0x0
a0e
: i2c_recv_done */
0xcec7030e
,
0x08
02
7ef8
,
0x08
ba
7ef8
,
0xfce0fc00
,
0x0912f4d0
,
0xc27e7cb2
,
/* 0x0
96a
: i2c_recv_exit */
/* 0x0
a22
: i2c_recv_exit */
0x00f80002
,
/* 0x0
96c
: i2c_init */
/* 0x0
96e
: test_recv */
/* 0x0
a24
: i2c_init */
/* 0x0
a26
: test_recv */
0x584100f8
,
0x0011cf04
,
0x400110b6
,
...
...
@@ -1558,27 +1604,27 @@ uint32_t nv108_pwr_code[] = {
0xf1d900e7
,
0x7e134fe3
,
0xf8000201
,
/* 0x0
98d
: test_init */
/* 0x0
a45
: test_init */
0x08004e00
,
0x0002017e
,
/* 0x0
996
: idle_recv */
/* 0x0
a4e
: idle_recv */
0x00f800f8
,
/* 0x0
998
: idle */
/* 0x0
a50
: idle */
0x410031f4
,
0x11cf0454
,
0x0110b600
,
0xf6045440
,
0x04bd0001
,
/* 0x0
9ac
: idle_loop */
/* 0x0
a64
: idle_loop */
0x32f45801
,
/* 0x0
9b1
: idle_proc */
/* 0x0
9b1
: idle_proc_exec */
/* 0x0
a69
: idle_proc */
/* 0x0
a69
: idle_proc_exec */
0xb210f902
,
0x02cb7e1e
,
0xf410fc00
,
0x31f40911
,
0xf00ef402
,
/* 0x0
9c4
: idle_proc_next */
/* 0x0
a7c
: idle_proc_next */
0xa65810b6
,
0xe81bf41f
,
0xf4e002f4
,
...
...
@@ -1594,4 +1640,22 @@ uint32_t nv108_pwr_code[] = {
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
};
drivers/gpu/drm/nouveau/core/subdev/pwr/fuc/nvc0.fuc.h
View file @
7a2f9743
...
...
@@ -46,8 +46,8 @@ uint32_t nvc0_pwr_data[] = {
0x00000000
,
0x00000000
,
0x584d454d
,
0x00000
693
,
0x00000
685
,
0x00000
74b
,
0x00000
73d
,
0x00000000
,
0x00000000
,
0x00000000
,
...
...
@@ -68,8 +68,8 @@ uint32_t nvc0_pwr_data[] = {
0x00000000
,
0x00000000
,
0x46524550
,
0x00000
697
,
0x00000
695
,
0x00000
74f
,
0x00000
74d
,
0x00000000
,
0x00000000
,
0x00000000
,
...
...
@@ -90,8 +90,8 @@ uint32_t nvc0_pwr_data[] = {
0x00000000
,
0x00000000
,
0x5f433249
,
0x00000
ac7
,
0x00000
96a
,
0x00000
b7f
,
0x00000
a22
,
0x00000000
,
0x00000000
,
0x00000000
,
...
...
@@ -112,8 +112,8 @@ uint32_t nvc0_pwr_data[] = {
0x00000000
,
0x00000000
,
0x54534554
,
0x00000
af0
,
0x00000
ac9
,
0x00000
ba8
,
0x00000
b81
,
0x00000000
,
0x00000000
,
0x00000000
,
...
...
@@ -134,8 +134,8 @@ uint32_t nvc0_pwr_data[] = {
0x00000000
,
0x00000000
,
0x454c4449
,
0x00000
afc
,
0x00000
afa
,
0x00000
bb4
,
0x00000
bb2
,
0x00000000
,
0x00000000
,
0x00000000
,
...
...
@@ -233,19 +233,19 @@ uint32_t nvc0_pwr_data[] = {
/* 0x037c: memx_func_next */
0x00000002
,
0x00000000
,
0x000005
7e
,
0x000005
db
,
0x00000003
,
0x00000002
,
0x00000
5ed
,
0x00000
6a5
,
0x00040004
,
0x00000000
,
0x000006
09
,
0x000006
c1
,
0x00010005
,
0x00000000
,
0x000006
26
,
0x000006
de
,
0x00010006
,
0x00000000
,
0x00000
5ab
,
0x00000
663
,
/* 0x03b8: memx_func_tail */
/* 0x03b8: memx_ts_start */
0x00000000
,
...
...
@@ -1236,55 +1236,101 @@ uint32_t nvc0_pwr_code[] = {
0x01d00604
,
0xf804bd00
,
/* 0x0551: memx_func_enter */
0x0467f000
,
0x07e007f1
,
0xd00604b6
,
0x04bd0006
,
/* 0x0560: memx_func_enter_wait */
0x07c067f1
,
0xcf0664b6
,
0x64f00066
,
0xf30bf404
,
0xb62c67f0
,
0x66cf0664
,
0xee068000
,
/* 0x057e: memx_func_leave */
0x67f000f8
,
0x0664b62c
,
0x800066cf
,
0x67f0ef06
,
0xe407f104
,
0x2067f100
,
0x5d77f116
,
0xff73f1f5
,
0x026eb9ff
,
0xb90421f4
,
0x87fd02d8
,
0xf960f904
,
0xfcd0fc80
,
0x3f21f4e0
,
0xfffe77f1
,
0xffff73f1
,
0xf4026eb9
,
0xd8b90421
,
0x0487fd02
,
0x80f960f9
,
0xe0fcd0fc
,
0xf13f21f4
,
0xb926f067
,
0x21f4026e
,
0x02d8b904
,
0xf90487fd
,
0xfc80f960
,
0xf4e0fcd0
,
0x67f03f21
,
0xe007f104
,
0x0604b607
,
0xbd0006d0
,
/* 0x05
99: memx_func_leave
_wait */
/* 0x05
bd: memx_func_enter
_wait */
0xc067f104
,
0x0664b607
,
0xf00066cf
,
0x1bf40464
,
/* 0x05ab: memx_func_wait_vblank */
0x9800f8f3
,
0x0bf40464
,
0x2c67f0f3
,
0xcf0664b6
,
0x06800066
,
/* 0x05db: memx_func_leave */
0xf000f8ee
,
0x64b62c67
,
0x0066cf06
,
0xf0ef0680
,
0x07f10467
,
0x04b607e4
,
0x0006d006
,
/* 0x05f6: memx_func_leave_wait */
0x67f104bd
,
0x64b607c0
,
0x0066cf06
,
0xf40464f0
,
0x67f1f31b
,
0x77f126f0
,
0x73f00001
,
0x026eb900
,
0xb90421f4
,
0x87fd02d8
,
0xf960f905
,
0xfcd0fc80
,
0x3f21f4e0
,
0x162067f1
,
0xf4026eb9
,
0xd8b90421
,
0x0587fd02
,
0x80f960f9
,
0xe0fcd0fc
,
0xf13f21f4
,
0xf00aa277
,
0x6eb90073
,
0x0421f402
,
0xfd02d8b9
,
0x60f90587
,
0xd0fc80f9
,
0x21f4e0fc
,
/* 0x0663: memx_func_wait_vblank */
0x9800f83f
,
0x66b00016
,
0x130bf400
,
0xf40166b0
,
0x0ef4060b
,
/* 0x0
5bd
: memx_func_wait_vblank_head1 */
/* 0x0
675
: memx_func_wait_vblank_head1 */
0x2077f12e
,
0x070ef400
,
/* 0x0
5c4
: memx_func_wait_vblank_head0 */
/* 0x0
67c
: memx_func_wait_vblank_head0 */
0x000877f1
,
/* 0x0
5c8
: memx_func_wait_vblank_0 */
/* 0x0
680
: memx_func_wait_vblank_0 */
0x07c467f1
,
0xcf0664b6
,
0x67fd0066
,
0xf31bf404
,
/* 0x0
5d8
: memx_func_wait_vblank_1 */
/* 0x0
690
: memx_func_wait_vblank_1 */
0x07c467f1
,
0xcf0664b6
,
0x67fd0066
,
0xf30bf404
,
/* 0x0
5e8
: memx_func_wait_vblank_fini */
/* 0x0
6a0
: memx_func_wait_vblank_fini */
0xf80410b6
,
/* 0x0
5ed
: memx_func_wr32 */
/* 0x0
6a5
: memx_func_wr32 */
0x00169800
,
0xb6011598
,
0x60f90810
,
...
...
@@ -1292,7 +1338,7 @@ uint32_t nvc0_pwr_code[] = {
0x21f4e0fc
,
0x0242b63f
,
0xf8e91bf4
,
/* 0x06
09
: memx_func_wait */
/* 0x06
c1
: memx_func_wait */
0x2c87f000
,
0xcf0684b6
,
0x1e980088
,
...
...
@@ -1300,14 +1346,14 @@ uint32_t nvc0_pwr_code[] = {
0x98021c98
,
0x10b6031b
,
0xa421f410
,
/* 0x06
26
: memx_func_delay */
/* 0x06
de
: memx_func_delay */
0x1e9800f8
,
0x0410b600
,
0xf87f21f4
,
/* 0x06
31
: memx_exec */
/* 0x06
e9
: memx_exec */
0xf9e0f900
,
0x02c1b9d0
,
/* 0x06
3b
: memx_exec_next */
/* 0x06
f3
: memx_exec_next */
0x9802b2b9
,
0x10b60013
,
0xf034e704
,
...
...
@@ -1323,151 +1369,151 @@ uint32_t nvc0_pwr_code[] = {
0xbbcf06b4
,
0xfcd0fc00
,
0x4221f5e0
,
/* 0x0
677
: memx_info */
/* 0x0
72f
: memx_info */
0xf100f803
,
0xf103c0c7
,
0xf50800b7
,
0xf8034221
,
/* 0x0
685
: memx_recv */
/* 0x0
73d
: memx_recv */
0x01d6b000
,
0xb0a90bf4
,
0x0bf400d6
,
/* 0x0
693
: memx_init */
/* 0x0
74b
: memx_init */
0xf800f8e9
,
/* 0x0
695
: perf_recv */
/* 0x0
697
: perf_init */
/* 0x0
74d
: perf_recv */
/* 0x0
74f
: perf_init */
0xf800f800
,
/* 0x0
699
: i2c_drive_scl */
/* 0x0
751
: i2c_drive_scl */
0x0036b000
,
0xf1110bf4
,
0xb607e007
,
0x01d00604
,
0xf804bd00
,
/* 0x0
6ad
: i2c_drive_scl_lo */
/* 0x0
765
: i2c_drive_scl_lo */
0xe407f100
,
0x0604b607
,
0xbd0001d0
,
/* 0x0
6bb
: i2c_drive_sda */
/* 0x0
773
: i2c_drive_sda */
0xb000f804
,
0x0bf40036
,
0xe007f111
,
0x0604b607
,
0xbd0002d0
,
/* 0x0
6cf
: i2c_drive_sda_lo */
/* 0x0
787
: i2c_drive_sda_lo */
0xf100f804
,
0xb607e407
,
0x02d00604
,
0xf804bd00
,
/* 0x0
6dd
: i2c_sense_scl */
/* 0x0
795
: i2c_sense_scl */
0x0132f400
,
0x07c437f1
,
0xcf0634b6
,
0x31fd0033
,
0x060bf404
,
/* 0x0
6f3
: i2c_sense_scl_done */
/* 0x0
7ab
: i2c_sense_scl_done */
0xf80131f4
,
/* 0x0
6f5
: i2c_sense_sda */
/* 0x0
7ad
: i2c_sense_sda */
0x0132f400
,
0x07c437f1
,
0xcf0634b6
,
0x32fd0033
,
0x060bf404
,
/* 0x07
0b
: i2c_sense_sda_done */
/* 0x07
c3
: i2c_sense_sda_done */
0xf80131f4
,
/* 0x07
0d
: i2c_raise_scl */
/* 0x07
c5
: i2c_raise_scl */
0xf140f900
,
0xf0089847
,
0x21f50137
,
/* 0x07
1a
: i2c_raise_scl_wait */
0xe7f10
699
,
/* 0x07
d2
: i2c_raise_scl_wait */
0xe7f10
751
,
0x21f403e8
,
0x
dd
21f57f
,
0x0901f40
6
,
0x
95
21f57f
,
0x0901f40
7
,
0xf40142b6
,
/* 0x07
2e
: i2c_raise_scl_done */
/* 0x07
e6
: i2c_raise_scl_done */
0x40fcef1b
,
/* 0x07
32
: i2c_start */
/* 0x07
ea
: i2c_start */
0x21f500f8
,
0x11f40
6dd
,
0x
f5
21f50d
,
0x0611f40
6
,
/* 0x07
43
: i2c_start_rep */
0x11f40
795
,
0x
ad
21f50d
,
0x0611f40
7
,
/* 0x07
fb
: i2c_start_rep */
0xf0300ef4
,
0x21f50037
,
0x37f00
699
,
0x
bb
21f501
,
0x0076bb0
6
,
0x37f00
751
,
0x
73
21f501
,
0x0076bb0
7
,
0xf90465b6
,
0x04659450
,
0xbd0256bb
,
0x0475fd50
,
0x21f550fc
,
0x64b607
0d
,
0x64b607
c5
,
0x1f11f404
,
/* 0x0
770
: i2c_start_send */
/* 0x0
828
: i2c_start_send */
0xf50037f0
,
0xf10
6bb
21
,
0xf10
773
21
,
0xf41388e7
,
0x37f07f21
,
0x
99
21f500
,
0x88e7f10
6
,
0x
51
21f500
,
0x88e7f10
7
,
0x7f21f413
,
/* 0x0
78c
: i2c_start_out */
/* 0x0
78e
: i2c_stop */
/* 0x0
844
: i2c_start_out */
/* 0x0
846
: i2c_stop */
0x37f000f8
,
0x
99
21f500
,
0x0037f00
6
,
0x0
6bb
21f5
,
0x
51
21f500
,
0x0037f00
7
,
0x0
773
21f5
,
0x03e8e7f1
,
0xf07f21f4
,
0x21f50137
,
0xe7f10
699
,
0xe7f10
751
,
0x21f41388
,
0x0137f07f
,
0x0
6bb
21f5
,
0x0
773
21f5
,
0x1388e7f1
,
0xf87f21f4
,
/* 0x0
7c1
: i2c_bitw */
0x
bb
21f500
,
0xe8e7f10
6
,
/* 0x0
879
: i2c_bitw */
0x
73
21f500
,
0xe8e7f10
7
,
0x7f21f403
,
0xb60076bb
,
0x50f90465
,
0xbb046594
,
0x50bd0256
,
0xfc0475fd
,
0x
0d
21f550
,
0x
c5
21f550
,
0x0464b607
,
0xf11811f4
,
0xf41388e7
,
0x37f07f21
,
0x
99
21f500
,
0x88e7f10
6
,
0x
51
21f500
,
0x88e7f10
7
,
0x7f21f413
,
/* 0x08
00
: i2c_bitw_out */
/* 0x08
02
: i2c_bitr */
/* 0x08
b8
: i2c_bitw_out */
/* 0x08
ba
: i2c_bitr */
0x37f000f8
,
0x
bb
21f501
,
0xe8e7f10
6
,
0x
73
21f501
,
0xe8e7f10
7
,
0x7f21f403
,
0xb60076bb
,
0x50f90465
,
0xbb046594
,
0x50bd0256
,
0xfc0475fd
,
0x
0d
21f550
,
0x
c5
21f550
,
0x0464b607
,
0xf51b11f4
,
0xf00
6f5
21
,
0xf00
7ad
21
,
0x21f50037
,
0xe7f10
699
,
0xe7f10
751
,
0x21f41388
,
0x013cf07f
,
/* 0x08
47
: i2c_bitr_done */
/* 0x08
ff
: i2c_bitr_done */
0xf80131f4
,
/* 0x0
849
: i2c_get_byte */
/* 0x0
901
: i2c_get_byte */
0x0057f000
,
/* 0x0
84f
: i2c_get_byte_next */
/* 0x0
907
: i2c_get_byte_next */
0xb60847f0
,
0x76bb0154
,
0x0465b600
,
...
...
@@ -1475,7 +1521,7 @@ uint32_t nvc0_pwr_code[] = {
0x0256bb04
,
0x75fd50bd
,
0xf550fc04
,
0xb608
02
21
,
0xb608
ba
21
,
0x11f40464
,
0x0553fd2b
,
0xf40142b6
,
...
...
@@ -1486,11 +1532,11 @@ uint32_t nvc0_pwr_code[] = {
0xbd0256bb
,
0x0475fd50
,
0x21f550fc
,
0x64b60
7c1
,
/* 0x0
899
: i2c_get_byte_done */
/* 0x0
89b
: i2c_put_byte */
0x64b60
879
,
/* 0x0
951
: i2c_get_byte_done */
/* 0x0
953
: i2c_put_byte */
0xf000f804
,
/* 0x0
89e
: i2c_put_byte_next */
/* 0x0
956
: i2c_put_byte_next */
0x42b60847
,
0x3854ff01
,
0xb60076bb
,
...
...
@@ -1498,8 +1544,8 @@ uint32_t nvc0_pwr_code[] = {
0xbb046594
,
0x50bd0256
,
0xfc0475fd
,
0x
c1
21f550
,
0x0464b60
7
,
0x
79
21f550
,
0x0464b60
8
,
0xb03411f4
,
0x1bf40046
,
0x0076bbd8
,
...
...
@@ -1508,20 +1554,20 @@ uint32_t nvc0_pwr_code[] = {
0xbd0256bb
,
0x0475fd50
,
0x21f550fc
,
0x64b608
02
,
0x64b608
ba
,
0x0f11f404
,
0xb00076bb
,
0x1bf40136
,
0x0132f406
,
/* 0x0
8f4
: i2c_put_byte_done */
/* 0x0
8f6
: i2c_addr */
/* 0x0
9ac
: i2c_put_byte_done */
/* 0x0
9ae
: i2c_addr */
0x76bb00f8
,
0x0465b600
,
0x659450f9
,
0x0256bb04
,
0x75fd50bd
,
0xf550fc04
,
0xb607
32
21
,
0xb607
ea
21
,
0x11f40464
,
0x2ec3e729
,
0x0134b601
,
...
...
@@ -1531,24 +1577,24 @@ uint32_t nvc0_pwr_code[] = {
0x56bb0465
,
0xfd50bd02
,
0x50fc0475
,
0x0
89b
21f5
,
/* 0x09
3b
: i2c_addr_done */
0x0
953
21f5
,
/* 0x09
f3
: i2c_addr_done */
0xf80464b6
,
/* 0x09
3d
: i2c_acquire_addr */
/* 0x09
f5
: i2c_acquire_addr */
0xf8cec700
,
0xb702e4b6
,
0x980c10e0
,
0x00f800ee
,
/* 0x0
94c
: i2c_acquire */
0x09
3d
21f5
,
/* 0x0
a04
: i2c_acquire */
0x09
f5
21f5
,
0xf00421f4
,
0x21f403d9
,
/* 0x0
95b
: i2c_release */
/* 0x0
a13
: i2c_release */
0xf500f83f
,
0xf409
3d
21
,
0xf409
f5
21
,
0xdaf00421
,
0x3f21f403
,
/* 0x0
96a
: i2c_recv */
/* 0x0
a22
: i2c_recv */
0x32f400f8
,
0xf8c1c701
,
0xb00214b6
,
...
...
@@ -1567,8 +1613,8 @@ uint32_t nvc0_pwr_code[] = {
0xbb046594
,
0x50bd0256
,
0xfc0475fd
,
0x
4c
21f550
,
0x0464b60
9
,
0x
04
21f550
,
0x0464b60
a
,
0xd6b0d0fc
,
0xb31bf500
,
0x0057f000
,
...
...
@@ -1577,8 +1623,8 @@ uint32_t nvc0_pwr_code[] = {
0xbb046594
,
0x50bd0256
,
0xfc0475fd
,
0x
f6
21f550
,
0x0464b60
8
,
0x
ae
21f550
,
0x0464b60
9
,
0x00d011f5
,
0xbbe0c5c7
,
0x65b60076
,
...
...
@@ -1586,7 +1632,7 @@ uint32_t nvc0_pwr_code[] = {
0x56bb0465
,
0xfd50bd02
,
0x50fc0475
,
0x0
89b
21f5
,
0x0
953
21f5
,
0xf50464b6
,
0xf000ad11
,
0x76bb0157
,
...
...
@@ -1595,7 +1641,7 @@ uint32_t nvc0_pwr_code[] = {
0x0256bb04
,
0x75fd50bd
,
0xf550fc04
,
0xb60
8f6
21
,
0xb60
9ae
21
,
0x11f50464
,
0x76bb008a
,
0x0465b600
,
...
...
@@ -1603,7 +1649,7 @@ uint32_t nvc0_pwr_code[] = {
0x0256bb04
,
0x75fd50bd
,
0xf550fc04
,
0xb60
849
21
,
0xb60
901
21
,
0x11f40464
,
0xe05bcb6a
,
0xb60076bb
,
...
...
@@ -1611,38 +1657,38 @@ uint32_t nvc0_pwr_code[] = {
0xbb046594
,
0x50bd0256
,
0xfc0475fd
,
0x
8e
21f550
,
0x0464b60
7
,
0x
46
21f550
,
0x0464b60
8
,
0xbd025bb9
,
0x430ef474
,
/* 0x0
a70
: i2c_recv_not_rd08 */
/* 0x0
b28
: i2c_recv_not_rd08 */
0xf401d6b0
,
0x57f03d1b
,
0x
f6
21f500
,
0x3311f40
8
,
0x
ae
21f500
,
0x3311f40
9
,
0xf5e0c5c7
,
0xf40
89b
21
,
0xf40
953
21
,
0x57f02911
,
0x
f6
21f500
,
0x1f11f40
8
,
0x
ae
21f500
,
0x1f11f40
9
,
0xf5e0b5c7
,
0xf40
89b
21
,
0xf40
953
21
,
0x21f51511
,
0x74bd0
78e
,
0x74bd0
846
,
0xf408c5c7
,
0x32f4091b
,
0x030ef402
,
/* 0x0
ab0
: i2c_recv_not_wr08 */
/* 0x0
ab0
: i2c_recv_done */
/* 0x0
b68
: i2c_recv_not_wr08 */
/* 0x0
b68
: i2c_recv_done */
0xf5f8cec7
,
0xfc0
95b
21
,
0xfc0
a13
21
,
0xf4d0fce0
,
0x7cb90a12
,
0x4221f502
,
/* 0x0
ac5
: i2c_recv_exit */
/* 0x0
ac7
: i2c_init */
/* 0x0
b7d
: i2c_recv_exit */
/* 0x0
b7f
: i2c_init */
0xf800f803
,
/* 0x0
ac9
: test_recv */
/* 0x0
b81
: test_recv */
0xd817f100
,
0x0614b605
,
0xb60011cf
,
...
...
@@ -1653,12 +1699,12 @@ uint32_t nvc0_pwr_code[] = {
0xe3f1d900
,
0x21f5134f
,
0x00f80262
,
/* 0x0
af0
: test_init */
/* 0x0
ba8
: test_init */
0x0800e7f1
,
0x026221f5
,
/* 0x0
afa
: idle_recv */
/* 0x0
bb2
: idle_recv */
0x00f800f8
,
/* 0x0
afc
: idle */
/* 0x0
bb4
: idle */
0xf10031f4
,
0xb605d417
,
0x11cf0614
,
...
...
@@ -1666,66 +1712,20 @@ uint32_t nvc0_pwr_code[] = {
0x05d407f1
,
0xd00604b6
,
0x04bd0001
,
/* 0x0b
18
: idle_loop */
/* 0x0b
d0
: idle_loop */
0xf45817f0
,
/* 0x0b
1e
: idle_proc */
/* 0x0b
1e
: idle_proc_exec */
/* 0x0b
d6
: idle_proc */
/* 0x0b
d6
: idle_proc_exec */
0x10f90232
,
0xf5021eb9
,
0xfc034b21
,
0x0911f410
,
0xf40231f4
,
/* 0x0b
32
: idle_proc_next */
/* 0x0b
ea
: idle_proc_next */
0x10b6ef0e
,
0x061fb858
,
0xf4e61bf4
,
0x28f4dd02
,
0xbb0ef400
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
};
drivers/gpu/drm/nouveau/core/subdev/pwr/fuc/nvd0.fuc.h
View file @
7a2f9743
...
...
@@ -46,8 +46,8 @@ uint32_t nvd0_pwr_data[] = {
0x00000000
,
0x00000000
,
0x584d454d
,
0x00000
5c0
,
0x00000
5b2
,
0x00000
678
,
0x00000
66a
,
0x00000000
,
0x00000000
,
0x00000000
,
...
...
@@ -68,8 +68,8 @@ uint32_t nvd0_pwr_data[] = {
0x00000000
,
0x00000000
,
0x46524550
,
0x00000
5c4
,
0x00000
5c2
,
0x00000
67c
,
0x00000
67a
,
0x00000000
,
0x00000000
,
0x00000000
,
...
...
@@ -90,8 +90,8 @@ uint32_t nvd0_pwr_data[] = {
0x00000000
,
0x00000000
,
0x5f433249
,
0x00000
9df
,
0x00000
882
,
0x00000
a97
,
0x00000
93a
,
0x00000000
,
0x00000000
,
0x00000000
,
...
...
@@ -112,8 +112,8 @@ uint32_t nvd0_pwr_data[] = {
0x00000000
,
0x00000000
,
0x54534554
,
0x00000a
02
,
0x00000
9e1
,
0x00000a
ba
,
0x00000
a99
,
0x00000000
,
0x00000000
,
0x00000000
,
...
...
@@ -134,8 +134,8 @@ uint32_t nvd0_pwr_data[] = {
0x00000000
,
0x00000000
,
0x454c4449
,
0x00000a
0e
,
0x00000a
0c
,
0x00000a
c6
,
0x00000a
c4
,
0x00000000
,
0x00000000
,
0x00000000
,
...
...
@@ -233,19 +233,19 @@ uint32_t nvd0_pwr_data[] = {
/* 0x037c: memx_func_next */
0x00000002
,
0x00000000
,
0x00000
4f7
,
0x00000
554
,
0x00000003
,
0x00000002
,
0x000005
20
,
0x000005
d8
,
0x00040004
,
0x00000000
,
0x000005
3c
,
0x000005
f4
,
0x00010005
,
0x00000000
,
0x00000
556
,
0x00000
60e
,
0x00010006
,
0x00000000
,
0x000005
1b
,
0x000005
d3
,
/* 0x03b8: memx_func_tail */
/* 0x03b8: memx_ts_start */
0x00000000
,
...
...
@@ -1203,31 +1203,77 @@ uint32_t nvd0_pwr_code[] = {
0x04c407f1
,
0xbd0001d0
,
/* 0x04d3: memx_func_enter */
0xf000f804
,
0x07f10467
,
0x06d007e0
,
/* 0x04df: memx_func_enter_wait */
0xf104bd00
,
0xcf07c067
,
0x64f00066
,
0xf60bf404
,
0xcf2c67f0
,
0x06800066
,
/* 0x04f7: memx_func_leave */
0xf000f8ee
,
0x66cf2c67
,
0xef068000
,
0xf100f804
,
0xf1162067
,
0xf1f55d77
,
0xb9ffff73
,
0x21f4026e
,
0x02d8b904
,
0xf90487fd
,
0xfc80f960
,
0xf4e0fcd0
,
0x77f13321
,
0x73f1fffe
,
0x6eb9ffff
,
0x0421f402
,
0xfd02d8b9
,
0x60f90487
,
0xd0fc80f9
,
0x21f4e0fc
,
0xf067f133
,
0x026eb926
,
0xb90421f4
,
0x87fd02d8
,
0xf960f904
,
0xfcd0fc80
,
0x3321f4e0
,
0xf10467f0
,
0xd007e
4
07
,
0xd007e
0
07
,
0x04bd0006
,
/* 0x05
0c: memx_func_leave
_wait */
/* 0x05
3c: memx_func_enter
_wait */
0x07c067f1
,
0xf00066cf
,
0x1bf40464
,
/* 0x051b: memx_func_wait_vblank */
0xb600f8f6
,
0x0bf40464
,
0x2c67f0f6
,
0x800066cf
,
0x00f8ee06
,
/* 0x0554: memx_func_leave */
0xcf2c67f0
,
0x06800066
,
0x0467f0ef
,
0x07e407f1
,
0xbd0006d0
,
/* 0x0569: memx_func_leave_wait */
0xc067f104
,
0x0066cf07
,
0xf40464f0
,
0x67f1f61b
,
0x77f126f0
,
0x73f00001
,
0x026eb900
,
0xb90421f4
,
0x87fd02d8
,
0xf960f905
,
0xfcd0fc80
,
0x3321f4e0
,
0x162067f1
,
0xf4026eb9
,
0xd8b90421
,
0x0587fd02
,
0x80f960f9
,
0xe0fcd0fc
,
0xf13321f4
,
0xf00aa277
,
0x6eb90073
,
0x0421f402
,
0xfd02d8b9
,
0x60f90587
,
0xd0fc80f9
,
0x21f4e0fc
,
/* 0x05d3: memx_func_wait_vblank */
0xb600f833
,
0x00f80410
,
/* 0x05
20
: memx_func_wr32 */
/* 0x05
d8
: memx_func_wr32 */
0x98001698
,
0x10b60115
,
0xf960f908
,
...
...
@@ -1235,21 +1281,21 @@ uint32_t nvd0_pwr_code[] = {
0x3321f4e0
,
0xf40242b6
,
0x00f8e91b
,
/* 0x05
3c
: memx_func_wait */
/* 0x05
f4
: memx_func_wait */
0xcf2c87f0
,
0x1e980088
,
0x011d9800
,
0x98021c98
,
0x10b6031b
,
0x8621f410
,
/* 0x0
556
: memx_func_delay */
/* 0x0
60e
: memx_func_delay */
0x1e9800f8
,
0x0410b600
,
0xf86721f4
,
/* 0x0
561
: memx_exec */
/* 0x0
619
: memx_exec */
0xf9e0f900
,
0x02c1b9d0
,
/* 0x0
56b
: memx_exec_next */
/* 0x0
623
: memx_exec_next */
0x9802b2b9
,
0x10b60013
,
0xf034e704
,
...
...
@@ -1265,107 +1311,107 @@ uint32_t nvd0_pwr_code[] = {
0xd0fc00bb
,
0x21f5e0fc
,
0x00f802f1
,
/* 0x0
5a4
: memx_info */
/* 0x0
65c
: memx_info */
0x03c0c7f1
,
0x0800b7f1
,
0x02f121f5
,
/* 0x0
5b2
: memx_recv */
/* 0x0
66a
: memx_recv */
0xd6b000f8
,
0xac0bf401
,
0xf400d6b0
,
0x00f8e90b
,
/* 0x0
5c0
: memx_init */
/* 0x0
5c2
: perf_recv */
/* 0x0
678
: memx_init */
/* 0x0
67a
: perf_recv */
0x00f800f8
,
/* 0x0
5c4
: perf_init */
/* 0x0
5c6
: i2c_drive_scl */
/* 0x0
67c
: perf_init */
/* 0x0
67e
: i2c_drive_scl */
0x36b000f8
,
0x0e0bf400
,
0x07e007f1
,
0xbd0001d0
,
/* 0x0
5d7
: i2c_drive_scl_lo */
/* 0x0
68f
: i2c_drive_scl_lo */
0xf100f804
,
0xd007e407
,
0x04bd0001
,
/* 0x0
5e2
: i2c_drive_sda */
/* 0x0
69a
: i2c_drive_sda */
0x36b000f8
,
0x0e0bf400
,
0x07e007f1
,
0xbd0002d0
,
/* 0x0
5f3
: i2c_drive_sda_lo */
/* 0x0
6ab
: i2c_drive_sda_lo */
0xf100f804
,
0xd007e407
,
0x04bd0002
,
/* 0x0
5fe
: i2c_sense_scl */
/* 0x0
6b6
: i2c_sense_scl */
0x32f400f8
,
0xc437f101
,
0x0033cf07
,
0xf40431fd
,
0x31f4060b
,
/* 0x06
11
: i2c_sense_scl_done */
/* 0x06
13
: i2c_sense_sda */
/* 0x06
c9
: i2c_sense_scl_done */
/* 0x06
cb
: i2c_sense_sda */
0xf400f801
,
0x37f10132
,
0x33cf07c4
,
0x0432fd00
,
0xf4060bf4
,
/* 0x06
26
: i2c_sense_sda_done */
/* 0x06
de
: i2c_sense_sda_done */
0x00f80131
,
/* 0x06
28
: i2c_raise_scl */
/* 0x06
e0
: i2c_raise_scl */
0x47f140f9
,
0x37f00898
,
0x
c6
21f501
,
/* 0x06
35
: i2c_raise_scl_wait */
0xe8e7f10
5
,
0x
7e
21f501
,
/* 0x06
ed
: i2c_raise_scl_wait */
0xe8e7f10
6
,
0x6721f403
,
0x0
5fe
21f5
,
0x0
6b6
21f5
,
0xb60901f4
,
0x1bf40142
,
/* 0x0
649
: i2c_raise_scl_done */
/* 0x0
701
: i2c_raise_scl_done */
0xf840fcef
,
/* 0x0
64d
: i2c_start */
0x
fe
21f500
,
0x0d11f40
5
,
0x06
13
21f5
,
/* 0x0
705
: i2c_start */
0x
b6
21f500
,
0x0d11f40
6
,
0x06
cb
21f5
,
0xf40611f4
,
/* 0x0
65e
: i2c_start_rep */
/* 0x0
716
: i2c_start_rep */
0x37f0300e
,
0x
c6
21f500
,
0x0137f00
5
,
0x0
5e2
21f5
,
0x
7e
21f500
,
0x0137f00
6
,
0x0
69a
21f5
,
0xb60076bb
,
0x50f90465
,
0xbb046594
,
0x50bd0256
,
0xfc0475fd
,
0x
28
21f550
,
0x
e0
21f550
,
0x0464b606
,
/* 0x0
68b
: i2c_start_send */
/* 0x0
743
: i2c_start_send */
0xf01f11f4
,
0x21f50037
,
0xe7f10
5e2
,
0xe7f10
69a
,
0x21f41388
,
0x0037f067
,
0x0
5c6
21f5
,
0x0
67e
21f5
,
0x1388e7f1
,
/* 0x0
6a7
: i2c_start_out */
/* 0x0
75f
: i2c_start_out */
0xf86721f4
,
/* 0x0
6a9
: i2c_stop */
/* 0x0
761
: i2c_stop */
0x0037f000
,
0x0
5c6
21f5
,
0x0
67e
21f5
,
0xf50037f0
,
0xf10
5e2
21
,
0xf10
69a
21
,
0xf403e8e7
,
0x37f06721
,
0x
c6
21f501
,
0x88e7f10
5
,
0x
7e
21f501
,
0x88e7f10
6
,
0x6721f413
,
0xf50137f0
,
0xf10
5e2
21
,
0xf10
69a
21
,
0xf41388e7
,
0x00f86721
,
/* 0x0
6dc
: i2c_bitw */
0x0
5e2
21f5
,
/* 0x0
794
: i2c_bitw */
0x0
69a
21f5
,
0x03e8e7f1
,
0xbb6721f4
,
0x65b60076
,
...
...
@@ -1373,18 +1419,18 @@ uint32_t nvd0_pwr_code[] = {
0x56bb0465
,
0xfd50bd02
,
0x50fc0475
,
0x06
28
21f5
,
0x06
e0
21f5
,
0xf40464b6
,
0xe7f11811
,
0x21f41388
,
0x0037f067
,
0x0
5c6
21f5
,
0x0
67e
21f5
,
0x1388e7f1
,
/* 0x07
1b
: i2c_bitw_out */
/* 0x07
d3
: i2c_bitw_out */
0xf86721f4
,
/* 0x07
1d
: i2c_bitr */
/* 0x07
d5
: i2c_bitr */
0x0137f000
,
0x0
5e2
21f5
,
0x0
69a
21f5
,
0x03e8e7f1
,
0xbb6721f4
,
0x65b60076
,
...
...
@@ -1392,19 +1438,19 @@ uint32_t nvd0_pwr_code[] = {
0x56bb0465
,
0xfd50bd02
,
0x50fc0475
,
0x06
28
21f5
,
0x06
e0
21f5
,
0xf40464b6
,
0x21f51b11
,
0x37f006
13
,
0x
c6
21f500
,
0x88e7f10
5
,
0x37f006
cb
,
0x
7e
21f500
,
0x88e7f10
6
,
0x6721f413
,
0xf4013cf0
,
/* 0x0
762
: i2c_bitr_done */
/* 0x0
81a
: i2c_bitr_done */
0x00f80131
,
/* 0x0
764
: i2c_get_byte */
/* 0x0
81c
: i2c_get_byte */
0xf00057f0
,
/* 0x0
76a
: i2c_get_byte_next */
/* 0x0
822
: i2c_get_byte_next */
0x54b60847
,
0x0076bb01
,
0xf90465b6
,
...
...
@@ -1412,7 +1458,7 @@ uint32_t nvd0_pwr_code[] = {
0xbd0256bb
,
0x0475fd50
,
0x21f550fc
,
0x64b607
1d
,
0x64b607
d5
,
0x2b11f404
,
0xb60553fd
,
0x1bf40142
,
...
...
@@ -1422,12 +1468,12 @@ uint32_t nvd0_pwr_code[] = {
0xbb046594
,
0x50bd0256
,
0xfc0475fd
,
0x
dc
21f550
,
0x0464b60
6
,
/* 0x0
7b4
: i2c_get_byte_done */
/* 0x0
7b6
: i2c_put_byte */
0x
94
21f550
,
0x0464b60
7
,
/* 0x0
86c
: i2c_get_byte_done */
/* 0x0
86e
: i2c_put_byte */
0x47f000f8
,
/* 0x0
7b9
: i2c_put_byte_next */
/* 0x0
871
: i2c_put_byte_next */
0x0142b608
,
0xbb3854ff
,
0x65b60076
,
...
...
@@ -1435,7 +1481,7 @@ uint32_t nvd0_pwr_code[] = {
0x56bb0465
,
0xfd50bd02
,
0x50fc0475
,
0x0
6dc
21f5
,
0x0
794
21f5
,
0xf40464b6
,
0x46b03411
,
0xd81bf400
,
...
...
@@ -1444,21 +1490,21 @@ uint32_t nvd0_pwr_code[] = {
0xbb046594
,
0x50bd0256
,
0xfc0475fd
,
0x
1d
21f550
,
0x
d5
21f550
,
0x0464b607
,
0xbb0f11f4
,
0x36b00076
,
0x061bf401
,
/* 0x08
0f
: i2c_put_byte_done */
/* 0x08
c7
: i2c_put_byte_done */
0xf80132f4
,
/* 0x08
11
: i2c_addr */
/* 0x08
c9
: i2c_addr */
0x0076bb00
,
0xf90465b6
,
0x04659450
,
0xbd0256bb
,
0x0475fd50
,
0x21f550fc
,
0x64b60
64d
,
0x64b60
705
,
0x2911f404
,
0x012ec3e7
,
0xfd0134b6
,
...
...
@@ -1468,23 +1514,23 @@ uint32_t nvd0_pwr_code[] = {
0x0256bb04
,
0x75fd50bd
,
0xf550fc04
,
0xb60
7b6
21
,
/* 0x0
856
: i2c_addr_done */
0xb60
86e
21
,
/* 0x0
90e
: i2c_addr_done */
0x00f80464
,
/* 0x0
858
: i2c_acquire_addr */
/* 0x0
910
: i2c_acquire_addr */
0xb6f8cec7
,
0xe0b705e4
,
0x00f8d014
,
/* 0x0
864
: i2c_acquire */
0x0
858
21f5
,
/* 0x0
91c
: i2c_acquire */
0x0
910
21f5
,
0xf00421f4
,
0x21f403d9
,
/* 0x0
873
: i2c_release */
/* 0x0
92b
: i2c_release */
0xf500f833
,
0xf40
858
21
,
0xf40
910
21
,
0xdaf00421
,
0x3321f403
,
/* 0x0
882
: i2c_recv */
/* 0x0
93a
: i2c_recv */
0x32f400f8
,
0xf8c1c701
,
0xb00214b6
,
...
...
@@ -1503,8 +1549,8 @@ uint32_t nvd0_pwr_code[] = {
0xbb046594
,
0x50bd0256
,
0xfc0475fd
,
0x
64
21f550
,
0x0464b60
8
,
0x
1c
21f550
,
0x0464b60
9
,
0xd6b0d0fc
,
0xb31bf500
,
0x0057f000
,
...
...
@@ -1513,7 +1559,7 @@ uint32_t nvd0_pwr_code[] = {
0xbb046594
,
0x50bd0256
,
0xfc0475fd
,
0x
11
21f550
,
0x
c9
21f550
,
0x0464b608
,
0x00d011f5
,
0xbbe0c5c7
,
...
...
@@ -1522,7 +1568,7 @@ uint32_t nvd0_pwr_code[] = {
0x56bb0465
,
0xfd50bd02
,
0x50fc0475
,
0x0
7b6
21f5
,
0x0
86e
21f5
,
0xf50464b6
,
0xf000ad11
,
0x76bb0157
,
...
...
@@ -1531,7 +1577,7 @@ uint32_t nvd0_pwr_code[] = {
0x0256bb04
,
0x75fd50bd
,
0xf550fc04
,
0xb608
11
21
,
0xb608
c9
21
,
0x11f50464
,
0x76bb008a
,
0x0465b600
,
...
...
@@ -1539,7 +1585,7 @@ uint32_t nvd0_pwr_code[] = {
0x0256bb04
,
0x75fd50bd
,
0xf550fc04
,
0xb60
764
21
,
0xb60
81c
21
,
0x11f40464
,
0xe05bcb6a
,
0xb60076bb
,
...
...
@@ -1547,38 +1593,38 @@ uint32_t nvd0_pwr_code[] = {
0xbb046594
,
0x50bd0256
,
0xfc0475fd
,
0x
a9
21f550
,
0x0464b60
6
,
0x
61
21f550
,
0x0464b60
7
,
0xbd025bb9
,
0x430ef474
,
/* 0x0
988
: i2c_recv_not_rd08 */
/* 0x0
a40
: i2c_recv_not_rd08 */
0xf401d6b0
,
0x57f03d1b
,
0x
11
21f500
,
0x
c9
21f500
,
0x3311f408
,
0xf5e0c5c7
,
0xf40
7b6
21
,
0xf40
86e
21
,
0x57f02911
,
0x
11
21f500
,
0x
c9
21f500
,
0x1f11f408
,
0xf5e0b5c7
,
0xf40
7b6
21
,
0xf40
86e
21
,
0x21f51511
,
0x74bd0
6a9
,
0x74bd0
761
,
0xf408c5c7
,
0x32f4091b
,
0x030ef402
,
/* 0x0
9c8
: i2c_recv_not_wr08 */
/* 0x0
9c8
: i2c_recv_done */
/* 0x0
a80
: i2c_recv_not_wr08 */
/* 0x0
a80
: i2c_recv_done */
0xf5f8cec7
,
0xfc0
873
21
,
0xfc0
92b
21
,
0xf4d0fce0
,
0x7cb90a12
,
0xf121f502
,
/* 0x0
9dd
: i2c_recv_exit */
/* 0x0
9df
: i2c_init */
/* 0x0
a95
: i2c_recv_exit */
/* 0x0
a97
: i2c_init */
0xf800f802
,
/* 0x0
9e1
: test_recv */
/* 0x0
a99
: test_recv */
0xd817f100
,
0x0011cf05
,
0xf10110b6
,
...
...
@@ -1587,28 +1633,28 @@ uint32_t nvd0_pwr_code[] = {
0xd900e7f1
,
0x134fe3f1
,
0x022321f5
,
/* 0x0a
02
: test_init */
/* 0x0a
ba
: test_init */
0xe7f100f8
,
0x21f50800
,
0x00f80223
,
/* 0x0a
0c
: idle_recv */
/* 0x0a
0e
: idle */
/* 0x0a
c4
: idle_recv */
/* 0x0a
c6
: idle */
0x31f400f8
,
0xd417f100
,
0x0011cf05
,
0xf10110b6
,
0xd005d407
,
0x04bd0001
,
/* 0x0a
24
: idle_loop */
/* 0x0a
dc
: idle_loop */
0xf45817f0
,
/* 0x0a
2a
: idle_proc */
/* 0x0a
2a
: idle_proc_exec */
/* 0x0a
e2
: idle_proc */
/* 0x0a
e2
: idle_proc_exec */
0x10f90232
,
0xf5021eb9
,
0xfc02fa21
,
0x0911f410
,
0xf40231f4
,
/* 0x0a
3e
: idle_proc_next */
/* 0x0a
f6
: idle_proc_next */
0x10b6ef0e
,
0x061fb858
,
0xf4e61bf4
,
...
...
@@ -1658,4 +1704,22 @@ uint32_t nvd0_pwr_code[] = {
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
};
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