drm/exynos: iommu: move ARM specific code to exynos_drm_iommu.h
authorMarek Szyprowski <m.szyprowski@samsung.com>
Fri, 17 Jun 2016 07:54:26 +0000 (09:54 +0200)
committerInki Dae <daeinki@gmail.com>
Wed, 13 Jul 2016 14:06:06 +0000 (23:06 +0900)
commit17879a4100f15156b415f37190576f30a5cfae00
treebed5c345f441ef5357c3a584f0d710c3fafb7915
parenta9abb34f440bcd0ef6ef74c01b8f889a073996f3
drm/exynos: iommu: move ARM specific code to exynos_drm_iommu.h

This patch moves all ARM 32bit DMA-mapping/IOMMU dependant code from
exynos_drm_iommu.c to .h, to let it compile conditionally and prepare
for adding support for other architectures/IOMMU glue code (like ARM
64bit with IOMMU-DMA glue). Later, when ARM 32bit and 64bit will be
unified, this code can be removed.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_iommu.c
drivers/gpu/drm/exynos/exynos_drm_iommu.h