summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Huillet <arthur.huillet@free.fr>2007-07-13 15:57:17 +0200
committerArthur Huillet <arthur.huillet@free.fr>2007-07-13 16:00:03 +0200
commit5ae3ad4f015aa072180a0c55255832be4e7557cf (patch)
treea75199dfa0d0681a450dfbc32adb04ffa85efde2
parent0029713451af6f5f216079775ff77cae9b423c0e (diff)
now attempting to create PCI object only when there is a pci_heap
-rw-r--r--shared-core/nouveau_object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-core/nouveau_object.c b/shared-core/nouveau_object.c
index c5697d8e..aab2e3ac 100644
--- a/shared-core/nouveau_object.c
+++ b/shared-core/nouveau_object.c
@@ -918,7 +918,7 @@ nouveau_gpuobj_channel_init(struct drm_device *dev, int channel,
return ret;
}
}
- else {
+ else if ( dev_priv->pci_heap) {
if (dev_priv -> card_type >= NV_50 ) return 0; /*no PCIGART for NV50*/
/*PCI*/