Skip to content
Commit 296c6ae0 authored by David Miller's avatar David Miller Committed by Dave Airlie
Browse files

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: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
parent 5a7aad9a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment