summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2015-01-20 15:31:14 +0100
committerInki Dae <inki.dae@samsung.com>2015-02-07 16:38:40 +0900
commit8dcc14f82f06fce997e35f4c77ced9d4ed192f31 (patch)
treec06144b47a824c887923df7248d95e1db6193c9b /drivers/gpu
parent04427ec57480d83f98d8a8a326b831dfa474f297 (diff)
downloadop-kernel-dev-8dcc14f82f06fce997e35f4c77ced9d4ed192f31.zip
op-kernel-dev-8dcc14f82f06fce997e35f4c77ced9d4ed192f31.tar.gz
drm/exynos: IOMMU support should not be selectable by user
If system provides IOMMU feature, Exynos DRM should use it by default, because the Exynos DRM subdrivers don't work correctly when Exynos IOMMU driver has been enabled and no IOMMU support has been compiled into Exynos DRM driver. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/exynos/Kconfig5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/gpu/drm/exynos/Kconfig b/drivers/gpu/drm/exynos/Kconfig
index c072999..7cf0b46 100644
--- a/drivers/gpu/drm/exynos/Kconfig
+++ b/drivers/gpu/drm/exynos/Kconfig
@@ -12,10 +12,9 @@ config DRM_EXYNOS
If M is selected the module will be called exynosdrm.
config DRM_EXYNOS_IOMMU
- bool "EXYNOS DRM IOMMU Support"
+ bool
depends on DRM_EXYNOS && EXYNOS_IOMMU && ARM_DMA_USE_IOMMU
- help
- Choose this option if you want to use IOMMU feature for DRM.
+ default y
config DRM_EXYNOS_DMABUF
bool "EXYNOS DRM DMABUF"
OpenPOWER on IntegriCloud