All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v17 5/6] davinci vpbe: Build infrastructure for VPBE driver
@ 2011-05-20 13:48 Manjunath Hadli
  2011-05-20 14:32 ` Sergei Shtylyov
  0 siblings, 1 reply; 4+ messages in thread
From: Manjunath Hadli @ 2011-05-20 13:48 UTC (permalink / raw)
  To: LMML; +Cc: dlos, Manjunath Hadli

This patch adds the build infra-structure for Davinci
VPBE dislay driver.

Signed-off-by: Manjunath Hadli <manjunath.hadli@ti.com>
Acked-by: Muralidharan Karicheri <m-karicheri2@ti.com>
Acked-by: Hans Verkuil <hverkuil@xs4all.nl>
---
 drivers/media/video/davinci/Kconfig  |   22 ++++++++++++++++++++++
 drivers/media/video/davinci/Makefile |    2 ++
 2 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/drivers/media/video/davinci/Kconfig b/drivers/media/video/davinci/Kconfig
index 6b19540..a7f11e7 100644
--- a/drivers/media/video/davinci/Kconfig
+++ b/drivers/media/video/davinci/Kconfig
@@ -91,3 +91,25 @@ config VIDEO_ISIF
 
 	   To compile this driver as a module, choose M here: the
 	   module will be called vpfe.
+
+config VIDEO_DM644X_VPBE
+	tristate "DM644X VPBE HW module"
+	select VIDEO_VPSS_SYSTEM
+	select VIDEOBUF_DMA_CONTIG
+	help
+	    Enables VPBE modules used for display on a DM644x
+	    SoC.
+
+	    To compile this driver as a module, choose M here: the
+	    module will be called vpbe.
+
+
+config VIDEO_VPBE_DISPLAY
+	tristate "VPBE V4L2 Display driver"
+	select VIDEO_DM644X_VPBE
+	default y
+	help
+	    Enables VPBE V4L2 Display driver on a DMXXX device
+
+	    To compile this driver as a module, choose M here: the
+	    module will be called vpbe_display.
diff --git a/drivers/media/video/davinci/Makefile b/drivers/media/video/davinci/Makefile
index a379557..ae7dafb 100644
--- a/drivers/media/video/davinci/Makefile
+++ b/drivers/media/video/davinci/Makefile
@@ -16,3 +16,5 @@ obj-$(CONFIG_VIDEO_VPFE_CAPTURE) += vpfe_capture.o
 obj-$(CONFIG_VIDEO_DM6446_CCDC) += dm644x_ccdc.o
 obj-$(CONFIG_VIDEO_DM355_CCDC) += dm355_ccdc.o
 obj-$(CONFIG_VIDEO_ISIF) += isif.o
+obj-$(CONFIG_VIDEO_DM644X_VPBE) += vpbe.o vpbe_osd.o vpbe_venc.o
+obj-$(CONFIG_VIDEO_VPBE_DISPLAY) += vpbe_display.o
-- 
1.6.2.4


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

* Re: [PATCH v17 5/6] davinci vpbe: Build infrastructure for VPBE driver
  2011-05-20 13:48 [PATCH v17 5/6] davinci vpbe: Build infrastructure for VPBE driver Manjunath Hadli
@ 2011-05-20 14:32 ` Sergei Shtylyov
  2011-05-23  8:28   ` Nori, Sekhar
  0 siblings, 1 reply; 4+ messages in thread
From: Sergei Shtylyov @ 2011-05-20 14:32 UTC (permalink / raw)
  To: Manjunath Hadli; +Cc: LMML, dlos

Hello.

Manjunath Hadli wrote:

> This patch adds the build infra-structure for Davinci
> VPBE dislay driver.

> Signed-off-by: Manjunath Hadli <manjunath.hadli@ti.com>
> Acked-by: Muralidharan Karicheri <m-karicheri2@ti.com>
> Acked-by: Hans Verkuil <hverkuil@xs4all.nl>
[...]

> diff --git a/drivers/media/video/davinci/Kconfig b/drivers/media/video/davinci/Kconfig
> index 6b19540..a7f11e7 100644
> --- a/drivers/media/video/davinci/Kconfig
> +++ b/drivers/media/video/davinci/Kconfig
> @@ -91,3 +91,25 @@ config VIDEO_ISIF
>  
>  	   To compile this driver as a module, choose M here: the
>  	   module will be called vpfe.
> +
> +config VIDEO_DM644X_VPBE
> +	tristate "DM644X VPBE HW module"

    BTW, as this seems DM644x specific, shouldn't this depend on 
CONFIG_ARCH_DAVINCI_DM644x?

> +	select VIDEO_VPSS_SYSTEM
> +	select VIDEOBUF_DMA_CONTIG
> +	help
> +	    Enables VPBE modules used for display on a DM644x
> +	    SoC.
> +
> +	    To compile this driver as a module, choose M here: the
> +	    module will be called vpbe.
> +
> +
> +config VIDEO_VPBE_DISPLAY
> +	tristate "VPBE V4L2 Display driver"
> +	select VIDEO_DM644X_VPBE

    Or this one, if it selects VIDEO_DM644X_VPBE?

> +	default y

    Hm, "y" shouldn't be the default.

WBR, Sergei

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

* RE: [PATCH v17 5/6] davinci vpbe: Build infrastructure for VPBE driver
  2011-05-20 14:32 ` Sergei Shtylyov
@ 2011-05-23  8:28   ` Nori, Sekhar
  2011-05-24 12:59     ` Hadli, Manjunath
  0 siblings, 1 reply; 4+ messages in thread
From: Nori, Sekhar @ 2011-05-23  8:28 UTC (permalink / raw)
  To: Sergei Shtylyov, Hadli, Manjunath; +Cc: dlos, LMML

On Fri, May 20, 2011 at 20:02:08, Sergei Shtylyov wrote:
> Hello.
> 
> Manjunath Hadli wrote:
> 
> > This patch adds the build infra-structure for Davinci
> > VPBE dislay driver.
> 
> > Signed-off-by: Manjunath Hadli <manjunath.hadli@ti.com>
> > Acked-by: Muralidharan Karicheri <m-karicheri2@ti.com>
> > Acked-by: Hans Verkuil <hverkuil@xs4all.nl>
> [...]
> 
> > diff --git a/drivers/media/video/davinci/Kconfig b/drivers/media/video/davinci/Kconfig
> > index 6b19540..a7f11e7 100644
> > --- a/drivers/media/video/davinci/Kconfig
> > +++ b/drivers/media/video/davinci/Kconfig
> > @@ -91,3 +91,25 @@ config VIDEO_ISIF
> >  
> >  	   To compile this driver as a module, choose M here: the
> >  	   module will be called vpfe.
> > +
> > +config VIDEO_DM644X_VPBE
> > +	tristate "DM644X VPBE HW module"
> 
>     BTW, as this seems DM644x specific, shouldn't this depend on 
> CONFIG_ARCH_DAVINCI_DM644x?

Since VENC/OSD etc are also applicable to other
DaVinci devices, this KConfig entry should probably
be split to refer to them individually and in a generic
way. "depends on" can then be used to make sure only
the relevant ones show up.

Thanks,
Sekhar


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

* RE: [PATCH v17 5/6] davinci vpbe: Build infrastructure for VPBE driver
  2011-05-23  8:28   ` Nori, Sekhar
@ 2011-05-24 12:59     ` Hadli, Manjunath
  0 siblings, 0 replies; 4+ messages in thread
From: Hadli, Manjunath @ 2011-05-24 12:59 UTC (permalink / raw)
  To: Nori, Sekhar, Sergei Shtylyov; +Cc: dlos, LMML

On Mon, May 23, 2011 at 13:58:26, Nori, Sekhar wrote:
> On Fri, May 20, 2011 at 20:02:08, Sergei Shtylyov wrote:
> > Hello.
> > 
> > Manjunath Hadli wrote:
> > 
> > > This patch adds the build infra-structure for Davinci VPBE dislay 
> > > driver.
> > 
> > > Signed-off-by: Manjunath Hadli <manjunath.hadli@ti.com>
> > > Acked-by: Muralidharan Karicheri <m-karicheri2@ti.com>
> > > Acked-by: Hans Verkuil <hverkuil@xs4all.nl>
> > [...]
> > 
> > > diff --git a/drivers/media/video/davinci/Kconfig 
> > > b/drivers/media/video/davinci/Kconfig
> > > index 6b19540..a7f11e7 100644
> > > --- a/drivers/media/video/davinci/Kconfig
> > > +++ b/drivers/media/video/davinci/Kconfig
> > > @@ -91,3 +91,25 @@ config VIDEO_ISIF
> > >  
> > >  	   To compile this driver as a module, choose M here: the
> > >  	   module will be called vpfe.
> > > +
> > > +config VIDEO_DM644X_VPBE
> > > +	tristate "DM644X VPBE HW module"
> > 
> >     BTW, as this seems DM644x specific, shouldn't this depend on 
> > CONFIG_ARCH_DAVINCI_DM644x?
> 
> Since VENC/OSD etc are also applicable to other DaVinci devices, this KConfig entry should probably be split to refer to them individually and in a generic way. "depends on" can then be used to make sure only the relevant ones show up.

Both venc and osd have to be used together always, so might not make a good idea to split. However, I will add a dependency on DM644x, and include others with appropriate patch sets.

> 
> Thanks,
> Sekhar
> 
> 


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

end of thread, other threads:[~2011-05-24 12:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-20 13:48 [PATCH v17 5/6] davinci vpbe: Build infrastructure for VPBE driver Manjunath Hadli
2011-05-20 14:32 ` Sergei Shtylyov
2011-05-23  8:28   ` Nori, Sekhar
2011-05-24 12:59     ` Hadli, Manjunath

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.