drm/exynos: Use selected dma_dev default iommu domain instead of a fake one
authorMarek Szyprowski <m.szyprowski@samsung.com>
Fri, 28 Sep 2018 16:09:23 +0000 (18:09 +0200)
committerInki Dae <inki.dae@samsung.com>
Mon, 1 Oct 2018 00:25:31 +0000 (09:25 +0900)
commit1feda5eb77fc279a4c4eb93b9a0ac3bf7254b57a
treeb44ce87191a7339926574564e1168e445636a77d
parentfcb1349a2af5a3c4a1d789bb5d1a9b3e582652a3
drm/exynos: Use selected dma_dev default iommu domain instead of a fake one

Instead of allocating a fake IOMMU domain for all Exynos DRM components,
simply reuse the default IOMMU domain of the already selected DMA device.
This allows some design changes in IOMMU framework without breaking IOMMU
support in Exynos DRM.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_iommu.h