aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/exynos/exynos_drm_drv.h
diff options
context:
space:
mode:
authorAndrzej Hajda <a.hajda@samsung.com>2018-10-12 12:53:41 +0200
committerInki Dae <inki.dae@samsung.com>2018-12-04 13:23:17 +0900
commit29cbf24a4df5c2fa6c6e719598953b5392c00ec0 (patch)
treebb6977233b0ea66f4f1d38e787181f13b7d2c963 /drivers/gpu/drm/exynos/exynos_drm_drv.h
parentDocumentation: drm: Remove dangling pointer from drm-mm.rst (diff)
downloadlinux-dev-29cbf24a4df5c2fa6c6e719598953b5392c00ec0.tar.xz
linux-dev-29cbf24a4df5c2fa6c6e719598953b5392c00ec0.zip
drm/exynos: simplify DMA mapping
Moving DMA mapping creation to drm_iommu_attach_device allows to avoid looping through all components and maintaining DMA device flags. v2: take care of configurations without IOMMU Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_drm_drv.h')
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_drv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.h b/drivers/gpu/drm/exynos/exynos_drm_drv.h
index 5e61e707f955..1d4c3c425404 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_drv.h
+++ b/drivers/gpu/drm/exynos/exynos_drm_drv.h
@@ -214,6 +214,8 @@ static inline struct device *to_dma_dev(struct drm_device *dev)
return priv->dma_dev;
}
+int exynos_drm_register_dma(struct drm_device *drm, struct device *dev);
+
#ifdef CONFIG_DRM_EXYNOS_DPI
struct drm_encoder *exynos_dpi_probe(struct device *dev);
int exynos_dpi_remove(struct drm_encoder *encoder);