summaryrefslogtreecommitdiff
path: root/drivers/video/of_display_timing.c
diff options
context:
space:
mode:
authorRobin Murphy <Robin.Murphy@arm.com>2015-07-29 19:46:04 +0100
committerWill Deacon <will.deacon@arm.com>2015-08-06 14:35:38 +0100
commitf8d5496131554f61b0fd931fa046f0233fe2aac2 (patch)
treef7a7855797693f1a9c101cb4dc4dd234a54d5ce2 /drivers/video/of_display_timing.c
parent85430968ae72650a63f77f05a29d5c56e41581db (diff)
iommu/io-pgtable-arm: Allow appropriate DMA API use
Currently, users of the LPAE page table code are (ab)using dma_map_page() as a means to flush page table updates for non-coherent IOMMUs. Since from the CPU's point of view, creating IOMMU page tables *is* passing DMA buffers to a device (the IOMMU's page table walker), there's little reason not to use the DMA API correctly. Allow IOMMU drivers to opt into DMA API operations for page table allocation and updates by providing their appropriate device pointer. The expectation is that an LPAE IOMMU should have a full view of system memory, so use streaming mappings to avoid unnecessary pressure on ZONE_DMA, and treat any DMA translation as a warning sign. Signed-off-by: Robin Murphy <robin.murphy@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'drivers/video/of_display_timing.c')
0 files changed, 0 insertions, 0 deletions