]> git.baikalelectronics.ru Git - kernel.git/commit
drm/exynos: add drm_iommu_attach_device_if_possible()
authorHyungwon Hwang <human.hwang@samsung.com>
Mon, 22 Jun 2015 10:05:04 +0000 (19:05 +0900)
committerInki Dae <inki.dae@samsung.com>
Mon, 22 Jun 2015 10:05:46 +0000 (19:05 +0900)
commitcf4cb957565509e8539ac8587ea544a9965f0283
treee906df44bda58b6940586e75bce9eee97f258d8a
parent77f8d3323954312517675ff12ff74ef4cc581395
drm/exynos: add drm_iommu_attach_device_if_possible()

Every CRTC drivers in Exynos DRM implements the code which checks
whether IOMMU is supported or not, and if supported enable it.
Making new helper for it generalize each CRTC drivers.

Signed-off-by: Hyungwon Hwang <human.hwang@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos7_drm_decon.c
drivers/gpu/drm/exynos/exynos_drm_drv.h
drivers/gpu/drm/exynos/exynos_drm_fimd.c
drivers/gpu/drm/exynos/exynos_drm_iommu.c
drivers/gpu/drm/exynos/exynos_drm_iommu.h
drivers/gpu/drm/exynos/exynos_mixer.c