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
d0f3c7e4
Commit
d0f3c7e4
authored
Mar 27, 2012
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nouveau: give a slightly larger pci(e)gart aperture on all chipsets
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
78c20186
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
8 deletions
+4
-8
drivers/gpu/drm/nouveau/nouveau_sgdma.c
drivers/gpu/drm/nouveau/nouveau_sgdma.c
+2
-2
drivers/gpu/drm/nouveau/nv04_instmem.c
drivers/gpu/drm/nouveau/nv04_instmem.c
+2
-6
No files found.
drivers/gpu/drm/nouveau/nouveau_sgdma.c
View file @
d0f3c7e4
...
...
@@ -341,10 +341,10 @@ nouveau_sgdma_init(struct drm_device *dev)
u32
aper_size
,
align
;
int
ret
;
if
(
dev_priv
->
card_type
>=
NV_40
&&
pci_is_pcie
(
dev
->
pdev
)
)
if
(
dev_priv
->
card_type
>=
NV_40
)
aper_size
=
512
*
1024
*
1024
;
else
aper_size
=
64
*
1024
*
1024
;
aper_size
=
128
*
1024
*
1024
;
/* Dear NVIDIA, NV44+ would like proper present bits in PTEs for
* christmas. The cards before it have them, the cards after
...
...
drivers/gpu/drm/nouveau/nv04_instmem.c
View file @
d0f3c7e4
...
...
@@ -41,12 +41,8 @@ int nv04_instmem_init(struct drm_device *dev)
rsvd
+=
16
*
1024
;
rsvd
*=
dev_priv
->
engine
.
fifo
.
channels
;
/* pciegart table */
if
(
pci_is_pcie
(
dev
->
pdev
))
rsvd
+=
512
*
1024
;
/* object storage */
rsvd
+=
512
*
1024
;
rsvd
+=
512
*
1024
;
/* pci(e)gart table */
rsvd
+=
512
*
1024
;
/* object storage */
dev_priv
->
ramin_rsvd_vram
=
round_up
(
rsvd
,
4096
);
}
else
{
...
...
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