drm/nv50: add memory type detection
authorBen Skeggs <bskeggs@redhat.com>
Mon, 12 Dec 2011 23:45:25 +0000 (09:45 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 21 Dec 2011 22:47:27 +0000 (08:47 +1000)
commitab3e09258ea313dc0c489c381f9650dfb82c5616
treeb81c0691d471d914a16ba2922ac7c8bece53901b
parent0e5041c5f1fb0ebe1aa1bf743d7184f947f4e90a
drm/nv50: add memory type detection

DDR1/DDR[23] confirmed on NVA8 (see note about DDR3 in source) by changing
the value and watching the binary driver's behaviour.

GDDR3/4 values confirmed on a NV96 via the same method above.  That GDDR4
is present is interesting, as far as I can see no boards using it were ever
released.

GDDR5 value is based on VBIOS images of known GDDR5 boards.

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