summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_sgdma.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2011-06-01 14:08:49 +1000
committerBen Skeggs <bskeggs@redhat.com>2011-06-07 09:23:03 +1000
commit4cff3ce5fe5c3c88f103d58c5e7855f9519960e4 (patch)
tree632bd464e02c4f37b5f05a39e6e8c6355351a2b6 /drivers/gpu/drm/nouveau/nouveau_sgdma.c
parent960bdba08e06a1f35fc2fe784aa293dee58abc68 (diff)
downloadop-kernel-dev-4cff3ce5fe5c3c88f103d58c5e7855f9519960e4.zip
op-kernel-dev-4cff3ce5fe5c3c88f103d58c5e7855f9519960e4.tar.gz
drm/nv40: fall back to paged dma object for the moment
PCI(E)GART isn't quite stable it seems, fall back to old method until I get the time to sort it out properly. 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_sgdma.c b/drivers/gpu/drm/nouveau/nouveau_sgdma.c
index c77111e..82fad91 100644
--- a/drivers/gpu/drm/nouveau/nouveau_sgdma.c
+++ b/drivers/gpu/drm/nouveau/nouveau_sgdma.c
@@ -458,7 +458,7 @@ nouveau_sgdma_init(struct drm_device *dev)
dev_priv->gart_info.type = NOUVEAU_GART_HW;
dev_priv->gart_info.func = &nv50_sgdma_backend;
} else
- if (drm_pci_device_is_pcie(dev) &&
+ if (0 && drm_pci_device_is_pcie(dev) &&
dev_priv->chipset > 0x40 && dev_priv->chipset != 0x45) {
if (nv44_graph_class(dev)) {
dev_priv->gart_info.func = &nv44_sgdma_backend;
OpenPOWER on IntegriCloud