[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)
committerhskang <hs1218.kang@samsung.com>
Wed, 20 Feb 2019 01:00:39 +0000 (10:00 +0900)
commitbeb38cc22ba70970d40d755751b4af053936d836
tree99b6ca4d34e6b8cc2b0eaf7e66753d6b6d271fd6
parent573e921765639eb0ccc30001b475d2c58bdafe24
[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