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>
Wed, 21 Dec 2011 22:47:29 +0000 (08:47 +1000)
commitff416243ac0f047adc6dfb1ab5ad4d5dd4463524
tree89e110f834fd0fb63e7f0569acce7f0a5a606220
parent1b72480ce70872413fe2dfa51a14b2255031b27a
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