From: Dave Airlie Date: Tue, 21 Jul 2009 10:39:30 +0000 (+1000) Subject: drm/radeon/kms: vram sizing on certain r100 chips needs workaround. X-Git-Tag: v2.6.31-rc5~66^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a50f01a4ab89d5c05eb2cf62e206ac0bfc61d2c;p=pandora-kernel.git 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 --- Reading git-diff-tree failed