drm/radeon/kms: vram sizing on certain r100 chips needs workaround.
authorDave Airlie <airlied@redhat.com>
Tue, 21 Jul 2009 10:39:30 +0000 (20:39 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 29 Jul 2009 05:53:25 +0000 (15:53 +1000)
If an rn50/r100/m6/m7 GPU has < 64MB RAM, i.e. 8/16/32, the
aperture used to calculate the MC_FB_LOCATION needs to be worked
out from the CONFIG_APER_SIZE register, and not the actual vram size.

TTM VRAM size was also being initialised wrong, use actual vram size
to initialise it.

Signed-off-by: Dave Airlie <airlied@redhat.com>

No differences found