commit | 7a50f01a4ab89d5c05eb2cf62e206ac0bfc61d2c | [log] [tgz] |
---|---|---|
author | Dave Airlie <airlied@redhat.com> | Tue Jul 21 20:39:30 2009 +1000 |
committer | Dave Airlie <airlied@redhat.com> | Wed Jul 29 15:53:25 2009 +1000 |
tree | a73ed14d4f0bc51e52fa68563f9a26117ea6fed6 | |
parent | 664f86590295217b2319edf88830e87b800f6c4a [diff] |
drm/radeon/kms: vram sizing on certain r100 chips needs workaround. 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>