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
d1ea77ab
Commit
d1ea77ab
authored
May 08, 2018
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nouveau/fb/gf100-: bump size of mmu debug buffers to match big page size
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
d0e9351e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
drivers/gpu/drm/nouveau/nvkm/subdev/fb/gf100.c
drivers/gpu/drm/nouveau/nvkm/subdev/fb/gf100.c
+2
-2
drivers/gpu/drm/nouveau/nvkm/subdev/fb/gp100.c
drivers/gpu/drm/nouveau/nvkm/subdev/fb/gp100.c
+1
-1
No files found.
drivers/gpu/drm/nouveau/nvkm/subdev/fb/gf100.c
View file @
d1ea77ab
...
...
@@ -46,10 +46,10 @@ gf100_fb_oneinit(struct nvkm_fb *base)
{
struct
gf100_fb
*
fb
=
gf100_fb
(
base
);
struct
nvkm_device
*
device
=
fb
->
base
.
subdev
.
device
;
int
ret
,
size
=
0x1000
;
int
ret
,
size
=
1
<<
(
fb
->
base
.
page
?
fb
->
base
.
page
:
17
)
;
size
=
nvkm_longopt
(
device
->
cfgopt
,
"MmuDebugBufferSize"
,
size
);
size
=
m
in
(
size
,
0x1000
);
size
=
m
ax
(
size
,
0x1000
);
ret
=
nvkm_memory_new
(
device
,
NVKM_MEM_TARGET_INST
,
size
,
0x1000
,
true
,
&
fb
->
base
.
mmu_rd
);
...
...
drivers/gpu/drm/nouveau/nvkm/subdev/fb/gp100.c
View file @
d1ea77ab
...
...
@@ -48,7 +48,7 @@ gp100_fb_init(struct nvkm_fb *base)
nvkm_wr32
(
device
,
0x100cc8
,
nvkm_memory_addr
(
fb
->
base
.
mmu_wr
)
>>
8
);
nvkm_wr32
(
device
,
0x100ccc
,
nvkm_memory_addr
(
fb
->
base
.
mmu_rd
)
>>
8
);
nvkm_mask
(
device
,
0x100cc4
,
0x00060000
,
m
ax
(
nvkm_memory_size
(
fb
->
base
.
mmu_rd
)
>>
16
,
(
u64
)
2
)
<<
17
);
m
in
(
nvkm_memory_size
(
fb
->
base
.
mmu_rd
)
>>
16
,
(
u64
)
2
)
<<
17
);
}
static
const
struct
nvkm_fb_func
...
...
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