diff options
author | Christoph Hellwig <hch@lst.de> | 2021-06-23 16:05:05 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2021-08-18 16:24:11 +0200 |
commit | 39a2d3506b2d53c569a6db13d65b2f3728c4feec (patch) | |
tree | a28837a98a67beafc9ee020795ffc2d8efe0d107 /include/drm/gud.h | |
parent | a6933571f34a9aee843fff2aa4b96949c57d6274 (diff) | |
download | linux-stable-39a2d3506b2d53c569a6db13d65b2f3728c4feec.tar.gz linux-stable-39a2d3506b2d53c569a6db13d65b2f3728c4feec.tar.bz2 linux-stable-39a2d3506b2d53c569a6db13d65b2f3728c4feec.zip |
dma-mapping: add a dma_init_global_coherent helper
Add a new helper to initialize the global coherent pool. This both
cleans up the existing initialization which indirects through the
reserved_mem_ops that are normally only used for struct device, and
also allows using the global pool for non-devicetree architectures.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Dillon Min <dillon.minfei@gmail.com>
Diffstat (limited to 'include/drm/gud.h')
0 files changed, 0 insertions, 0 deletions