drm/nv50: make the blocksize depend on vram size
authorMaarten Maathuis <madman2003@gmail.com>
Sat, 26 Dec 2009 20:46:36 +0000 (21:46 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Sun, 10 Jan 2010 23:06:37 +0000 (09:06 +1000)
commita510604df9444a2a1bdecafc048749e0f35816b5
treec6eaff0a78854d4603393768149eacbf884cacc7
parent1c7059e4f36e76c72cefbb6c9bd2bcf45c12e777
drm/nv50: make the blocksize depend on vram size

- This should be better than what we have now.
- I'm less sure about the non power of two path.

Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
drivers/gpu/drm/nouveau/nouveau_bo.c