]> git.baikalelectronics.ru Git - kernel.git/commit
drm/exynos: add iommu support for hdmi driver
authorInki Dae <inki.dae@samsung.com>
Fri, 19 Oct 2012 08:37:35 +0000 (17:37 +0900)
committerInki Dae <inki.dae@samsung.com>
Tue, 4 Dec 2012 05:45:53 +0000 (14:45 +0900)
commit1f30c96f5ccfb816862ab5b3ca2c5d0ce3b2f430
treed139201e9880349f39f6435d6cc24cafdbea7a3c
parent1a3d71f784d5eb60bc0bb52bf680b19533821a8f
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>
drivers/gpu/drm/exynos/exynos_drm_hdmi.c
drivers/gpu/drm/exynos/exynos_drm_hdmi.h
drivers/gpu/drm/exynos/exynos_hdmi.c
drivers/gpu/drm/exynos/exynos_mixer.c