From: David Miller Date: Thu, 12 Feb 2009 10:15:34 +0000 (-0800) Subject: drm: ati_pcigart: Need to use PCI_DMA_BIDIRECTIONAL. X-Git-Tag: v2.6.30-rc1~613^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=296c6ae0e9b5ced1060b43a68b5f7e41a18509f6;p=pandora-kernel.git drm: ati_pcigart: Need to use PCI_DMA_BIDIRECTIONAL. The buffers mapped by the PCI GART can be written to by the device, not just read. For example, this happens via the RB_RPTR writeback on Radeon. So we can't use PCI_DMA_TODEVICE else we'll get protection faults on IOMMU platforms. Signed-off-by: David S. Miller Signed-off-by: Dave Airlie --- Reading git-diff-tree failed