Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ae6c639d authored by Liam Mark's avatar Liam Mark Committed by Gerrit - the friendly Code Review server
Browse files

arm64: dma-mapping: support per-buffer coherent mappings



For arm64 stage 1 mappings add support to either force a buffer to
be mapped as coherent through the DMA_ATTR_FORCE_COHERENT DMA
attribute, or to force a buffer to not be mapped as coherent by
using the DMA_ATTR_FORCE_NON_COHERENT DMA attribute.

Both the DMA_ATTR_FORCE_COHERENT and DMA_ATTR_FORCE_NON_COHERENT DMA
attributes override the buffer coherency configuration set by making
the device coherent.

Change-Id: I21be3a09874c9fcfc79c4dd408c827ef26f60f01
Signed-off-by: default avatarLiam Mark <lmark@codeaurora.org>
parent 7e89aa76
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment