msm: camera: Skip cache CPU SYNC for non-secure buffers
Pass DMA_ATTR_SKIP_CPU_SYNC flag to dma_buf_map_attachment and
dma_buf_unmap_attachment for non-secure buffers.
Cache maintenance is done by HAL. So skip it in kernel.
Change-Id: I1fb07d2edc993eb322c2f919359b43bcbf75ee2d
Signed-off-by:
Trishansh Bhardwaj <tbhardwa@codeaurora.org>
Loading
Please register or sign in to comment