+65
−57
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Factor out a new swiotlb_alloc_buffer helper that allocates DMA coherent memory from the swiotlb bounce buffer. This allows to simplify the swiotlb_alloc implemenation that uses dma_direct_alloc to try to allocate a reachable buffer first. Signed-off-by:Christoph Hellwig <hch@lst.de> Acked-by:
Christian König <christian.koenig@amd.com>