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

Commit d4563746 authored by Laura Abbott's avatar Laura Abbott Committed by Matt Wagantall
Browse files

dma-mapping: Add dma_remap functions



After getting an allocation from dma_alloc_coherent, there
may be cases where it is neccessary to remap the handle
into the CPU's address space (e.g. no CPU side mapping was
requested at allocation time but now one is needed). Add
APIs to bring a handle into the CPU address space again.

Signed-off-by: default avatarLaura Abbott <lauraa@codeaurora.org>
[imaund@codeaurora.org: resolved context conflicts and added support
  for remap 'no_warn' argument]
Signed-off-by: default avatarIan Maund <imaund@codeaurora.org>
parent f58e2432
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