drm/radeon/kms: fix VRAM sizing like DDX does it.
authorDave Airlie <airlied@linux.ie>
Fri, 10 Jul 2009 18:44:47 +0000 (04:44 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 15 Jul 2009 07:13:19 +0000 (17:13 +1000)
commit2a0f8918fc34713ecaeb900ffb9afa61df4cb08e
tree672d6e6788cd0f4100b912aa7029fa38c513a23c
parentad49f501867cba87e1e45e5ebae0b12435d68bf1
drm/radeon/kms: fix VRAM sizing like DDX does it.

Doing this like the DDX seems like the most sure fire way to avoid
having to reinvent it slowly and painfully. At the moment we keep
getting things wrong with aper vs vram, so we know the DDX does it right.

booted on PCI r100, PCIE rv370, IGP rs400.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/r100.c
drivers/gpu/drm/radeon/r300.c
drivers/gpu/drm/radeon/r520.c
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_device.c
drivers/gpu/drm/radeon/rs400.c
drivers/gpu/drm/radeon/rv515.c