diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2012-03-27 09:15:18 +0400 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2012-05-24 10:31:38 +0400 |
commit | d0f3c7e41d30859a638083654002b9b6faf7f67b (patch) | |
tree | b4dcdcbd755dd8eb28dfc7e3823c5eb36456b94e /drivers/gpu/drm/nouveau/nv04_instmem.c | |
parent | 78c20186581c7558429b591fb2942be44b47d59f (diff) | |
download | linux-d0f3c7e41d30859a638083654002b9b6faf7f67b.tar.xz |
drm/nouveau: give a slightly larger pci(e)gart aperture on all chipsets
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nv04_instmem.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nv04_instmem.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/gpu/drm/nouveau/nv04_instmem.c b/drivers/gpu/drm/nouveau/nv04_instmem.c index c1248e0740a3..1acc626f74b0 100644 --- a/drivers/gpu/drm/nouveau/nv04_instmem.c +++ b/drivers/gpu/drm/nouveau/nv04_instmem.c @@ -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 { |