drm/exynos: add a dependency on FB_S3C to DECON driver
authorInki Dae <inki.dae@samsung.com>
Wed, 3 Jun 2015 02:31:23 +0000 (11:31 +0900)
committerInki Dae <daeinki@gmail.com>
Fri, 19 Jun 2015 15:32:54 +0000 (00:32 +0900)
This patch makes one of Linux framebuffer and DRM CRTC drivers
to be enabled.

Display controllers, FIMD and DECON, can be controlled by Linux
framebuffer or DRM CRTC drivers so only one of them should be
enabled.

Signed-off-by: Inki Dae <inki.dae@samsung.com>
Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
drivers/gpu/drm/exynos/Kconfig

index 0a6780367d28689f907a4b750f1ee5fc2ef403d9..8203283dc3c25c45076703f105b18f0a7b4f5e31 100644 (file)
@@ -26,7 +26,7 @@ config DRM_EXYNOS_FIMD
 
 config DRM_EXYNOS7_DECON
        bool "Exynos DRM DECON"
-       depends on DRM_EXYNOS
+       depends on DRM_EXYNOS && !FB_S3C
        select FB_MODE_HELPERS
        help
          Choose this option if you want to use Exynos DECON for DRM.