Skip to content
Commit 21caf3a7 authored by Lorenzo Nava's avatar Lorenzo Nava Committed by Russell King
Browse files

ARM: 8398/1: arm DMA: Fix allocation from CMA for coherent DMA



This patch allows the use of CMA for DMA coherent memory allocation.
At the moment if the input parameter "is_coherent" is set to true
the allocation is not made using the CMA, which I think is not the
desired behaviour.
The patch covers the allocation and free of memory for coherent
DMA.

Signed-off-by: default avatarLorenzo Nava <lorenx4@gmail.com>
Reviewed-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 1234e3fd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment