drm/nv50: calculate vram reordering block size
authorBen Skeggs <bskeggs@redhat.com>
Thu, 12 Aug 2010 02:37:28 +0000 (12:37 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 24 Sep 2010 06:21:55 +0000 (16:21 +1000)
commit6c3d7ef25e3b4a0ea511b1e9d4a0a212750874a6
treef5f5ddfaa99dc244e51d2728eb1fc0156fb38506
parent5125bfd88608012d58652ac7ea6a03a78773200f
drm/nv50: calculate vram reordering block size

Will be used at a later point when we plug in an alternative VRAM memory
manager for GeForce 8+ boards.

Based on pscnv code to do the same.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Marcin Koƛcielnicki <koriakin@0x04.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_drv.h
drivers/gpu/drm/nouveau/nouveau_mem.c