[RAMEN9610-12270] g2d: add missing IOMMU_CACHE to iommu mapping
authorCho KyongHo <pullip.cho@samsung.com>
Mon, 18 Feb 2019 02:24:59 +0000 (11:24 +0900)
committerhskang <hs1218.kang@samsung.com>
Wed, 20 Feb 2019 01:00:35 +0000 (10:00 +0900)
commit4fec338698cd1f3c73481492d79ae395bea50945
treec2a5db1553a66ae5095c438e1fc7d68623bfeac7
parentb52e4693e8d651f8262980eca13a46bbaf01bf2b
[RAMEN9610-12270] g2d: add missing IOMMU_CACHE to iommu mapping

IOMMU_CACHE should be specified to iovmm_map() if G2D supports IO Cache
Coherency but it was missing because ION and IOMMU drivers adds
IOMMU_CACHE if their clients has DMA attributes of IO cache coherency.
But it is not correct to delegate configuration to IOMMU_CACHE to ION
and IOMMU drivers because G2D driver does not have any room to change
such configurations.

Change-Id: I6c20727c913af52781230669621bf8cf12faafdc
Signed-off-by: Cho KyongHo <pullip.cho@samsung.com>
drivers/gpu/exynos/g2d/g2d_regs.c
drivers/gpu/exynos/g2d/g2d_task.c
drivers/gpu/exynos/g2d/g2d_uapi_process.c