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

Skip to content
Commit 4b9347dc authored by Marek Szyprowski's avatar Marek Szyprowski Committed by Inki Dae
Browse files

common: DMA-mapping: add DMA_ATTR_FORCE_CONTIGUOUS attribute



This patch adds DMA_ATTR_FORCE_CONTIGUOUS attribute to the DMA-mapping
subsystem.

By default DMA-mapping subsystem is allowed to assemble the buffer
allocated by dma_alloc_attrs() function from individual pages if it can
be mapped as contiguous chunk into device dma address space. By
specifing this attribute the allocated buffer is forced to be contiguous
also in physical memory.

Signed-off-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
parent e7783ba3
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