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

Skip to content
Commit c0e0d5d3 authored by Liam Mark's avatar Liam Mark
Browse files

dma-buf: Add support for partial cache maintenance



In order to improve performance allow dma-buf clients the ability
to apply cache maintenance to only a subset of a dma-buf.

Kernel clients will be able to use dma_buf_begin_cpu_access_partial
and dma_buf_end_cpu_access_partial functions to only apply cache
maintenance to a range within the dma-buf.

Userspace clients will be able to restrict cache maintenance to only
the subset of the dma-buf which is mmap(ed) by setting the
DMA_BUF_SYNC_USER_MAPPED flag when calling the DMA_BUF_IOCTL_SYNC IOCT.

Change-Id: Id02e240ec43de636bb801929016c8d351b2ae96d
Signed-off-by: default avatarLiam Mark <lmark@codeaurora.org>
parent 156f49e6
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