mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-31 16:38:12 +00:00
b26c04f47c
The following configuration options combination: CONFIG_DRM_EXYNOS_DP=y CONFIG_DRM_PTN3460=m currently leads to the following linker failure: drivers/built-in.o: In function `exynos_drm_attach_lcd_bridge': .../drivers/gpu/drm/exynos/exynos_dp_core.c:1004: undefined reference to `ptn3460_init' This is because ptn3460_init can't be implemented in a module while its caller is built into the kernel. So add the proper dependency in Kconfig so that the above can't happen. I moved DRM_PTN3460 earlier in Kconfig, next to the I2C helper module section, so that the user has a chance to select it before moving to the Exynos-specific section. IMHO the proper way to solve the problem would be to turn ptn3460 into a clean I2C driver, similar to the other I2C helper chip drivers. It's the only way to not sink into impossible-to-guess dependencies. Then ptn3460 could even be moved together with the other I2C helper chip drivers. Signed-off-by: Jean Delvare <jdelvare@suse.de> Reviewed-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
98 lines
2.6 KiB
Text
98 lines
2.6 KiB
Text
config DRM_EXYNOS
|
|
tristate "DRM Support for Samsung SoC EXYNOS Series"
|
|
depends on OF && DRM && (PLAT_SAMSUNG || ARCH_MULTIPLATFORM)
|
|
select DRM_KMS_HELPER
|
|
select DRM_KMS_FB_HELPER
|
|
select FB_CFB_FILLRECT
|
|
select FB_CFB_COPYAREA
|
|
select FB_CFB_IMAGEBLIT
|
|
select VT_HW_CONSOLE_BINDING if FRAMEBUFFER_CONSOLE
|
|
select VIDEOMODE_HELPERS
|
|
help
|
|
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.
|
|
|
|
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.
|
|
|
|
config DRM_EXYNOS_FIMD
|
|
bool "Exynos DRM FIMD"
|
|
depends on DRM_EXYNOS && !FB_S3C && !ARCH_MULTIPLATFORM
|
|
select FB_MODE_HELPERS
|
|
help
|
|
Choose this option if you want to use Exynos FIMD for DRM.
|
|
|
|
config DRM_EXYNOS_DPI
|
|
bool "EXYNOS DRM parallel output support"
|
|
depends on DRM_EXYNOS
|
|
select DRM_PANEL
|
|
default n
|
|
help
|
|
This enables support for Exynos parallel output.
|
|
|
|
config DRM_EXYNOS_DSI
|
|
bool "EXYNOS DRM MIPI-DSI driver support"
|
|
depends on DRM_EXYNOS
|
|
select DRM_MIPI_DSI
|
|
select DRM_PANEL
|
|
default n
|
|
help
|
|
This enables support for Exynos MIPI-DSI device.
|
|
|
|
config DRM_EXYNOS_DP
|
|
bool "EXYNOS DRM DP driver support"
|
|
depends on DRM_EXYNOS && ARCH_EXYNOS && (DRM_PTN3460=n || DRM_PTN3460=y || DRM_PTN3460=DRM_EXYNOS)
|
|
default DRM_EXYNOS
|
|
help
|
|
This enables support for DP device.
|
|
|
|
config DRM_EXYNOS_HDMI
|
|
bool "Exynos DRM HDMI"
|
|
depends on DRM_EXYNOS && !VIDEO_SAMSUNG_S5P_TV
|
|
help
|
|
Choose this option if you want to use Exynos HDMI for DRM.
|
|
|
|
config DRM_EXYNOS_VIDI
|
|
bool "Exynos DRM Virtual Display"
|
|
depends on DRM_EXYNOS
|
|
help
|
|
Choose this option if you want to use Exynos VIDI for DRM.
|
|
|
|
config DRM_EXYNOS_G2D
|
|
bool "Exynos DRM G2D"
|
|
depends on DRM_EXYNOS && !VIDEO_SAMSUNG_S5P_G2D
|
|
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
|
|
help
|
|
Choose this option if you want to use IPP feature for DRM.
|
|
|
|
config DRM_EXYNOS_FIMC
|
|
bool "Exynos DRM FIMC"
|
|
depends on DRM_EXYNOS_IPP && MFD_SYSCON
|
|
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
|
|
help
|
|
Choose this option if you want to use Exynos Rotator for DRM.
|
|
|
|
config DRM_EXYNOS_GSC
|
|
bool "Exynos DRM GSC"
|
|
depends on DRM_EXYNOS_IPP && ARCH_EXYNOS5 && !ARCH_MULTIPLATFORM
|
|
help
|
|
Choose this option if you want to use Exynos GSC for DRM.
|