commit | eedb0b12d091a21909b5e84d9f3e5e649305bd12 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Thu Jan 28 14:53:22 2021 +0100 |
committer | Christoph Hellwig <hch@lst.de> | Mon Mar 15 10:02:31 2021 +0100 |
tree | 82524abc75941a66dedc9f476cd576eebc7ba225 | |
parent | 1e28eed17697bcf343c6743f0028cc3b5dd88bf0 [diff] |
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>