All of lore.kernel.org
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Jean Delvare <jdelvare@suse.de>
Cc: dri-devel@lists.freedesktop.org
Subject: Re: [PATCH] drm/rcar-du: Add run-time dependencies
Date: Mon, 26 May 2014 14:50:57 +0200	[thread overview]
Message-ID: <18685192.JDnqQx3NDs@avalon> (raw)
In-Reply-To: <20140526142130.43b12cc9@endymion.delvare>

Hi Jean,

On Monday 26 May 2014 14:21:30 Jean Delvare wrote:
> On Mon, 26 May 2014 13:36:11 +0200, Laurent Pinchart wrote:
> > On Monday 26 May 2014 13:01:35 Jean Delvare wrote:
> > > The Renesas R-Car Display Unit driver is only useful on shmobile
> > > unless build testing. The LVDS output is useful on an even more
> > > reduced hardware set.
> > > 
> > > Signed-off-by: Jean Delvare <jdelvare@suse.de>
> > > Cc: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
> > > Cc: David Airlie <airlied@linux.ie>
> > > ---
> > > 
> > >  drivers/gpu/drm/rcar-du/Kconfig |    2 ++
> > >  1 file changed, 2 insertions(+)
> > > 
> > > --- linux-3.15-rc6.orig/drivers/gpu/drm/rcar-du/Kconfig	2014-03-31
> > > 05:40:15.000000000 +0200 +++
> > > linux-3.15-rc6/drivers/gpu/drm/rcar-du/Kconfig	2014-05-23
> > > 18:03:16.440036942 +0200 @@ -1,6 +1,7 @@
> > >  config DRM_RCAR_DU
> > >  	tristate "DRM Support for R-Car Display Unit"
> > >  	depends on DRM && ARM
> > 
> > Have you checked whether ARM is needed for compilation ? If not you could
> > drop it.
> 
> It does depend on ARM indirectly, because it selects DRM_GEM_CMA_HELPER
> which builds code that calls dma_alloc_writecombine(), which in turn is
> only defined on arm (and avr32.) That's why I left the build-time
> dependency on ARM.

In that case,

Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

> > > +	depends on ARCH_SHMOBILE || COMPILE_TEST
> > >  	select DRM_KMS_HELPER
> > >  	select DRM_KMS_CMA_HELPER
> > >  	select DRM_GEM_CMA_HELPER
> > > @@ -12,6 +13,7 @@ config DRM_RCAR_DU
> > >  config DRM_RCAR_LVDS
> > >  	bool "R-Car DU LVDS Encoder Support"
> > >  	depends on DRM_RCAR_DU
> > > +	depends on ARCH_R8A7790 || ARCH_R8A7791 || COMPILE_TEST
> > >  	help
> > >  	  Enable support the R-Car Display Unit embedded LVDS encoders
> > >  	  (currently only on R8A7790).

-- 
Regards,

Laurent Pinchart

      reply	other threads:[~2014-05-26 12:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-26 11:01 [PATCH] drm/rcar-du: Add run-time dependencies Jean Delvare
2014-05-26 11:36 ` Laurent Pinchart
2014-05-26 12:21   ` Jean Delvare
2014-05-26 12:50     ` Laurent Pinchart [this message]

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=18685192.JDnqQx3NDs@avalon \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=jdelvare@suse.de \
    /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 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.