]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/commit
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)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 28 Aug 2012 19:01:02 +0000 (21:01 +0200)
commit6e5267aa543817015edb4a65c66e15f9809f92bd
tree9ec9d3d3003a0fc341856b81f0f2b30476daa51e
parente092705bcd53de3bafc3053b0b55bf83e5d6711f
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