Commit ea977646 authored by Andrzej Hajda's avatar Andrzej Hajda Committed by Inki Dae

drm/exynos: re-arrange Kconfig entries

Exynos DRM driver have quite big number of components and options.
The patch re-arranges them into three logical groups:
- CRTCs,
- Encoders and Bridges,
- Sub-drivers.
It should make driver options more clear.
Signed-off-by: default avatarAndrzej Hajda <a.hajda@samsung.com>
Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
parent dba6c528
...@@ -18,6 +18,8 @@ config DRM_EXYNOS_IOMMU ...@@ -18,6 +18,8 @@ config DRM_EXYNOS_IOMMU
depends on EXYNOS_IOMMU && ARM_DMA_USE_IOMMU depends on EXYNOS_IOMMU && ARM_DMA_USE_IOMMU
default y default y
comment "CRTCs"
config DRM_EXYNOS_FIMD config DRM_EXYNOS_FIMD
bool "Exynos DRM FIMD" bool "Exynos DRM FIMD"
depends on !FB_S3C depends on !FB_S3C
...@@ -38,9 +40,22 @@ config DRM_EXYNOS7_DECON ...@@ -38,9 +40,22 @@ config DRM_EXYNOS7_DECON
help help
Choose this option if you want to use Exynos DECON for DRM. Choose this option if you want to use Exynos DECON for DRM.
config DRM_EXYNOS_MIXER
bool "Exynos DRM Mixer"
depends on !VIDEO_SAMSUNG_S5P_TV
help
Choose this option if you want to use Exynos Mixer for DRM.
config DRM_EXYNOS_VIDI
bool "Exynos DRM Virtual Display"
help
Choose this option if you want to use Exynos VIDI for DRM.
comment "Encoders and Bridges"
config DRM_EXYNOS_DPI config DRM_EXYNOS_DPI
bool "EXYNOS DRM parallel output support" bool "EXYNOS DRM parallel output support"
depends on DRM_EXYNOS_FIMD || DRM_EXYNOS7_DECON depends on DRM_EXYNOS_FIMD
select DRM_PANEL select DRM_PANEL
default n default n
help help
...@@ -63,22 +78,19 @@ config DRM_EXYNOS_DP ...@@ -63,22 +78,19 @@ config DRM_EXYNOS_DP
help help
This enables support for DP device. This enables support for DP device.
config DRM_EXYNOS_MIXER
bool "Exynos DRM Mixer"
depends on !VIDEO_SAMSUNG_S5P_TV
help
Choose this option if you want to use Exynos Mixer for DRM.
config DRM_EXYNOS_HDMI config DRM_EXYNOS_HDMI
bool "Exynos DRM HDMI" bool "Exynos DRM HDMI"
depends on !VIDEO_SAMSUNG_S5P_TV && (DRM_EXYNOS_MIXER || DRM_EXYNOS5433_DECON) depends on !VIDEO_SAMSUNG_S5P_TV && (DRM_EXYNOS_MIXER || DRM_EXYNOS5433_DECON)
help help
Choose this option if you want to use Exynos HDMI for DRM. Choose this option if you want to use Exynos HDMI for DRM.
config DRM_EXYNOS_VIDI config DRM_EXYNOS_MIC
bool "Exynos DRM Virtual Display" bool "Exynos DRM MIC"
depends on DRM_EXYNOS5433_DECON
help help
Choose this option if you want to use Exynos VIDI for DRM. Choose this option if you want to use Exynos MIC for DRM.
comment "Sub-drivers"
config DRM_EXYNOS_G2D config DRM_EXYNOS_G2D
bool "Exynos DRM G2D" bool "Exynos DRM G2D"
...@@ -110,10 +122,4 @@ config DRM_EXYNOS_GSC ...@@ -110,10 +122,4 @@ config DRM_EXYNOS_GSC
help help
Choose this option if you want to use Exynos GSC for DRM. Choose this option if you want to use Exynos GSC for DRM.
config DRM_EXYNOS_MIC
bool "Exynos DRM MIC"
depends on DRM_EXYNOS5433_DECON
help
Choose this option if you want to use Exynos MIC for DRM.
endif endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment