drm/nvc0: add initial memory type detection
authorBen Skeggs <bskeggs@redhat.com>
Tue, 13 Dec 2011 02:46:18 +0000 (12:46 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 13 Mar 2012 07:05:52 +0000 (17:05 +1000)
commitf3298532f71f163877b9003009d6e1eefe988258
tree27c64ff386f0ef450086f5865828d3e544f421f5
parentc70c41e89f0481f26749d8264aebc594566c2a6d
drm/nvc0: add initial memory type detection

Uses only the VBIOS tables, from what I can tell this is what NVIDIA do
too, I was able to change the detected memory type by modifying this table
on a NVC1 chipset.

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