lkml.org 
[lkml]   [2014]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] drm/msm: Fix link error with !MSM_IOMMU
On Tue, Jan 07, 2014 at 11:47:26PM +0100, Joerg Roedel wrote:
> 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@gmail.com>
> Signed-off-by: Joerg Roedel <joro@8bytes.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

FYI, I put the patch to my arm/msm branch meanwhile to get the build
error fixed. Please let me know when there is another solution merged
and I will drop it.


Joerg




\
 
 \ /
  Last update: 2014-01-08 00:21    [W:0.067 / U:0.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site