diff options
Diffstat (limited to 'drivers/gpu/drm/exynos/Kconfig')
| -rw-r--r-- | drivers/gpu/drm/exynos/Kconfig | 133 |
1 files changed, 94 insertions, 39 deletions
diff --git a/drivers/gpu/drm/exynos/Kconfig b/drivers/gpu/drm/exynos/Kconfig index 772c62a6e2ac..0d13828e7d9e 100644 --- a/drivers/gpu/drm/exynos/Kconfig +++ b/drivers/gpu/drm/exynos/Kconfig @@ -1,73 +1,128 @@ +# SPDX-License-Identifier: GPL-2.0-only config DRM_EXYNOS - tristate "DRM Support for Samsung SoC EXYNOS Series" - depends on DRM && (PLAT_SAMSUNG || ARCH_MULTIPLATFORM) + tristate "DRM Support for Samsung SoC Exynos Series" + depends on OF && DRM && COMMON_CLK + depends on ARCH_S3C64XX || ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST + depends on MMU + select DRM_CLIENT_SELECTION + select DRM_DISPLAY_HELPER if DRM_EXYNOS_DP select DRM_KMS_HELPER - select FB_CFB_FILLRECT - select FB_CFB_COPYAREA - select FB_CFB_IMAGEBLIT - select VT_HW_CONSOLE_BINDING if FRAMEBUFFER_CONSOLE + select VIDEOMODE_HELPERS + select FB_DMAMEM_HELPERS if DRM_FBDEV_EMULATION + select SND_SOC_HDMI_CODEC if SND_SOC help - Choose this option if you have a Samsung SoC EXYNOS chipset. + Choose this option if you have a Samsung SoC Exynos chipset. If M is selected the module will be called exynosdrm. -config DRM_EXYNOS_IOMMU - bool "EXYNOS DRM IOMMU Support" - depends on DRM_EXYNOS && EXYNOS_IOMMU && ARM_DMA_USE_IOMMU - help - Choose this option if you want to use IOMMU feature for DRM. +if DRM_EXYNOS -config DRM_EXYNOS_DMABUF - bool "EXYNOS DRM DMABUF" - depends on DRM_EXYNOS - help - Choose this option if you want to use DMABUF feature for DRM. +comment "CRTCs" config DRM_EXYNOS_FIMD - bool "Exynos DRM FIMD" - depends on OF && DRM_EXYNOS && !FB_S3C && !ARCH_MULTIPLATFORM - select FB_MODE_HELPERS - select VIDEOMODE_HELPERS + bool "FIMD" + depends on !FB_S3C + select MFD_SYSCON help Choose this option if you want to use Exynos FIMD for DRM. -config DRM_EXYNOS_HDMI - bool "Exynos DRM HDMI" - depends on DRM_EXYNOS && !VIDEO_SAMSUNG_S5P_TV +config DRM_EXYNOS5433_DECON + bool "DECON on Exynos5433" help - Choose this option if you want to use Exynos HDMI for DRM. + Choose this option if you want to use Exynos5433 DECON for DRM. + +config DRM_EXYNOS7_DECON + bool "DECON on Exynos7" + depends on !FB_S3C + help + Choose this option if you want to use Exynos DECON for DRM. + +config DRM_EXYNOS_MIXER + bool "Mixer" + help + Choose this option if you want to use Exynos Mixer for DRM. config DRM_EXYNOS_VIDI - bool "Exynos DRM Virtual Display" - depends on DRM_EXYNOS + bool "Virtual Display" help Choose this option if you want to use Exynos VIDI for DRM. +comment "Encoders and Bridges" + +config DRM_EXYNOS_DPI + bool "Parallel output" + depends on DRM_EXYNOS_FIMD + select DRM_PANEL + default n + help + This enables support for Exynos parallel output. + +config DRM_EXYNOS_DSI + bool "MIPI-DSI host" + depends on DRM_EXYNOS_FIMD || DRM_EXYNOS5433_DECON || DRM_EXYNOS7_DECON + select DRM_MIPI_DSI + select DRM_PANEL + select DRM_SAMSUNG_DSIM + default n + help + This enables support for Exynos MIPI-DSI device. + +config DRM_EXYNOS_DP + bool "Exynos specific extensions for Analogix DP driver" + depends on DRM_EXYNOS_FIMD || DRM_EXYNOS7_DECON + select DRM_ANALOGIX_DP + select DRM_DISPLAY_DP_HELPER + default DRM_EXYNOS + select DRM_PANEL + help + This enables support for DP device. + +config DRM_EXYNOS_HDMI + bool "HDMI" + depends on DRM_EXYNOS_MIXER || DRM_EXYNOS5433_DECON + select CEC_CORE if CEC_NOTIFIER + help + Choose this option if you want to use Exynos HDMI for DRM. + +config DRM_EXYNOS_MIC + bool "Mobile Image Compressor" + depends on DRM_EXYNOS5433_DECON + help + Choose this option if you want to use Exynos MIC for DRM. + +comment "Sub-drivers" + config DRM_EXYNOS_G2D - bool "Exynos DRM G2D" - depends on DRM_EXYNOS && !VIDEO_SAMSUNG_S5P_G2D + bool "G2D" + depends on VIDEO_SAMSUNG_S5P_G2D=n || COMPILE_TEST help Choose this option if you want to use Exynos G2D for DRM. config DRM_EXYNOS_IPP - bool "Exynos DRM IPP" - depends on DRM_EXYNOS && !ARCH_MULTIPLATFORM - help - Choose this option if you want to use IPP feature for DRM. + bool config DRM_EXYNOS_FIMC - bool "Exynos DRM FIMC" - depends on DRM_EXYNOS_IPP && MFD_SYSCON && OF + bool "FIMC" + select DRM_EXYNOS_IPP help Choose this option if you want to use Exynos FIMC for DRM. config DRM_EXYNOS_ROTATOR - bool "Exynos DRM Rotator" - depends on DRM_EXYNOS_IPP + bool "Rotator" + select DRM_EXYNOS_IPP help Choose this option if you want to use Exynos Rotator for DRM. +config DRM_EXYNOS_SCALER + bool "Scaler" + select DRM_EXYNOS_IPP + help + Choose this option if you want to use Exynos Scaler for DRM. + config DRM_EXYNOS_GSC - bool "Exynos DRM GSC" - depends on DRM_EXYNOS_IPP && ARCH_EXYNOS5 + bool "GScaler" + depends on VIDEO_SAMSUNG_EXYNOS_GSC=n || COMPILE_TEST + select DRM_EXYNOS_IPP help Choose this option if you want to use Exynos GSC for DRM. + +endif |
