]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit1055b39facd1bf8f84031a07385f84b46a20540f
treed139201e9880349f39f6435d6cc24cafdbea7a3c
parentbcc5cd1c5fad9b4471aafff0d74d9d0fcde1c27d
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