]> 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)
commitac2852c407ad9e9e71c324b386aaeaf08f8fdd6f
treeb44ce87191a7339926574564e1168e445636a77d
parentbd357750b95e8a9751eddee9cab10d8487c920f7
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