drm/exynos: add a dependency on FB_S3C to DECON driver
diff mbox

Message ID 1433299280-7843-1-git-send-email-inki.dae@samsung.com
State New
Headers show

Commit Message

Inki Dae June 3, 2015, 2:41 a.m. UTC
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>
---
 drivers/gpu/drm/exynos/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Gustavo Padovan June 3, 2015, 1:23 p.m. UTC | #1
Hi Inki,

2015-06-03 Inki Dae <inki.dae@samsung.com>:

> 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>
> ---
>  drivers/gpu/drm/exynos/Kconfig |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>

	Gustavo

Patch
diff mbox

diff --git a/drivers/gpu/drm/exynos/Kconfig b/drivers/gpu/drm/exynos/Kconfig
index 0a67803..8203283 100644
--- a/drivers/gpu/drm/exynos/Kconfig
+++ b/drivers/gpu/drm/exynos/Kconfig
@@ -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.