[PATCH 4/7] v4l: videobuf2: add IOMMU based DMA memory allocator

Russell King - ARM Linux linux at arm.linux.org.uk
Tue Apr 19 05:21:35 EDT 2011

On Tue, Apr 19, 2011 at 11:02:34AM +0200, Marek Szyprowski wrote:
> On Monday, April 18, 2011 4:16 PM Arnd Bergmann wrote:
> > My feeling is that this is not the right abstraction. Why can't you
> > just implement the regular dma-mapping.h interfaces for your IOMMU
> > so that the videobuf code can use the existing allocators?
> I'm not really sure which existing videobuf2 allocators might transparently
> support IOMMU interface yet
> Do you think that all iommu operations can be hidden behind dma_map_single 
> and dma_unmap_single?

That is one of the intentions of the DMA API.

More information about the linux-arm-kernel mailing list