Hi Rob,

The patch d795e2c "Adding omap_gpu drm display driver" introduces following compilation warning when the kernel is compiled for x86 (i386_defconfig). Also the kernel compilation is unsuccessful because of calls to omap specific platform header files.

warning: (VIDEO_OMAP2_VOUT && DRM_OMAP) selects OMAP2_DSS which has unmet direct dependencies (HAS_IOMEM && ARCH_OMAP2PLUS)

In my test, following patch fixes this issue.

diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig
index 9c103b2..848312e 100644
--- a/drivers/gpu/drm/Kconfig
+++ b/drivers/gpu/drm/Kconfig
@@ -168,7 +168,7 @@ config DRM_SAVAGE

 config DRM_OMAP
        tristate "OMAP GPU (EXPERIMENTAL)"
-       depends on DRM && !CONFIG_FB_OMAP2
+       depends on DRM && ARCH_OMAP2 && !CONFIG_FB_OMAP2
        select DRM_KMS_HELPER
        select OMAP2_VRAM
        select OMAP2_DSS



--
Tushar Behera

_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to