summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/exynos/exynos_drm_hdmi.h
diff options
context:
space:
mode:
authorInki Dae <inki.dae@samsung.com>2012-10-19 17:37:35 +0900
committerInki Dae <inki.dae@samsung.com>2012-12-04 14:45:53 +0900
commit1055b39facd1bf8f84031a07385f84b46a20540f (patch)
treed139201e9880349f39f6435d6cc24cafdbea7a3c /drivers/gpu/drm/exynos/exynos_drm_hdmi.h
parentbcc5cd1c5fad9b4471aafff0d74d9d0fcde1c27d (diff)
downloadop-kernel-dev-1055b39facd1bf8f84031a07385f84b46a20540f.zip
op-kernel-dev-1055b39facd1bf8f84031a07385f84b46a20540f.tar.gz
drm/exynos: add iommu support for hdmi driver
Changelog v2: move iommu support feature to mixer side. And below is Prathyush's comment. According to the new IOMMU framework for exynos sysmmus, the owner of the sysmmu-tv is mixer (which is the actual device that does DMA) and not hdmi. The mmu-master in sysmmu-tv node is set as below in exynos5250.dtsi sysmmu-tv { - mmu-master = <&mixer>; }; Changelog v1: The iommu will be enabled when hdmi sub driver is probed and will be disabled when removed. Signed-off-by: Inki Dae <inki.dae@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_drm_hdmi.h')
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_hdmi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_hdmi.h b/drivers/gpu/drm/exynos/exynos_drm_hdmi.h
index 2da5ffd..54b5223 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_hdmi.h
+++ b/drivers/gpu/drm/exynos/exynos_drm_hdmi.h
@@ -62,6 +62,7 @@ struct exynos_hdmi_ops {
struct exynos_mixer_ops {
/* manager */
+ int (*iommu_on)(void *ctx, bool enable);
int (*enable_vblank)(void *ctx, int pipe);
void (*disable_vblank)(void *ctx);
void (*dpms)(void *ctx, int mode);
OpenPOWER on IntegriCloud