drm/radeon/kms: set DMA mask properly on newer PCI asics
commit005a83f1412f4405694d08e95836bbdd88ea0109
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 5 Oct 2011 14:02:57 +0000 (5 10:02 -0400)
committerDave Airlie <airlied@redhat.com>
Mon, 10 Oct 2011 08:11:31 +0000 (10 09:11 +0100)
tree5783421089ed0cebf435625e9179bd04802c8ab9
parentc245cb9e15055ed5dcf7eaf29232badb0059fdc1
drm/radeon/kms: set DMA mask properly on newer PCI asics

If a card wasn't PCIE, we always set the DMA mask to 32 bits.
This is only applies to the old rage128/r1xx gart block on
early radeon asics (~r1xx-r4xx).  Newer PCI and IGP cards
can handle 40 bits just fine.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: Chen Jie <chenj@lemote.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_device.c