[PATCH] drm/rcar-du: Add missing dependency on CMA

Mark Brown broonie at kernel.org
Wed Jul 10 03:52:14 PDT 2013


From: Mark Brown <broonie at linaro.org>

The driver uses CMA APIs so won't link if CMA is not being built.

Signed-off-by: Mark Brown <broonie at linaro.org>
---
 drivers/gpu/drm/rcar-du/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/rcar-du/Kconfig b/drivers/gpu/drm/rcar-du/Kconfig
index 72887df..e75575a 100644
--- a/drivers/gpu/drm/rcar-du/Kconfig
+++ b/drivers/gpu/drm/rcar-du/Kconfig
@@ -1,6 +1,6 @@
 config DRM_RCAR_DU
 	tristate "DRM Support for R-Car Display Unit"
-	depends on DRM && ARM
+	depends on DRM && ARM && CMA
 	select DRM_KMS_HELPER
 	select DRM_KMS_CMA_HELPER
 	select DRM_GEM_CMA_HELPER
-- 
1.8.3.2



More information about the dri-devel mailing list