Skip to content
Commit 7a50f01a authored by Dave Airlie's avatar Dave Airlie
Browse files

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: default avatarDave Airlie <airlied@redhat.com>
parent 664f8659
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment