android_kernel_xiaomi_sdm845/drivers/gpu
David Miller 296c6ae0e9 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>
2009-03-13 14:24:00 +10:00
..
drm drm: ati_pcigart: Need to use PCI_DMA_BIDIRECTIONAL. 2009-03-13 14:24:00 +10:00
Makefile drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00