summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_state.c
diff options
context:
space:
mode:
authorDavid Miller <davem@davemloft.net>2009-02-12 11:15:34 +0100
committerDave Airlie <airlied@redhat.com>2009-03-13 05:24:00 +0100
commit296c6ae0e9b5ced1060b43a68b5f7e41a18509f6 (patch)
tree35d729262bc42162d031da22bb830c8d6c1ef43c /drivers/gpu/drm/radeon/radeon_state.c
parentdrm: ati_pcigart: Do not access I/O MEM space using pointer derefs. (diff)
downloadlinux-296c6ae0e9b5ced1060b43a68b5f7e41a18509f6.tar.xz
linux-296c6ae0e9b5ced1060b43a68b5f7e41a18509f6.zip
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>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_state.c')
0 files changed, 0 insertions, 0 deletions