Re: [PATCHv10 21/26] v4l: vb2-dma-contig: add reference counting for a device from allocator context

2012-10-11 Thread Tomasz Stanislawski
Hi Laurent, Thank your your review. On 10/11/2012 11:49 PM, Laurent Pinchart wrote: > Hi Tomasz, > > Thanks for the patch. > > On Wednesday 10 October 2012 16:46:40 Tomasz Stanislawski wrote: >> This patch adds taking reference to the device for MMAP buffers. >> >> Such buffers, may be exported

Re: Proposal for the addition of a binary V4L2 control type

2012-10-11 Thread Hans Verkuil
On Fri October 12 2012 00:41:37 Alain VOLMAT wrote: > Hi Laurent, > > > -Original Message- > > From: Laurent Pinchart [mailto:laurent.pinch...@ideasonboard.com] > > Sent: vendredi 12 octobre 2012 00:22 > > To: Alain VOLMAT > > Cc: Linux Media Mailing List (linux-media@vger.kernel.org) > >

Re: [PATCH v2 1/5] [media] omap3isp: Fix compilation error in ispreg.h

2012-10-11 Thread Laurent Pinchart
Hi Mauro, On Sunday 07 October 2012 10:17:18 Mauro Carvalho Chehab wrote: > Em Tue, 2 Oct 2012 09:31:58 -0700 Tony Lindgren escreveu: > > * Ido Yariv [121001 15:48]: > > > Commit c49f34bc ("ARM: OMAP2+ Move SoC specific headers to be local to > > > mach-omap2") moved omap34xx.h to mach-omap2. Thi

Re: [PATCH 2/2] [media] winbond: remove space from driver name

2012-10-11 Thread David Härdeman
On Fri, Sep 28, 2012 at 09:44:33AM +0100, Sean Young wrote: >[root@pequod ~]# udevadm test /sys/class/rc/rc0 >-snip- >ACTION=add >DEVPATH=/devices/pnp0/00:04/rc/rc0 >DRV_NAME=Winbond CIR >NAME=rc-rc6-mce >SUBSYSTEM=rc >UDEV_LOG=6 >USEC_INITIALIZED=88135858 >run: '/usr/bin/ir-keytable -a /etc/rc_map

Re: Proposal for the addition of a binary V4L2 control type

2012-10-11 Thread Laurent Pinchart
Hi Alain, On Friday 12 October 2012 00:41:37 Alain VOLMAT wrote: > On Vendredi 12 octobre 2012 00:22 Laurent Pinchart wrote: > > On Thursday 11 October 2012 22:50:29 Alain VOLMAT wrote: > > > Hi guys, > > > > > > In the context of supporting the control of our HDMI-TX via V4L2 in > > > our SetTo

RE: Proposal for the addition of a binary V4L2 control type

2012-10-11 Thread Alain VOLMAT
Hi Laurent, > -Original Message- > From: Laurent Pinchart [mailto:laurent.pinch...@ideasonboard.com] > Sent: vendredi 12 octobre 2012 00:22 > To: Alain VOLMAT > Cc: Linux Media Mailing List (linux-media@vger.kernel.org) > Subject: Re: Proposal for the addition of a binary V4L2 control type

Re: Multiple Rectangle cropping

2012-10-11 Thread Sakari Ailus
Hi Ricardo, On Thu, Oct 11, 2012 at 12:40:03PM +0200, Ricardo Ribalda Delgado wrote: > I want to port an old driver for an fpga based camera to the new media > infrastructure. > > By reading the doc. I think it has almost all the capabilities needed. > The only one I am missing is the habilty to

Re: Proposal for the addition of a binary V4L2 control type

2012-10-11 Thread Laurent Pinchart
Hi Alain, On Thursday 11 October 2012 22:50:29 Alain VOLMAT wrote: > Hi guys, > > In the context of supporting the control of our HDMI-TX via V4L2 in our > SetTopBox, we are facing interface issue with V4L2 when trying to set some > information from the application into the H/W. > > As an exampl

Re: SoC camera host drivers

2012-10-11 Thread Guennadi Liakhovetski
Hi Dmitry On Thu, 11 Oct 2012, Dmitry Lavnikevich wrote: > Hello! > > I'm trying to implement camera support for my i.MX6 board and cannot > understand a couple of (it seems) simple things according to how it > all must work. > > My camera is mt9m001 and i can perfectly find and use it's camera

Re: Using omap3-isp-live example application on beagleboard with DVI

2012-10-11 Thread Laurent Pinchart
Hi Enric, On Thursday 11 October 2012 10:14:26 Enric Balletbò i Serra wrote: > 2012/10/10 Enric Balletbò i Serra : > > 2012/9/6 John Weber : > >> Hello, > >> > >> My goal is to better understand how to write an application that makes > >> use of the omap3isp and media controller frameworks and v4

Re: [PATCHv10 21/26] v4l: vb2-dma-contig: add reference counting for a device from allocator context

2012-10-11 Thread Laurent Pinchart
Hi Tomasz, Thanks for the patch. On Wednesday 10 October 2012 16:46:40 Tomasz Stanislawski wrote: > This patch adds taking reference to the device for MMAP buffers. > > Such buffers, may be exported using DMABUF mechanism. If the driver that > created a queue is unloaded then the queue is releas

Re: [PATCHv10 20/26] v4l: vb2-dma-contig: add support for DMABUF exporting

2012-10-11 Thread Laurent Pinchart
Hi Tomasz, On Wednesday 10 October 2012 16:46:39 Tomasz Stanislawski wrote: > This patch adds support for exporting a dma-contig buffer using > DMABUF interface. > > Signed-off-by: Tomasz Stanislawski > Signed-off-by: Kyungmin Park > Acked-by: Hans Verkuil Acked-by: Laurent Pinchart > --- >

Re: [PATCHv10 22/26] v4l: vb2-dma-contig: fail if user ptr buffer is not correctly aligned

2012-10-11 Thread Laurent Pinchart
Hi Tomasz, Thanks for the patch. On Wednesday 10 October 2012 16:46:41 Tomasz Stanislawski wrote: > From: Marek Szyprowski > > The DMA transfer must be aligned to a specific value. If userptr is not > aligned to DMA requirements then unexpected corruptions of the memory may > occur before or af

Re: [PATCHv10 23/26] v4l: vb2-dma-contig: align buffer size to PAGE_SIZE

2012-10-11 Thread Laurent Pinchart
Hi Tomasz, On Wednesday 10 October 2012 16:46:42 Tomasz Stanislawski wrote: > Most operations on DMA and DMABUF framework need page > aligned buffers. The comment is a bit misleading, the buffer is already page-aligned (unless I'm mistaken dma_alloc_coherent() returns a page-aligned buffer) but

Proposal for the addition of a binary V4L2 control type

2012-10-11 Thread Alain VOLMAT
Hi guys, In the context of supporting the control of our HDMI-TX via V4L2 in our SetTopBox, we are facing interface issue with V4L2 when trying to set some information from the application into the H/W. As an example, in the HDCP context, an application controlling the HDMI-TX have the possibi

Re: [Linaro-mm-sig] [PATCH] dma-buf: Use EXPORT_SYMBOL

2012-10-11 Thread Dave Airlie
On Thu, Oct 11, 2012 at 9:34 PM, Alan Cox wrote: >> The whole purpose of this API is to let DRM and V4L drivers share buffers for >> zero-copy pipelines. Unfortunately it is a fact that several popular DRM >> drivers >> are closed source. So we have a choice between keeping the export symbols GPL

cron job: media_tree daily build: WARNINGS

2012-10-11 Thread Hans Verkuil
This message is generated daily by a cron job that builds media_tree for the kernels and architectures in the list below. Results of the daily build of media_tree: date:Thu Oct 11 19:00:22 CEST 2012 git hash:d92462401dde1effa04a51d0a15000e6246d2a43 gcc version: i686-linux-gcc (GC

Re: [PATCH 05/14] media: add a V4L2 OF parser

2012-10-11 Thread Sakari Ailus
Hi Guennadi, On Mon, Oct 08, 2012 at 02:23:25PM +0200, Guennadi Liakhovetski wrote: ... > If we do it from the bridge driver, we could install an I2C bus-notifier, > _before_ the subdevice driver is probed, i.e. upon the > BUS_NOTIFY_BIND_DRIVER event we could turn on the clock. If subdevice >

Re: [GIT PULL for v3.7-rc1] media updates - part 2

2012-10-11 Thread Mauro Carvalho Chehab
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media v4l_for_linus For the second part of media patches for v3.7-rc1. Despite its size, most of the stuff here is trivial. This series contain: - s5p-mfc: additions at the driver and at the core

Re: [PATCH 1/2 v6] of: add helper to parse display timings

2012-10-11 Thread Thierry Reding
On Mon, Oct 08, 2012 at 09:49:21AM +0200, Steffen Trumtrar wrote: > On Mon, Oct 08, 2012 at 10:07:45AM +0300, Tomi Valkeinen wrote: > > On Thu, 2012-10-04 at 19:59 +0200, Steffen Trumtrar wrote: [...] > > > + > > > + disp->num_timings = 0; > > > + > > > + for_each_child_of_node(timings_np, entry) {

Re: [PATCH 05/14] media: add a V4L2 OF parser

2012-10-11 Thread Stephen Warren
On 10/10/2012 04:51 PM, Laurent Pinchart wrote: > On Wednesday 10 October 2012 10:50:20 Stephen Warren wrote: >> On 10/10/2012 07:18 AM, Laurent Pinchart wrote: >>> On Monday 08 October 2012 17:15:53 Guennadi Liakhovetski wrote: >> ... >> But how do you get the subdev pointer? With the notifie

Re: [GIT PULL] Disintegrate UAPI for media

2012-10-11 Thread Mauro Carvalho Chehab
Em Thu, 11 Oct 2012 15:05:31 +0100 David Howells escreveu: > Mauro Carvalho Chehab wrote: > > > My understanding here is that, as the file location will change > > with this series, your original concern is now void, as userspace > > will require patches to use the new location. So, if we're wi

Re: [PATCH] dma-buf: Use EXPORT_SYMBOL

2012-10-11 Thread Mauro Carvalho Chehab
Em Thu, 11 Oct 2012 08:47:15 -0500 Rob Clark escreveu: > On Thu, Oct 11, 2012 at 6:13 AM, Mauro Carvalho Chehab > wrote: > > Em Thu, 11 Oct 2012 09:20:12 +0200 > > Hans Verkuil escreveu: > > > >> > my understaning is > >> > that the drivers/media/ authors should also ack with this licensing > >

Re: [GIT PULL] Disintegrate UAPI for media

2012-10-11 Thread David Howells
Mauro Carvalho Chehab wrote: > My understanding here is that, as the file location will change > with this series, your original concern is now void, as userspace > will require patches to use the new location. So, if we're willing > to do it, let's put this one-driver-only obsolete API on a sepa

Re: [PATCH] dma-buf: Use EXPORT_SYMBOL

2012-10-11 Thread Rob Clark
On Thu, Oct 11, 2012 at 6:13 AM, Mauro Carvalho Chehab wrote: > Em Thu, 11 Oct 2012 09:20:12 +0200 > Hans Verkuil escreveu: > >> > my understaning is >> > that the drivers/media/ authors should also ack with this licensing >> > (possible) change. I am one of the main contributors there. Alan also

SoC camera host drivers

2012-10-11 Thread Dmitry Lavnikevich
Hello! I'm trying to implement camera support for my i.MX6 board and cannot understand a couple of (it seems) simple things according to how it all must work. My camera is mt9m001 and i can perfectly find and use it's camera driver. But as far as I understand, host driver must be loaded too... an

Re: [PATCH] dma-buf: Use EXPORT_SYMBOL

2012-10-11 Thread Laurent Pinchart
Hi Hans, On Thursday 11 October 2012 13:36:45 Hans Verkuil wrote: > On Thu 11 October 2012 13:34:07 Alan Cox wrote: > > > The whole purpose of this API is to let DRM and V4L drivers share > > > buffers for zero-copy pipelines. Unfortunately it is a fact that > > > several popular DRM drivers are c

Re: [GIT PULL] Disintegrate UAPI for media

2012-10-11 Thread Mauro Carvalho Chehab
Em Thu, 11 Oct 2012 10:23:50 +0200 Oliver Endriss escreveu: > Mauro Carvalho Chehab wrote: > > Em Tue, 09 Oct 2012 14:30:24 +0100 > > David Howells escreveu: > > > > > Can you merge the following branch into the media tree please. > > > > > > This is to complete part of the Userspace API (UAP

Re: [PATCH] dma-buf: Use EXPORT_SYMBOL

2012-10-11 Thread Hans Verkuil
On Thu 11 October 2012 13:36:45 Hans Verkuil wrote: > On Thu 11 October 2012 13:34:07 Alan Cox wrote: > > > The whole purpose of this API is to let DRM and V4L drivers share buffers > > > for > > > zero-copy pipelines. Unfortunately it is a fact that several popular DRM > > > drivers > > > are cl

Re: [PATCH] dma-buf: Use EXPORT_SYMBOL

2012-10-11 Thread Hans Verkuil
On Thu 11 October 2012 13:34:07 Alan Cox wrote: > > The whole purpose of this API is to let DRM and V4L drivers share buffers > > for > > zero-copy pipelines. Unfortunately it is a fact that several popular DRM > > drivers > > are closed source. So we have a choice between keeping the export symb

Re: [PATCH] dma-buf: Use EXPORT_SYMBOL

2012-10-11 Thread Alan Cox
> > So, developers implicitly or explicitly copied in this thread that might be > > considering the usage of dmabuf on proprietary drivers should consider > > this email as a formal notification of my viewpoint: e. g. that I consider > > any attempt of using DMABUF or media core/drivers together wi

Re: [PATCH] dma-buf: Use EXPORT_SYMBOL

2012-10-11 Thread Alan Cox
> The whole purpose of this API is to let DRM and V4L drivers share buffers for > zero-copy pipelines. Unfortunately it is a fact that several popular DRM > drivers > are closed source. So we have a choice between keeping the export symbols GPL > and forcing those closed-source drivers to make the

Re: [PATCH] dma-buf: Use EXPORT_SYMBOL

2012-10-11 Thread Alan Cox
> As long as dmabuf uses EXPORT_SYMBOL_GPL that is definitely correct. Does your > statement also hold if dmabuf would use EXPORT_SYMBOL? (Just asking) Yes. The GPL talks about derivative works (as does copyright law). Alan -- To unsubscribe from this list: send the line "unsubscribe linux-media"

Re: [RFC 0/4] drm: add raw monotonic timestamp support

2012-10-11 Thread Imre Deak
Hi, On Thu, 2012-10-11 at 12:29 +0200, Laurent Pinchart wrote: > (CC'ing linux-media) > > On Friday 05 October 2012 16:36:58 Imre Deak wrote: > > This is needed to make applications depending on vblank/page flip > > timestamps independent of time ajdustments. > > We're in the process to switchin

Re: [PATCH] dma-buf: Use EXPORT_SYMBOL

2012-10-11 Thread Mauro Carvalho Chehab
Em Thu, 11 Oct 2012 09:20:12 +0200 Hans Verkuil escreveu: > > my understaning is > > that the drivers/media/ authors should also ack with this licensing > > (possible) change. I am one of the main contributors there. Alan also has > > copyrights there, and at other parts of the Linux Kernel, inc

Re: [RFC 0/4] drm: add raw monotonic timestamp support

2012-10-11 Thread Laurent Pinchart
(CC'ing linux-media) On Friday 05 October 2012 16:36:58 Imre Deak wrote: > This is needed to make applications depending on vblank/page flip > timestamps independent of time ajdustments. We're in the process to switching to CLOCK_MONOTONIC timestamps in V4L2. The reason why we're using CLOCK_MON

Re: [PATCH] dma-buf: Use EXPORT_SYMBOL

2012-10-11 Thread Maarten Lankhorst
Op 11-10-12 09:51, Hans Verkuil schreef: >>> my understaning is >>> that the drivers/media/ authors should also ack with this licensing >>> (possible) change. I am one of the main contributors there. Alan also has >>> copyrights there, and at other parts of the Linux Kernel, including the >>> dri

Re: Re: [GIT PULL] Disintegrate UAPI for media

2012-10-11 Thread Manu Abraham
On Thu, Oct 11, 2012 at 1:53 PM, Oliver Endriss wrote: > Mauro Carvalho Chehab wrote: >> Em Tue, 09 Oct 2012 14:30:24 +0100 >> David Howells escreveu: >> >> > Can you merge the following branch into the media tree please. >> > >> > This is to complete part of the Userspace API (UAPI) disintegrat

Re: Re: [GIT PULL] Disintegrate UAPI for media

2012-10-11 Thread Oliver Endriss
Mauro Carvalho Chehab wrote: > Em Tue, 09 Oct 2012 14:30:24 +0100 > David Howells escreveu: > > > Can you merge the following branch into the media tree please. > > > > This is to complete part of the Userspace API (UAPI) disintegration for > > which > > the preparatory patches were pulled rec

Re: Using omap3-isp-live example application on beagleboard with DVI

2012-10-11 Thread Enric Balletbò i Serra
Hi John, Laurent, 2012/10/10 Enric Balletbò i Serra : > Hi John, > > 2012/9/6 John Weber : >> Hello, >> >> My goal is to better understand how to write an application that makes use >> of the omap3isp and media controller frameworks and v4l2. I'm attempting to >> make use of Laurent's omap3-isp-l

Re: [PATCH] dma-buf: Use EXPORT_SYMBOL

2012-10-11 Thread Hans Verkuil
On Thu 11 October 2012 09:20:12 Hans Verkuil wrote: > On Thu October 11 2012 03:11:19 Mauro Carvalho Chehab wrote: > > Em Thu, 11 Oct 2012 09:22:34 +1000 > > Dave Airlie escreveu: > > > > > On Thu, Oct 11, 2012 at 4:17 AM, Alan Cox > > > wrote: > > > > On Wed, 10 Oct 2012 08:56:32 -0700 > > > >

Re: [PATCH] dma-buf: Use EXPORT_SYMBOL

2012-10-11 Thread Hans Verkuil
On Thu October 11 2012 03:11:19 Mauro Carvalho Chehab wrote: > Em Thu, 11 Oct 2012 09:22:34 +1000 > Dave Airlie escreveu: > > > On Thu, Oct 11, 2012 at 4:17 AM, Alan Cox wrote: > > > On Wed, 10 Oct 2012 08:56:32 -0700 > > > Robert Morell wrote: > > > > > >> EXPORT_SYMBOL_GPL is intended to be u