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>
Tue, 13 Mar 2012 07:05:40 +0000 (17:05 +1000)
commit1072856a1c604726be6a8adfb6b2c86033e6a314
treee2f367f2ce3fde2a5ac17e44ba889f734e12a823
parentff92a6cda74c0a51cb723f5e224124cf74e62f25
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