diff options
author | Christoph Hellwig <hch@lst.de> | 2018-01-09 22:15:30 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-01-15 09:35:49 +0100 |
commit | 0176adb004065d6815a8e67946752df4cd947c5b (patch) | |
tree | e2e9a646e644709c854f4f9fdd3c1827bb796931 /drivers/base | |
parent | a25381aa3ae60a2e028c95f1318649b13cbbce30 (diff) |
swiotlb: refactor coherent buffer allocation
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>
Diffstat (limited to 'drivers/base')
0 files changed, 0 insertions, 0 deletions