commit | 296c6ae0e9b5ced1060b43a68b5f7e41a18509f6 | [log] [tgz] |
---|---|---|
author | David Miller <davem@davemloft.net> | Thu Feb 12 02:15:34 2009 -0800 |
committer | Dave Airlie <airlied@redhat.com> | Fri Mar 13 14:24:00 2009 +1000 |
tree | 35d729262bc42162d031da22bb830c8d6c1ef43c | |
parent | 5a7aad9a559a5488cbef7aa3d4d96fc28220b8ae [diff] |
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 <davem@davemloft.net> Signed-off-by: Dave Airlie <airlied@linux.ie>