diff options
author | Stephane Marchesin <marchesin@icps.u-strasbg.fr> | 2007-08-06 17:42:31 +0200 |
---|---|---|
committer | Stephane Marchesin <marchesin@icps.u-strasbg.fr> | 2007-08-22 04:20:50 +0200 |
commit | 76337bdb19fb6a098fc6d6ceaafb58a4ed15f9b0 (patch) | |
tree | 571b31b70b06bb875c1683a6c4b9247f85d6fae7 /shared-core | |
parent | 03c0490129816b5f5b40855438e948fdae572d06 (diff) |
nouveau: fix the comment and debug message for PCIGART size
Diffstat (limited to 'shared-core')
-rw-r--r-- | shared-core/nouveau_mem.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/shared-core/nouveau_mem.c b/shared-core/nouveau_mem.c index 12d1ba75..2cc0ed77 100644 --- a/shared-core/nouveau_mem.c +++ b/shared-core/nouveau_mem.c @@ -439,11 +439,11 @@ int nouveau_mem_init(struct drm_device *dev) struct drm_scatter_gather sgreq; DRM_DEBUG("Allocating sg memory for PCI DMA\n"); - sgreq.size = 16 << 20; //4MB of PCI scatter-gather zone + sgreq.size = 16 << 20; //16MB of PCI scatter-gather zone if (drm_sg_alloc(dev, &sgreq)) { - DRM_ERROR("Unable to allocate 4MB of scatter-gather" - " pages for PCI DMA!"); + DRM_ERROR("Unable to allocate %dMB of scatter-gather" + " pages for PCI DMA!",sgreq.size>>20); } else { if (nouveau_mem_init_heap(&dev_priv->pci_heap, 0, dev->sg->pages * PAGE_SIZE)) { |