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

Skip to content
Commit f28fc293 authored by Laura Abbott's avatar Laura Abbott
Browse files

arm64: Use custom mmap function for noncoherent dma ops



The non-coherent dma ops remap memory with appropriate attributes.
This remapped address cannot be used with virt_to_page which
dma_common_mmap uses. Implement a custom (but very similar) function
which correctly calculates the physical address and remaps to userspace.

Change-Id: I3a85670d38b9c098af27a366c8421a616d6c815d
Signed-off-by: default avatarLaura Abbott <lauraa@codeaurora.org>
parent 500bff85
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