dma-mapping: add a dma_mmap_pages helper
Add a helper to map memory allocated using dma_alloc_pages into a user address space, similar to the dma_alloc_attrs function for coherent allocations. Signed-off-by:Christoph Hellwig <hch@lst.de> Reviewed-by:
Tomasz Figa <tfiga@chromium.org> Tested-by:
Ricardo Ribalda <ribalda@chromium.org>
Showing
Please register or sign in to comment