summaryrefslogtreecommitdiff
path: root/shared-core/nouveau_object.c
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 15:57:17 +0200
commit3007b03bdf608708a50b842d4291d3640c30f2c5 (patch)
treed3ca8f07c0d449b52478465f6769b679f385d353 /shared-core/nouveau_object.c
parent851c950d988e5a47fa6add71427e5ef8d4dcf231 (diff)
now attempting to create PCI object only when there is a pci_heap
Diffstat (limited to 'shared-core/nouveau_object.c')
-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 16b38e95..de1f0ca2 100644
--- a/shared-core/nouveau_object.c
+++ b/shared-core/nouveau_object.c
@@ -918,7 +918,7 @@ nouveau_gpuobj_channel_init(drm_device_t *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*/