fimc-is: Adapt to latest changes DMA-mapping/IOMMU frameworks
authorMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 6 Aug 2015 08:03:46 +0000 (10:03 +0200)
committerJunghoon Kim <jhoon20.kim@samsung.com>
Thu, 14 Feb 2019 05:57:21 +0000 (14:57 +0900)
commit1936ca970a1587af214bceb0f87d50fa2b277931
treeea3015dcebfed5be83de76d059c807119f364332
parent8650a6e8c8b976c3fc0714f9bb9ced3f5a061f87
fimc-is: Adapt to latest changes DMA-mapping/IOMMU frameworks

This patch is a temporary workaround.

31-bit DMA mask is used to prevent overlapping with the Cortex-A5
reserved range. FIMC-IS CPU uses 0xe0000000-0xffffffff address
range for mapping peripheral devices, so those addresses must not
be used for memory buffers.

Change-Id: I74599b8037644bf7582043ac17a098d49b11193c
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
drivers/iommu/dma-iommu.c
drivers/media/platform/exynos/fimc-is/fimc-is-core.c
include/linux/dma-iommu.h