drm/exynos: simplify DMA mapping
authorAndrzej Hajda <a.hajda@samsung.com>
Fri, 12 Oct 2018 10:53:41 +0000 (12:53 +0200)
committerInki Dae <inki.dae@samsung.com>
Tue, 4 Dec 2018 04:23:17 +0000 (13:23 +0900)
commit29cbf24a4df5c2fa6c6e719598953b5392c00ec0
treebb6977233b0ea66f4f1d38e787181f13b7d2c963
parent167bfe534dc2de680ef706dbb903c9a7bfcb2dd8
drm/exynos: simplify DMA mapping

Moving DMA mapping creation to drm_iommu_attach_device allows to avoid
looping through all components and maintaining DMA device flags.

v2: take care of configurations without IOMMU

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos5433_drm_decon.c
drivers/gpu/drm/exynos/exynos7_drm_decon.c
drivers/gpu/drm/exynos/exynos_drm_drv.c
drivers/gpu/drm/exynos/exynos_drm_drv.h
drivers/gpu/drm/exynos/exynos_drm_fimc.c
drivers/gpu/drm/exynos/exynos_drm_fimd.c
drivers/gpu/drm/exynos/exynos_drm_g2d.c
drivers/gpu/drm/exynos/exynos_drm_gsc.c
drivers/gpu/drm/exynos/exynos_drm_rotator.c
drivers/gpu/drm/exynos/exynos_drm_scaler.c
drivers/gpu/drm/exynos/exynos_mixer.c