diff options
| author | Benjamin Gaignard <benjamin.gaignard@linaro.org> | 2013-03-22 18:08:30 +0100 |
|---|---|---|
| committer | Colin Cross <ccross@android.com> | 2013-09-19 13:50:05 -0500 |
| commit | ae2b22e9b7a207d9392df5b5ec93b8c042d4b3ce (patch) | |
| tree | 857e3ce98094abcff9d4f076e0a7e9d61d6937c2 /kernel/smpboot.h | |
| parent | 0a87e75ab5ab0d8a14a3f293d4970f9b3e50bf6e (diff) | |
| download | olio-linux-3.10-ae2b22e9b7a207d9392df5b5ec93b8c042d4b3ce.tar.xz olio-linux-3.10-ae2b22e9b7a207d9392df5b5ec93b8c042d4b3ce.zip | |
gpu: ion: add CMA heap
New heap type ION_HEAP_TYPE_DMA where allocation is done with dma_alloc_coherent API.
device coherent_dma_mask must be set to DMA_BIT_MASK(32).
ion_platform_heap private field is used to retrieve the device linked to CMA,
if NULL the default CMA area is used.
ion_cma_get_sgtable is a copy of dma_common_get_sgtable function which should
be in kernel 3.5
Change-Id: If4b1a3f9c8a6bd72053226208832f4971e44372f
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Diffstat (limited to 'kernel/smpboot.h')
0 files changed, 0 insertions, 0 deletions