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>
Wed, 21 Dec 2011 22:47:28 +0000 (08:47 +1000)
commit1b72480ce70872413fe2dfa51a14b2255031b27a
tree00e6a3fc9273a2f8b308d00a5765d39c5cb90690
parentab3e09258ea313dc0c489c381f9650dfb82c5616
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