Files
linux/drivers
Daniel Haid 7afcf47248 drm/radeon/kms: fix for radeon on systems >4GB without hardware iommu
commit 62fff811d7 upstream.

On my x86_64 system with >4GB of ram and swiotlb instead of
a hardware iommu (because I have a VIA chipset), the call
to pci_set_dma_mask (see below) with 40bits returns an error.

But it seems that the radeon driver is designed to have
need_dma32 = true exactly if pci_set_dma_mask is called
with 32 bits and false if it is called with 40 bits.

I have read somewhere that the default are 32 bits. So if the
call fails I suppose that need_dma32 should be set to true.

And indeed the patch fixes the problem I have had before
and which I had described here:
http://choon.net/forum/read.php?21,106131,115940

Acked-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-06-23 15:24:06 -07:00
..
2011-06-23 15:24:04 -07:00
2011-06-23 15:24:00 -07:00
2011-01-07 14:43:17 -08:00
2011-01-07 14:43:06 -08:00
2011-06-23 15:24:01 -07:00
2011-06-23 15:24:04 -07:00
2009-10-15 09:58:27 -06:00
2009-11-12 07:26:01 -08:00
2011-05-09 15:54:50 -07:00
2010-05-12 14:57:15 -07:00