drm/nv50: hopefully handle the DDR2/DDR3 memtype detection somewhat better
authorBen Skeggs <bskeggs@redhat.com>
Tue, 13 Dec 2011 01:57:55 +0000 (11:57 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 13 Mar 2012 07:05:46 +0000 (17:05 +1000)
commitc70c41e89f0481f26749d8264aebc594566c2a6d
tree9a112ff10ccbda529d70eecbedc5d763113846a0
parent1072856a1c604726be6a8adfb6b2c86033e6a314
drm/nv50: hopefully handle the DDR2/DDR3 memtype detection somewhat better

M version 2 appears to have a table with some form of memory type info
available.

NVIDIA appear to ignore the table information except for this DDR2/DDR3
case (which has the same value in 0x100714).  My guess is this is due to
some of the supported memory types not being represented in the table.

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