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)
committerDave Airlie <airlied@redhat.com>
Mon, 11 Jan 2010 04:41:10 +0000 (14:41 +1000)
commit0a2d090f99c9686e5107ed59533fc4210a9a47d1
tree18ee56517d34647c0c3fa12a9faa87d64a107493
parentc2b82924bda0c3de2b49bd3a4d8b6725721820bc
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