now attempting to create PCI object only when there is a pci_heap

main
Arthur Huillet 2007-07-13 15:57:17 +02:00
parent 851c950d98
commit 3007b03bdf
1 changed files with 1 additions and 1 deletions

View File

@ -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*/