ARM: DMA-Mapping: add function for setting coherent pool size from platform code
authorMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 20 Aug 2012 09:19:25 +0000 (11:19 +0200)
committerHiroshi Doyu <hdoyu@nvidia.com>
Fri, 7 Sep 2012 08:46:13 +0000 (11:46 +0300)
commit3b428e0f40e0b707c05dc899064aa58aa052f1d8
tree3a2134a5d20a7acc948bc8dd8c224346669879a9
parentefe3f8ef4e47c284639ad5d3e5f0c1b6744f9058
ARM: DMA-Mapping: add function for setting coherent pool size from platform code

Some platforms might require to increase atomic coherent pool to make
sure that their device will be able to allocate all their buffers from
atomic context. This function can be also used to decrease atomic
coherent pool size if coherent allocations are not used for the given
sub-platform.

Suggested-by: Josh Coombs <josh.coombs@gmail.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
arch/arm/include/asm/dma-mapping.h
arch/arm/mm/dma-mapping.c