linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Joerg Roedel <joro@8bytes.org>
To: iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org
Cc: Rob Clark <robdclark@gmail.com>
Subject: Re: [PATCH] drm/msm: Fix link error with !MSM_IOMMU
Date: Tue, 7 Jan 2014 23:53:45 +0100	[thread overview]
Message-ID: <20140107225345.GE29041@8bytes.org> (raw)
In-Reply-To: <1389134846-1000-1-git-send-email-joro@8bytes.org>

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



  reply	other threads:[~2014-01-07 22:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-07 22:47 [PATCH] drm/msm: Fix link error with !MSM_IOMMU Joerg Roedel
2014-01-07 22:53 ` Joerg Roedel [this message]
2014-01-08 13:23   ` Rob Clark
2014-01-08 13:35     ` Joerg Roedel
2014-01-08 19:53       ` Rob Clark

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140107225345.GE29041@8bytes.org \
    --to=joro@8bytes.org \
    --cc=iommu@lists.linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robdclark@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).