[RAMEN9610-12270] media/vb2-dma-sg: add IOMMU_UNCACHED memops flag
authorCho KyongHo <pullip.cho@samsung.com>
Mon, 18 Feb 2019 04:10:45 +0000 (13:10 +0900)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:23:17 +0000 (20:23 +0300)
commit74cc0e7d14c2bd6af82d8bea0e18b9673b050d27
tree4f5eed8e457284b3236300ff949da3a4046fcdbb
parent632f89bc10b8d87aef2299b66ecac30b3452a22f
[RAMEN9610-12270] media/vb2-dma-sg: add IOMMU_UNCACHED memops flag

VB2_DMA_SG_MEMFLAG_IOMMU_UNCACHED is introduced to prevent configuring
IOMMU_CACHE to iovmm_map() and ion_iovmm_map() which force shareable
mapping to the page table of the client device.
It is required by some shareable devices(devices with I/O Cache
coherency) which does not want to create shareable mappings for some
buffers.

Change-Id: Ic0c380a35cb6044d8d92500716081d45535965fe
Signed-off-by: Cho KyongHo <pullip.cho@samsung.com>
drivers/media/v4l2-core/videobuf2-dma-sg.c
include/media/videobuf2-dma-sg.h