All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/msm: Fix link error with !MSM_IOMMU
@ 2014-01-07 22:47 ` Joerg Roedel
  0 siblings, 0 replies; 10+ messages in thread
From: Joerg Roedel @ 2014-01-07 22:47 UTC (permalink / raw)
  To: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA
  Cc: Rob Clark

The DRM driver for MSM depends on symbols from the MSM
IOMMU driver. Add this dependency to the Kconfig file.

Fixes this comile error:

  Kernel: arch/arm/boot/zImage is ready
  ERROR: "msm_iommu_get_ctx" [drivers/gpu/drm/msm/msm.ko]
  undefined!
  make[2]: *** [__modpost] Error 1

Cc: Rob Clark <robdclark-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Signed-off-by: Joerg Roedel <joro-zLv9SwRftAIdnm+yROfE0A@public.gmane.org>
---
 drivers/gpu/drm/msm/Kconfig |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/msm/Kconfig b/drivers/gpu/drm/msm/Kconfig
index f39ab75..d3de8e1 100644
--- a/drivers/gpu/drm/msm/Kconfig
+++ b/drivers/gpu/drm/msm/Kconfig
@@ -4,6 +4,7 @@ config DRM_MSM
 	depends on DRM
 	depends on ARCH_MSM
 	depends on ARCH_MSM8960
+	depends on MSM_IOMMU
 	select DRM_KMS_HELPER
 	select SHMEM
 	select TMPFS
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-01-08 19:53 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-07 22:47 [PATCH] drm/msm: Fix link error with !MSM_IOMMU Joerg Roedel
2014-01-07 22:47 ` Joerg Roedel
     [not found] ` <1389134846-1000-1-git-send-email-joro-zLv9SwRftAIdnm+yROfE0A@public.gmane.org>
2014-01-07 22:53   ` Joerg Roedel
2014-01-07 22:53     ` Joerg Roedel
     [not found]     ` <20140107225345.GE29041-zLv9SwRftAIdnm+yROfE0A@public.gmane.org>
2014-01-08 13:23       ` Rob Clark
2014-01-08 13:23         ` Rob Clark
     [not found]         ` <CAF6AEGtHR9-oy+xaZM2bbJHnqhrwHiZeAC+asc7+Ds0x_hJeNQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-01-08 13:35           ` Joerg Roedel
2014-01-08 13:35             ` Joerg Roedel
     [not found]             ` <20140108133514.GG29041-zLv9SwRftAIdnm+yROfE0A@public.gmane.org>
2014-01-08 19:53               ` Rob Clark
2014-01-08 19:53                 ` Rob Clark

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.