diff mbox

drm/exynos: Add dependency for G2D in Kconfig

Message ID 1344926240-3747-1-git-send-email-sachin.kamat@linaro.org
State Accepted
Headers show

Commit Message

Sachin Kamat Aug. 14, 2012, 6:37 a.m. UTC
Select Exynos DRM based G2D only if non-DRM based Exynos G2D driver
is not selected.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 drivers/gpu/drm/exynos/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

대인기/Tizen Platform Lab(SR)/삼성전자 Aug. 22, 2012, 6:18 a.m. UTC | #1
Applied, Thanks.

2012/8/14 Sachin Kamat <sachin.kamat@linaro.org>:
> Select Exynos DRM based G2D only if non-DRM based Exynos G2D driver
> is not selected.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> ---
>  drivers/gpu/drm/exynos/Kconfig |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/gpu/drm/exynos/Kconfig b/drivers/gpu/drm/exynos/Kconfig
> index 7f50967..59a26e5 100644
> --- a/drivers/gpu/drm/exynos/Kconfig
> +++ b/drivers/gpu/drm/exynos/Kconfig
> @@ -36,6 +36,6 @@ config DRM_EXYNOS_VIDI
>
>  config DRM_EXYNOS_G2D
>         bool "Exynos DRM G2D"
> -       depends on DRM_EXYNOS
> +       depends on DRM_EXYNOS && !VIDEO_SAMSUNG_S5P_G2D
>         help
>           Choose this option if you want to use Exynos G2D for DRM.
> --
> 1.7.4.1
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
diff mbox

Patch

diff --git a/drivers/gpu/drm/exynos/Kconfig b/drivers/gpu/drm/exynos/Kconfig
index 7f50967..59a26e5 100644
--- a/drivers/gpu/drm/exynos/Kconfig
+++ b/drivers/gpu/drm/exynos/Kconfig
@@ -36,6 +36,6 @@  config DRM_EXYNOS_VIDI
 
 config DRM_EXYNOS_G2D
 	bool "Exynos DRM G2D"
-	depends on DRM_EXYNOS
+	depends on DRM_EXYNOS && !VIDEO_SAMSUNG_S5P_G2D
 	help
 	  Choose this option if you want to use Exynos G2D for DRM.