drm/exynos: iommu: improve a check for non-iommu dma_ops
authorMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 3 Jun 2015 08:26:24 +0000 (10:26 +0200)
committerInki Dae <daeinki@gmail.com>
Fri, 19 Jun 2015 15:33:00 +0000 (00:33 +0900)
commitbcfe4e25aa0385dc7bb1061595f8e4d69f74c61d
treeb1f985b3a518c8f26d3fc6616a44c2479b403842
parent452868581da254b03c54912f8f780bd0a4d3bcfb
drm/exynos: iommu: improve a check for non-iommu dma_ops

DRM Exynos driver is relying on dma-mapping internal structures when used
with IOMMU enabled. This patch partially hides dma-mapping internal things
by using proper get_dma_ops/set_dma_ops calls.

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