drm/exynos: add fimd dependency to fimd related encoders
[firefly-linux-kernel-4.4.55.git] / drivers / gpu / drm / exynos / Kconfig
index 5bf5bca94f562850ad96a9dcb654766d7632999a..1b1b3790b8c5cbe6abab039a25f2c4ec38eaaf14 100644 (file)
@@ -33,7 +33,7 @@ config DRM_EXYNOS_FIMD
 
 config DRM_EXYNOS_DPI
        bool "EXYNOS DRM parallel output support"
-       depends on DRM_EXYNOS
+       depends on DRM_EXYNOS_FIMD
        select DRM_PANEL
        default n
        help
@@ -41,7 +41,7 @@ config DRM_EXYNOS_DPI
 
 config DRM_EXYNOS_DSI
        bool "EXYNOS DRM MIPI-DSI driver support"
-       depends on DRM_EXYNOS
+       depends on DRM_EXYNOS_FIMD
        select DRM_MIPI_DSI
        select DRM_PANEL
        default n
@@ -50,7 +50,7 @@ config DRM_EXYNOS_DSI
 
 config DRM_EXYNOS_DP
        bool "EXYNOS DRM DP driver support"
-       depends on DRM_EXYNOS && ARCH_EXYNOS
+       depends on DRM_EXYNOS_FIMD && ARCH_EXYNOS && (DRM_PTN3460=n || DRM_PTN3460=y || DRM_PTN3460=DRM_EXYNOS)
        default DRM_EXYNOS
        help
          This enables support for DP device.