diff options
author | Christoph Hellwig <hch@lst.de> | 2018-01-10 00:15:30 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-01-15 11:35:49 +0300 |
commit | 0176adb004065d6815a8e67946752df4cd947c5b (patch) | |
tree | e2e9a646e644709c854f4f9fdd3c1827bb796931 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | a25381aa3ae60a2e028c95f1318649b13cbbce30 (diff) | |
download | linux-0176adb004065d6815a8e67946752df4cd947c5b.tar.xz |
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 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions