Commit bb0d0f9d authored by Hamad Kadmany's avatar Hamad Kadmany
Browse files

tspp: Allocate from DMA pool for small buffer sizes



dma_alloc_coherent allocates minimum of page size. When
TSPP output buffers are smaller than page size memory
is heavily wasted using dma_alloc_coherent. DMA pools
are designed to handle allocations smaller than page size.

Change-Id: I942cc8cdc9d57ec3b87b14a6601dc4b3e642e7da
Signed-off-by: default avatarHamad Kadmany <hkadmany@codeaurora.org>
parent b6113a5b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment