drm/nv40: attempt to reserve just enough vram for all 32 channels
authorBen Skeggs <bskeggs@redhat.com>
Tue, 8 Mar 2011 04:47:53 +0000 (14:47 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 14 Mar 2011 06:35:16 +0000 (16:35 +1000)
commit459ca7e5283914845d7139905ff58824d2b0cc85
treebd54b1201351f7fc5742f5b0b024ac2866cd3a3f
parent6fdb383e81a644a244299d635de5eb30ed401278
drm/nv40: attempt to reserve just enough vram for all 32 channels

This also makes the fact we're giving 512MiB of GART space to all PCIE
boards explicit, although the vast majority (if not all) of them will
now have a ramin_rsvd_vram larger than 2MiB anyway.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_mem.c
drivers/gpu/drm/nouveau/nouveau_sgdma.c