summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_sgdma.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2012-03-27 15:15:18 +1000
committerBen Skeggs <bskeggs@redhat.com>2012-05-24 16:31:38 +1000
commitd0f3c7e41d30859a638083654002b9b6faf7f67b (patch)
treeb4dcdcbd755dd8eb28dfc7e3823c5eb36456b94e /drivers/gpu/drm/nouveau/nouveau_sgdma.c
parent78c20186581c7558429b591fb2942be44b47d59f (diff)
downloadop-kernel-dev-d0f3c7e41d30859a638083654002b9b6faf7f67b.zip
op-kernel-dev-d0f3c7e41d30859a638083654002b9b6faf7f67b.tar.gz
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/nouveau_sgdma.c')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_sgdma.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_sgdma.c b/drivers/gpu/drm/nouveau/nouveau_sgdma.c
index 27aac9a..38483a0 100644
--- a/drivers/gpu/drm/nouveau/nouveau_sgdma.c
+++ b/drivers/gpu/drm/nouveau/nouveau_sgdma.c
@@ -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
OpenPOWER on IntegriCloud