]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6501a100322aa1d1e87059891dfb5c470f79a37a
treeb44ce87191a7339926574564e1168e445636a77d
parentfb4c3c09b89719d3bc1da675ab7240565d9b8eb4
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