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

login
register
mail settings
Submitter Inki Dae
Date June 3, 2015, 2:41 a.m.
Message ID <1433299280-7843-1-git-send-email-inki.dae@samsung.com>
Download mbox | patch
Permalink /patch/6531961/
State New
Headers show

Comments

Inki Dae - June 3, 2015, 2:41 a.m.
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(-)
Gustavo F. Padovan - June 3, 2015, 1:23 p.m.
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 --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.