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

Skip to content
Commit f924baa2 authored by Shiraz Hashim's avatar Shiraz Hashim
Browse files

drivers: dma: map pages only if required



DMA clients such as PIL would often allocate large
contiguous physical memory through dma-removed interface
for carve-outs. It may not be possible to map these large
allocations due to insufficient vmalloc space.

Hence provide provision to map the allocated pages only
if mapping or zeroing is explicitly requested for.

Change-Id: I1bfea1223e9ba9819b7768e01d5910690ea0f281
Signed-off-by: default avatarShiraz Hashim <shashim@codeaurora.org>
parent 5286facb
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