Re: video: USB webcam fails since kernel 3.2

2012-10-10 Thread Jean-Francois Moine
On Tue, 9 Oct 2012 15:54:46 -0700 Jonathan Nieder jrnie...@gmail.com wrote: Hi, In June, Martin-Éric Racine wrote: Since recent kernels, this ASUS W5F's built-in webcam fails to be detected. Gstreamer-based applications (Cheese, gstreamer-properties) immediately crash whenever trying

Re: Media_build broken by [PATCH RFC v3 5/5] m5mols: Implement .get_frame_desc subdev callback

2012-10-10 Thread Hans Verkuil
On Wed October 10 2012 03:05:30 Mauro Carvalho Chehab wrote: Em Mon, 8 Oct 2012 15:03:36 +0200 Hans Verkuil hverk...@xs4all.nl escreveu: On Sun October 7 2012 13:13:36 Sylwester Nawrocki wrote: On 10/07/2012 03:19 AM, Michael West wrote: This patch changes versions.txt and disables

Re: video: USB webcam fails since kernel 3.2

2012-10-10 Thread Jonathan Nieder
Jean-Francois Moine wrote: I tried to prepare a patch set for the vc032x, That's good to hear. Does that you mean you have a rough patchset available, even if it doesn't work perfectly yet? I'd be happy to see some patches e.g. with [PATCH/WIP] in the subject line so there is something for

Re: video: USB webcam fails since kernel 3.2

2012-10-10 Thread Martin-Éric Racine
2012/10/10 Jean-Francois Moine moin...@free.fr: On Tue, 9 Oct 2012 15:54:46 -0700 Jonathan Nieder jrnie...@gmail.com wrote: Hi, In June, Martin-Éric Racine wrote: Since recent kernels, this ASUS W5F's built-in webcam fails to be detected. Gstreamer-based applications (Cheese,

Re: [PATCH] [media] coda: Do not use __cancel_delayed_work()

2012-10-10 Thread javier Martin
On 10 October 2012 05:43, Tejun Heo t...@kernel.org wrote: On Wed, Oct 10, 2012 at 12:33:29AM -0300, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com commit 136b5721d (workqueue: deprecate __cancel_delayed_work()) made __cancel_delayed_work deprecated. Use

re: V4L/DVB (13678): Add support for yet another DvbWorld, TeVii and Prof USB devices

2012-10-10 Thread Dan Carpenter
Hello Igor M. Liplianin, The patch 141cc35e2d29: V4L/DVB (13678): Add support for yet another DvbWorld, TeVii and Prof USB devices from Nov 27, 2009, leads to the following Sparse warning: drivers/media/usb/dvb-usb/dw2102.c:288:36: error: bad constant expression CHECK

Re: [PATCH 04/14] media: add V4L2 DT binding documentation

2012-10-10 Thread Sascha Hauer
Hi Guennadi, On Mon, Oct 08, 2012 at 09:58:58AM +0200, Guennadi Liakhovetski wrote: On Fri, 5 Oct 2012, Sascha Hauer wrote: On Fri, Oct 05, 2012 at 05:41:00PM +0200, Guennadi Liakhovetski wrote: Hi Sascha Maybe the example would be clearer if you split it up in two, one

Re: [PATCH 04/14] media: add V4L2 DT binding documentation

2012-10-10 Thread Mark Brown
On Wed, Oct 10, 2012 at 10:40:06AM +0200, Sascha Hauer wrote: Mark, when do we get the same for aSoC? ;) Well, I'm unlikely to work on it as I don't have any systems which can boot with device tree. The big, big problem you've got doing this is lots of dynamic changes at runtime and in

AW: omap3-isp-live does not allocate big enough buffers?

2012-10-10 Thread Florian Neuhaus
Hi Laurent, Thank you for your fast answer. Laurent Pinchart wrote on 2012-10-08: The OMAP3 ISP resizer can't scale down 1944 pixels (the native sensor height) to exactly 480 pixels as that would exceed the resizer limits. You will thus have to crop the sensor image slightly. Cropping is

Re: [PATCH 04/14] media: add V4L2 DT binding documentation

2012-10-10 Thread Sascha Hauer
On Wed, Oct 10, 2012 at 05:51:27PM +0900, Mark Brown wrote: On Wed, Oct 10, 2012 at 10:40:06AM +0200, Sascha Hauer wrote: Mark, when do we get the same for aSoC? ;) Well, I'm unlikely to work on it as I don't have any systems which can boot with device tree. If it's only that I'm sure we

Re: Media_build broken by [PATCH RFC v3 5/5] m5mols: Implement .get_frame_desc subdev callback

2012-10-10 Thread Sylwester Nawrocki
On 10/10/2012 08:27 AM, Hans Verkuil wrote: diff --git a/drivers/media/i2c/m5mols/m5mols.h b/drivers/media/i2c/m5mols/m5mols.h index 4ab8b37..30654f5 100644 --- a/drivers/media/i2c/m5mols/m5mols.h +++ b/drivers/media/i2c/m5mols/m5mols.h @@ -24,7 +24,7 @@ * determined by

Re: Media_build broken by [PATCH RFC v3 5/5] m5mols: Implement .get_frame_desc subdev callback

2012-10-10 Thread Mauro Carvalho Chehab
Em Wed, 10 Oct 2012 08:27:26 +0200 Hans Verkuil hverk...@xs4all.nl escreveu: On Wed October 10 2012 03:05:30 Mauro Carvalho Chehab wrote: Em Mon, 8 Oct 2012 15:03:36 +0200 Hans Verkuil hverk...@xs4all.nl escreveu: On Sun October 7 2012 13:13:36 Sylwester Nawrocki wrote: On

Re: [PATCH 04/14] media: add V4L2 DT binding documentation

2012-10-10 Thread Mark Brown
On Wed, Oct 10, 2012 at 11:21:15AM +0200, Sascha Hauer wrote: On Wed, Oct 10, 2012 at 05:51:27PM +0900, Mark Brown wrote: Well, I'm unlikely to work on it as I don't have any systems which can boot with device tree. If it's only that I'm sure we could spare a i.MX53 LOCO ;) Well,

Re: Media_build broken by [PATCH RFC v3 5/5] m5mols: Implement .get_frame_desc subdev callback

2012-10-10 Thread Hans Verkuil
On Wed 10 October 2012 12:39:39 Mauro Carvalho Chehab wrote: Em Wed, 10 Oct 2012 08:27:26 +0200 Hans Verkuil hverk...@xs4all.nl escreveu: On Wed October 10 2012 03:05:30 Mauro Carvalho Chehab wrote: Em Mon, 8 Oct 2012 15:03:36 +0200 Hans Verkuil hverk...@xs4all.nl escreveu: On

Re: [PATCHv9 00/25] Integration of videobuf2 with DMABUF

2012-10-10 Thread Mauro Carvalho Chehab
Hi, Em Tue, 02 Oct 2012 16:27:11 +0200 Tomasz Stanislawski t.stanisl...@samsung.com escreveu: Hello everyone, This patchset adds support for DMABUF [2] importing and exporting to V4L2 stack. v9: - rebase on 3.6 - change type for fs to __s32 - add support for vb2_ioctl_expbuf - remove

Re: Media_build broken by [PATCH RFC v3 5/5] m5mols: Implement .get_frame_desc subdev callback

2012-10-10 Thread Mauro Carvalho Chehab
Em Wed, 10 Oct 2012 12:52:48 +0200 Hans Verkuil hverk...@xs4all.nl escreveu: On Wed 10 October 2012 12:39:39 Mauro Carvalho Chehab wrote: Em Wed, 10 Oct 2012 08:27:26 +0200 Hans Verkuil hverk...@xs4all.nl escreveu: On Wed October 10 2012 03:05:30 Mauro Carvalho Chehab wrote: Em

Re: [Linaro-mm-sig] [PATCHv9 00/25] Integration of videobuf2 with DMABUF

2012-10-10 Thread Kyungmin Park
On 10/10/12, Mauro Carvalho Chehab mche...@redhat.com wrote: Hi, Em Tue, 02 Oct 2012 16:27:11 +0200 Tomasz Stanislawski t.stanisl...@samsung.com escreveu: Hello everyone, This patchset adds support for DMABUF [2] importing and exporting to V4L2 stack. v9: - rebase on 3.6 - change type

Re: [GIT PULL] Disintegrate UAPI for media

2012-10-10 Thread David Howells
Mauro Carvalho Chehab mche...@infradead.org wrote: Hmm... last year, it was decided that we would be putting the DVB av7110-only API files on a separate place, as the API there conflicts with V4L/alsa APIs and are used only by one upstream driver (there were two drivers using them, at that

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

2012-10-10 Thread Laurent Pinchart
Hi Guennadi, On Monday 08 October 2012 14:23:25 Guennadi Liakhovetski wrote: On Fri, 5 Oct 2012, Hans Verkuil wrote: [snip] I think the soc_camera patches should be left out for now. I suspect that by adding core support for async i2c handling first, Ok, let's think, what this meacs

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

2012-10-10 Thread Laurent Pinchart
Hi Hans, On Monday 08 October 2012 16:53:55 Hans Verkuil wrote: On Mon October 8 2012 16:30:53 Guennadi Liakhovetski wrote: On Mon, 8 Oct 2012, Hans Verkuil wrote: On Mon October 8 2012 14:23:25 Guennadi Liakhovetski wrote: On Fri, 5 Oct 2012, Hans Verkuil wrote: [snip]

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

2012-10-10 Thread Laurent Pinchart
Hi Guennadi, On Monday 08 October 2012 17:15:53 Guennadi Liakhovetski wrote: On Mon, 8 Oct 2012, Hans Verkuil wrote: On Mon October 8 2012 16:30:53 Guennadi Liakhovetski wrote: On Mon, 8 Oct 2012, Hans Verkuil wrote: On Mon October 8 2012 14:23:25 Guennadi Liakhovetski wrote: On

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

2012-10-10 Thread Laurent Pinchart
Hi Hans, On Monday 08 October 2012 17:41:43 Hans Verkuil wrote: On Mon October 8 2012 17:15:53 Guennadi Liakhovetski wrote: On Mon, 8 Oct 2012, Hans Verkuil wrote: On Mon October 8 2012 16:30:53 Guennadi Liakhovetski wrote: On Mon, 8 Oct 2012, Hans Verkuil wrote: [snip] I wonder,

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

2012-10-10 Thread Enric Balletbò i Serra
Hi John, 2012/9/6 John Weber rjohnwe...@gmail.com: 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-live example application as a starting point and

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

2012-10-10 Thread Laurent Pinchart
Hi Hans, On Tuesday 09 October 2012 13:00:24 Hans Verkuil wrote: On Tue 9 October 2012 12:34:48 Sylwester Nawrocki wrote: On 10/08/2012 11:40 AM, Guennadi Liakhovetski wrote: On Fri, 5 Oct 2012, Sylwester Nawrocki wrote: I would really like to see more than one user until we add any core

Re: [PATCHv9 00/25] Integration of videobuf2 with DMABUF

2012-10-10 Thread Laurent Pinchart
Hi Mauro, On Wednesday 10 October 2012 07:54:18 Mauro Carvalho Chehab wrote: Em Tue, 02 Oct 2012 16:27:11 +0200 Tomasz Stanislawski escreveu: Hello everyone, This patchset adds support for DMABUF [2] importing and exporting to V4L2 stack. v9: - rebase on 3.6 - change type for fs

[PATCH 3/5] m920x_parse.pl: use string comparison operators

2012-10-10 Thread Antonio Ospite
--- contrib/m920x/m920x_parse.pl | 30 +++--- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/contrib/m920x/m920x_parse.pl b/contrib/m920x/m920x_parse.pl index 135ed5a..9093e16 100755 --- a/contrib/m920x/m920x_parse.pl +++ b/contrib/m920x/m920x_parse.pl

[PATCH 1/5] contrib: add some scripts to extract m920x firmwares from USB dumps

2012-10-10 Thread Antonio Ospite
From: Aapo Tahkola a...@rasterburn.org Signed-off-by: Aapo Tahkola a...@rasterburn.org --- contrib/m920x/m920x_parse.pl | 277 contrib/m920x/m920x_sp_firmware.pl | 115 +++ 2 files changed, 392 insertions(+) create mode 100755

[PATCH 5/5] m920x_parse.pl: add support for consuming the output of parse-sniffusb2.pl

2012-10-10 Thread Antonio Ospite
--- contrib/m920x/m920x_parse.pl | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/contrib/m920x/m920x_parse.pl b/contrib/m920x/m920x_parse.pl index b315400..b309250 100755 --- a/contrib/m920x/m920x_parse.pl +++ b/contrib/m920x/m920x_parse.pl @@ -103,6 +103,13

[PATCH 0/5] v4l-utils: add some scripts from the wiki.

2012-10-10 Thread Antonio Ospite
Hi, I recently used some scripts I found on the linuxtv.org wiki to extract a firmware for a m920x device from USB dumps made with UsbSniff2.0 on WIndows XP. I thought these scripts may be collected in v4l-utils where it is easier to change them. The first two patches add the scripts as they

[PATCH 2/5] contrib: add a script to convert usbmon captures to usbsnoop

2012-10-10 Thread Antonio Ospite
From: Aapo Tahkola a...@rasterburn.org This makes it possible to reuse tools written for usbsnoop with captures done using a virtual machine and usbmon. Signed-off-by: Aapo Tahkola a...@rasterburn.org --- contrib/usbmon2usbsnoop.pl | 53 1 file

[PATCH 4/5] m920x_parse.pl: fix strict and warnings checks

2012-10-10 Thread Antonio Ospite
Signed-off-by: Antonio Ospite osp...@studenti.unina.it --- contrib/m920x/m920x_parse.pl | 30 -- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/contrib/m920x/m920x_parse.pl b/contrib/m920x/m920x_parse.pl index 9093e16..b315400 100755 ---

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

2012-10-10 Thread Mauro Carvalho Chehab
Em Wed, 10 Oct 2012 14:54 +0200 Laurent Pinchart laurent.pinch...@ideasonboard.com escreveu: Also, ideally OF-compatible (I2C) drivers should run with no platform data, but soc-camera is using I2C device platform data intensively. To avoid modifying the soc-camera core and all drivers, I

Re: [PATCHv9 19/25] v4l: vb2: add buffer exporting via dmabuf

2012-10-10 Thread Tomasz Stanislawski
On 10/06/2012 02:22 PM, Hans Verkuil wrote: On Tue October 2 2012 16:27:30 Tomasz Stanislawski wrote: This patch adds extension to videobuf2-core. It allow to export a mmap buffer as a file descriptor. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park

Re: [PATCH 0/5] v4l-utils: add some scripts from the wiki.

2012-10-10 Thread Antti Palosaari
On 10/10/2012 04:39 PM, Antonio Ospite wrote: Hi, I recently used some scripts I found on the linuxtv.org wiki to extract a firmware for a m920x device from USB dumps made with UsbSniff2.0 on WIndows XP. I thought these scripts may be collected in v4l-utils where it is easier to change them.

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

2012-10-10 Thread Laurent Pinchart
Hi Mauro, On Wednesday 10 October 2012 10:45:22 Mauro Carvalho Chehab wrote: Em Wed, 10 Oct 2012 14:54 +0200 Laurent Pinchart escreveu: Also, ideally OF-compatible (I2C) drivers should run with no platform data, but soc-camera is using I2C device platform data intensively. To avoid

[PATCHv10 00/26] Integration of videobuf2 with DMABUF

2012-10-10 Thread Tomasz Stanislawski
Hello everyone, This patchset adds support for DMABUF [2] importing and exporting to V4L2 stack. v10: - rebase on media-next 3.7 - typos and style fixes in Documentation (from Hans Verkuil) - fix compilation error with __fill_vb2_buffer - fix uninitialized data_offset for single-planar queue -

[PATCHv10 01/26] v4l: Add DMABUF as a memory type

2012-10-10 Thread Tomasz Stanislawski
From: Sumit Semwal sumit.sem...@ti.com Adds DMABUF memory type to v4l framework. Also adds the related file descriptor in v4l2_plane and v4l2_buffer. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com [original work in the PoC for buffer sharing] Signed-off-by: Sumit Semwal

[PATCHv10 02/26] Documentation: media: description of DMABUF importing in V4L2

2012-10-10 Thread Tomasz Stanislawski
This patch adds description and usage examples for importing DMABUF file descriptor in V4L2. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com CC: linux-...@vger.kernel.org --- Documentation/DocBook/media/v4l/compat.xml |

[PATCHv10 03/26] v4l: vb2: add support for shared buffer (dma_buf)

2012-10-10 Thread Tomasz Stanislawski
From: Sumit Semwal sumit.sem...@ti.com This patch adds support for DMABUF memory type in videobuf2. It calls relevant APIs of dma_buf for v4l reqbuf / qbuf / dqbuf operations. For this version, the support is for videobuf2 as a user of the shared buffer; so the allocation of the buffer is done

[PATCHv10 04/26] v4l: vb: remove warnings about MEMORY_DMABUF

2012-10-10 Thread Tomasz Stanislawski
From: Sumit Semwal sumit.sem...@ti.com Adding DMABUF memory type causes videobuf to complain about not using it in some switch cases. This patch removes these warnings. Signed-off-by: Sumit Semwal sumit.sem...@ti.com Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Acked-by: Hans

[PATCHv10 05/26] v4l: vb2-dma-contig: shorten vb2_dma_contig prefix to vb2_dc

2012-10-10 Thread Tomasz Stanislawski
From: Laurent Pinchart laurent.pinch...@ideasonboard.com Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Acked-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/v4l2-core/videobuf2-dma-contig.c | 36 1 file changed, 18 insertions(+), 18

[PATCHv10 06/26] v4l: vb2-dma-contig: remove reference of alloc_ctx from a buffer

2012-10-10 Thread Tomasz Stanislawski
This patch removes a reference to alloc_ctx from an instance of a DMA contiguous buffer. It helps to avoid a risk of a dangling pointer if the context is released while the buffer is still valid. Moreover it removes one dereference step while accessing a device structure. Signed-off-by: Tomasz

[PATCHv10 07/26] v4l: vb2-dma-contig: reorder functions

2012-10-10 Thread Tomasz Stanislawski
From: Laurent Pinchart laurent.pinch...@ideasonboard.com Group functions by buffer type. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Acked-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/v4l2-core/videobuf2-dma-contig.c | 92 ++-- 1 file

[PATCHv10 08/26] v4l: vb2-dma-contig: add support for scatterlist in userptr mode

2012-10-10 Thread Tomasz Stanislawski
This patch introduces usage of dma_map_sg to map memory behind a userspace pointer to a device as dma-contiguous mapping. This patch contains some of the code kindly provided by Marek Szyprowski m.szyprow...@samsung.com and Kamil Debski k.deb...@samsung.com and Andrzej Pietrasiewicz

[PATCHv10 09/26] v4l: vb2: add prepare/finish callbacks to allocators

2012-10-10 Thread Tomasz Stanislawski
From: Marek Szyprowski m.szyprow...@samsung.com This patch adds support for prepare/finish callbacks in VB2 allocators. These callback are used for buffer flushing. Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Acked-by:

Re: [PATCH 0/5] v4l-utils: add some scripts from the wiki.

2012-10-10 Thread Antonio Ospite
On Wed, 10 Oct 2012 17:22:53 +0300 Antti Palosaari cr...@iki.fi wrote: On 10/10/2012 04:39 PM, Antonio Ospite wrote: Hi, I recently used some scripts I found on the linuxtv.org wiki to extract a firmware for a m920x device from USB dumps made with UsbSniff2.0 on WIndows XP. I

[PATCHv10 10/26] v4l: vb2-dma-contig: add prepare/finish to dma-contig allocator

2012-10-10 Thread Tomasz Stanislawski
From: Marek Szyprowski m.szyprow...@samsung.com Add prepare/finish callbacks to vb2-dma-contig allocator. Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Acked-by: Hans Verkuil hans.verk...@cisco.com ---

[PATCHv10 11/26] v4l: vb2-dma-contig: add support for dma_buf importing

2012-10-10 Thread Tomasz Stanislawski
From: Sumit Semwal sumit.sem...@ti.com This patch makes changes for adding dma-contig as a dma_buf user. It provides function implementations for the {attach, detach, map, unmap}_dmabuf() mem_ops of DMABUF memory type. Signed-off-by: Sumit Semwal sumit.sem...@ti.com Signed-off-by: Sumit Semwal

[PATCHv10 12/26] v4l: vb2-vmalloc: add support for dmabuf importing

2012-10-10 Thread Tomasz Stanislawski
This patch adds support for importing DMABUF files for vmalloc allocator in Videobuf2. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Acked-by: Hans Verkuil

[PATCHv10 13/26] v4l: vivi: support for dmabuf importing

2012-10-10 Thread Tomasz Stanislawski
This patch enhances VIVI driver with a support for importing a buffer from DMABUF file descriptors. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Acked-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/platform/vivi.c |

[PATCHv10 15/26] v4l: s5p-fimc: support for dmabuf importing

2012-10-10 Thread Tomasz Stanislawski
This patch enhances s5p-fimc with support for DMABUF importing via V4L2_MEMORY_DMABUF memory type. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Acked-by: Sylwester Nawrocki s.nawro...@samsung.com Acked-by: Hans Verkuil

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

2012-10-10 Thread Mauro Carvalho Chehab
Em Wed, 10 Oct 2012 16:48 +0200 Laurent Pinchart laurent.pinch...@ideasonboard.com escreveu: Hi Mauro, On Wednesday 10 October 2012 10:45:22 Mauro Carvalho Chehab wrote: Em Wed, 10 Oct 2012 14:54 +0200 Laurent Pinchart escreveu: Also, ideally OF-compatible (I2C) drivers should run with

[PATCHv10 16/26] v4l: vb2-dma-contig: let mmap method to use dma_mmap_coherent call

2012-10-10 Thread Tomasz Stanislawski
From: Marek Szyprowski m.szyprow...@samsung.com Let mmap method to use dma_mmap_coherent call. Moreover, this patch removes vb2_mmap_pfn_range from videobuf2 helpers as it was suggested by Laurent Pinchart. The function is no longer used in vb2 code. Signed-off-by: Marek Szyprowski

Re: AW: omap3-isp-live does not allocate big enough buffers?

2012-10-10 Thread Laurent Pinchart
Hi Florian, On Wednesday 10 October 2012 09:19:37 Florian Neuhaus wrote: Laurent Pinchart wrote on 2012-10-08: The OMAP3 ISP resizer can't scale down 1944 pixels (the native sensor height) to exactly 480 pixels as that would exceed the resizer limits. You will thus have to crop the

[PATCHv10 17/26] Documentation: media: description of DMABUF exporting in V4L2

2012-10-10 Thread Tomasz Stanislawski
This patch adds description and usage examples for exporting DMABUF file descriptor in V4L2. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com CC: linux-...@vger.kernel.org --- Documentation/DocBook/media/v4l/compat.xml|

[PATCHv10 18/26] v4l: add buffer exporting via dmabuf

2012-10-10 Thread Tomasz Stanislawski
This patch adds extension to V4L2 api. It allow to export a mmap buffer as file descriptor. New ioctl VIDIOC_EXPBUF is added. It takes a buffer offset used by mmap and return a file descriptor on success. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park

[PATCHv10 19/26] v4l: vb2: add buffer exporting via dmabuf

2012-10-10 Thread Tomasz Stanislawski
This patch adds extension to videobuf2-core. It allow to export a mmap buffer as a file descriptor. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Acked-by: Hans

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

2012-10-10 Thread Tomasz Stanislawski
This patch adds support for exporting a dma-contig buffer using DMABUF interface. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Acked-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/v4l2-core/videobuf2-dma-contig.c |

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

2012-10-10 Thread Tomasz Stanislawski
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 released, the device might be released too. However, buffers cannot be released if they are referenced by DMABUF

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

2012-10-10 Thread Tomasz Stanislawski
From: Marek Szyprowski m.szyprow...@samsung.com 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 after a buffer. To prevent such situations, all unligned userptr buffers are rejected

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

2012-10-10 Thread Tomasz Stanislawski
Most operations on DMA and DMABUF framework need page aligned buffers. This fix guarantees this requirement for vb2-dma-contig buffers. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com --- drivers/media/v4l2-core/videobuf2-dma-contig.c |3 +++ 1 file changed, 3 insertions(+) diff

[PATCHv10 24/26] v4l: s5p-fimc: support for dmabuf exporting

2012-10-10 Thread Tomasz Stanislawski
This patch enhances s5p-fimc with support for DMABUF exporting via VIDIOC_EXPBUF ioctl. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com CC: Sylwester Nawrocki s.nawro...@samsung.com Acked-by: Hans Verkuil hans.verk...@cisco.com

[PATCHv10 25/26] v4l: s5p-tv: mixer: support for dmabuf exporting

2012-10-10 Thread Tomasz Stanislawski
This patch enhances s5p-tv with support for DMABUF exporting via VIDIOC_EXPBUF ioctl. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Acked-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/platform/s5p-tv/mixer_video.c |

[PATCHv10 26/26] v4l: s5p-mfc: support for dmabuf exporting

2012-10-10 Thread Tomasz Stanislawski
This patch enhances s5p-mfc with support for DMABUF exporting via VIDIOC_EXPBUF ioctl. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com CC: Kamil Debski k.deb...@samsung.com Acked-by: Hans Verkuil hans.verk...@cisco.com ---

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

2012-10-10 Thread Laurent Pinchart
Hi Mauro, On Wednesday 10 October 2012 11:57:03 Mauro Carvalho Chehab wrote: Em Wed, 10 Oct 2012 16:48 +0200 Laurent Pinchart escreveu: On Wednesday 10 October 2012 10:45:22 Mauro Carvalho Chehab wrote: Em Wed, 10 Oct 2012 14:54 +0200 Laurent Pinchart escreveu: Also, ideally

Re: [PATCH] qv4l2: avoid empty titles for the video control tabs

2012-10-10 Thread Frank Schäfer
Am 09.10.2012 17:24, schrieb Hans Verkuil: On Tue October 9 2012 16:46:04 Frank Schäfer wrote: The video control class names are used as titles for the GUI-tabs. The current code relies on the driver enumerating the control classes properly when using V4L2_CTRL_FLAG_NEXT_CTRL. But the

Test application for DMABUF support in V4L2

2012-10-10 Thread Tomasz Stanislawski
Hello everyone, This mail contains an application to test DMABUF support in V4L2 for VIVI and S5P-FIMC drivers. The application was tested on linux-media for 3.7 with applied patchset [PATCHv10 */26] Integration of videobuf2 with DMABUF on Universal C210 board. Compilation: 1. Fetch media-next,

[RFC] Samsung SoC camera DT bindings

2012-10-10 Thread Sylwester Nawrocki
Hi All, The following is a brief description of Samsung SoC architecture from the camera point of view and a corresponding device tree structure. It is based on the media devices DT bindings design from Guennadi [1]. I incorporated some changes proposed during reviews (e.g. s/link/endpoint).

[PATCH] dma-buf: Use EXPORT_SYMBOL

2012-10-10 Thread Robert Morell
EXPORT_SYMBOL_GPL is intended to be used for an internal implementation issue, and not really an interface. The dma-buf infrastructure is explicitly intended as an interface between modules/drivers, so it should use EXPORT_SYMBOL instead. Signed-off-by: Robert Morell rmor...@nvidia.com --- This

Re: udev breakages -

2012-10-10 Thread Geert Uytterhoeven
On Wed, Oct 10, 2012 at 5:19 AM, Felipe Contreras felipe.contre...@gmail.com wrote: On Thu, Oct 4, 2012 at 9:17 PM, Alan Cox a...@lxorguk.ukuu.org.uk wrote: I don't know how to handle the /dev/ptmx issue properly from within devtmpfs, does anyone? Proposals are always welcome, the last time

Re: [PATCH] dma-buf: Use EXPORT_SYMBOL

2012-10-10 Thread Mauro Carvalho Chehab
Em Wed, 10 Oct 2012 08:56:32 -0700 Robert Morell rmor...@nvidia.com escreveu: EXPORT_SYMBOL_GPL is intended to be used for an internal implementation issue, and not really an interface. The dma-buf infrastructure is explicitly intended as an interface between modules/drivers, so it should

Re: [PATCH 4/14] drivers/media/v4l2-core/videobuf2-core.c: fix error return code

2012-10-10 Thread Peter Senna Tschudin
On Sat, Oct 6, 2012 at 1:17 PM, Mauro Carvalho Chehab mche...@infradead.org wrote: Em Thu, 6 Sep 2012 17:23:57 +0200 Peter Senna Tschudin peter.se...@gmail.com escreveu: From: Peter Senna Tschudin peter.se...@gmail.com Convert a nonnegative error return code to a negative one, as returned

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

2012-10-10 Thread Stephen Warren
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 notifier I get it from i2c_get_clientdata(client) and what do you do without it? How do you get to the client? And can't it get

Re: [PATCH 4/14] drivers/media/v4l2-core/videobuf2-core.c: fix error return code

2012-10-10 Thread Sylwester Nawrocki
Hi Peter, On 10/10/2012 06:47 PM, Peter Senna Tschudin wrote: diff --git a/drivers/media/v4l2-core/videobuf2-core.c b/drivers/media/v4l2-core/videobuf2-core.c index 4da3df6..f6bc240 100644 --- a/drivers/media/v4l2-core/videobuf2-core.c +++ b/drivers/media/v4l2-core/videobuf2-core.c @@

Re: [PATCH] dma-buf: Use EXPORT_SYMBOL

2012-10-10 Thread Alan Cox
On Wed, 10 Oct 2012 08:56:32 -0700 Robert Morell rmor...@nvidia.com wrote: EXPORT_SYMBOL_GPL is intended to be used for an internal implementation issue, and not really an interface. The dma-buf infrastructure is explicitly intended as an interface between modules/drivers, so it should use

[PATCH 3.6.0- 1/5] media/bfin: use module_platform_driver macro

2012-10-10 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch removes some code duplication by using module_platform_driver. Signed-off-by: Srinivas Kandagatla srinivas.kandaga...@st.com --- drivers/media/platform/blackfin/bfin_capture.c | 14 +- 1 files changed, 1

[PATCH 3.6.0- 2/5] media/m2m: use module_platform_driver macro

2012-10-10 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch removes some code duplication by using module_platform_driver. Signed-off-by: Srinivas Kandagatla srinivas.kandaga...@st.com --- drivers/media/platform/m2m-deinterlace.c | 14 +- 1 files changed, 1 insertions(+), 13

[PATCH 3.6.0- 0/5] MEDIA: use module_platform_driver macro

2012-10-10 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla srinivas.kandaga...@st.com Running below Coccinelle lookup pattern like below on the latest kernel showed about 52 hits. This patch series is a subset of those 52 patches, so that it will be easy for maintainers to review. Hopefully these patches will get rid of some

[PATCH 3.6.0- 3/5] media/mx2_emmaprp: use module_platform_driver macro

2012-10-10 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch removes some code duplication by using module_platform_driver. Signed-off-by: Srinivas Kandagatla srinivas.kandaga...@st.com --- drivers/media/platform/mx2_emmaprp.c | 14 +- 1 files changed, 1 insertions(+), 13

[PATCH 3.6.0- 4/5] media/soc_camera: use module_platform_driver macro

2012-10-10 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch removes some code duplication by using module_platform_driver. Signed-off-by: Srinivas Kandagatla srinivas.kandaga...@st.com --- drivers/media/platform/soc_camera/soc_camera.c | 14 +- 1 files changed, 1

[PATCH 3.6.0- 5/5] media/ir_rx51: use module_platform_driver macro

2012-10-10 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch removes some code duplication by using module_platform_driver. Signed-off-by: Srinivas Kandagatla srinivas.kandaga...@st.com --- drivers/media/rc/ir-rx51.c | 13 + 1 files changed, 1 insertions(+), 12 deletions(-)

Broken Link on Your Site About Photo Album Programs - Follow-up

2012-10-10 Thread Hannah Edwards
Hi Administrator, I wanted to follow up with you and make sure you had received my email I sent a little bit ago regarding the broken link on your site. If you are still updating your website, I have a similar resource that you can replace the broken link with if you are interested. Let me

cron job: media_tree daily build: WARNINGS

2012-10-10 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:Wed Oct 10 19:00:21 CEST 2012 git hash:d92462401dde1effa04a51d0a15000e6246d2a43 gcc version: i686-linux-gcc

[PATCH v4 0/3] OMAP 3 CSI-2 configuration

2012-10-10 Thread Sakari Ailus
Hi all, This is an update to an old patchset for CSI-2 configuration for OMAP 3430 and 3630. The patches have been tested on the 3630 only so far, and I don't plan to test them on 3430 in the near future. Changes made based on Kevin's and Laurent's comments since v3. Comments, questions and

[PATCH v4 1/3] omap3isp: Add CSI configuration registers from control block to ISP resources

2012-10-10 Thread Sakari Ailus
Add the registers used to configure the CSI-2 receiver PHY on OMAP3430 and 3630 and map them in the ISP driver. The register is part of the control block but it only is needed by the ISP driver. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi Acked-by: Tony Lindgren t...@atomide.com ---

[PATCH v4 3/3] omap3isp: Configure CSI-2 phy based on platform data

2012-10-10 Thread Sakari Ailus
Configure CSI-2 phy based on platform data in the ISP driver. For that, the new V4L2_CID_IMAGE_SOURCE_PIXEL_RATE control is used. Previously the same was configured from the board code. This patch is dependent on omap3: Provide means for changing CSI2 PHY configuration. Signed-off-by: Sakari

[PATCH v4 2/3] omap3isp: Add PHY routing configuration

2012-10-10 Thread Sakari Ailus
Add PHY routing configuration for both 3430 and 3630. Also add register bit definitions of CSIRXFE and CAMERA_PHY_CTRL registers on OMAP 3430 and 3630, respectively. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi --- drivers/media/platform/omap3isp/ispcsiphy.c | 92 +++

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

2012-10-10 Thread Sylwester Nawrocki
Hi Laurent, On 10/10/2012 03:25 PM, Laurent Pinchart wrote: On Tuesday 09 October 2012 13:00:24 Hans Verkuil wrote: On Tue 9 October 2012 12:34:48 Sylwester Nawrocki wrote: On 10/08/2012 11:40 AM, Guennadi Liakhovetski wrote: On Fri, 5 Oct 2012, Sylwester Nawrocki wrote: I would really like

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

2012-10-10 Thread Guennadi Liakhovetski
On Wed, 10 Oct 2012, Sylwester Nawrocki wrote: Hi Laurent, On 10/10/2012 03:25 PM, Laurent Pinchart wrote: On Tuesday 09 October 2012 13:00:24 Hans Verkuil wrote: On Tue 9 October 2012 12:34:48 Sylwester Nawrocki wrote: On 10/08/2012 11:40 AM, Guennadi Liakhovetski wrote: On Fri, 5

Re: [PATCH] dma-buf: Use EXPORT_SYMBOL

2012-10-10 Thread Rob Clark
On Wed, Oct 10, 2012 at 1:17 PM, Alan Cox a...@lxorguk.ukuu.org.uk wrote: On Wed, 10 Oct 2012 08:56:32 -0700 Robert Morell rmor...@nvidia.com wrote: EXPORT_SYMBOL_GPL is intended to be used for an internal implementation issue, and not really an interface. The dma-buf infrastructure is

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

2012-10-10 Thread Sylwester Nawrocki
On 10/10/2012 10:32 PM, Guennadi Liakhovetski wrote: We might actually not need that, it might be easier to handle the circular dependency problem from the other end. We could add a way (ioctl, sysfs, ...) to force a V4L2 bridge driver to release its subdevs. Once done, the subdev driver

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

2012-10-10 Thread Laurent Pinchart
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 notifier I get it from i2c_get_clientdata(client) and what do

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

2012-10-10 Thread Laurent Pinchart
Hi Sylwester, On Wednesday 10 October 2012 22:23:35 Sylwester Nawrocki wrote: On 10/10/2012 03:25 PM, Laurent Pinchart wrote: On Tuesday 09 October 2012 13:00:24 Hans Verkuil wrote: On Tue 9 October 2012 12:34:48 Sylwester Nawrocki wrote: On 10/08/2012 11:40 AM, Guennadi Liakhovetski

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

2012-10-10 Thread Laurent Pinchart
Hi Guennadi, On Wednesday 10 October 2012 22:32:22 Guennadi Liakhovetski wrote: On Wed, 10 Oct 2012, Sylwester Nawrocki wrote: On 10/10/2012 03:25 PM, Laurent Pinchart wrote: On Tuesday 09 October 2012 13:00:24 Hans Verkuil wrote: On Tue 9 October 2012 12:34:48 Sylwester Nawrocki wrote:

Re: [PATCH] dma-buf: Use EXPORT_SYMBOL

2012-10-10 Thread Dave Airlie
On Thu, Oct 11, 2012 at 4:17 AM, Alan Cox a...@lxorguk.ukuu.org.uk wrote: On Wed, 10 Oct 2012 08:56:32 -0700 Robert Morell rmor...@nvidia.com wrote: EXPORT_SYMBOL_GPL is intended to be used for an internal implementation issue, and not really an interface. The dma-buf infrastructure is

Re: [PATCH v4 3/3] omap3isp: Configure CSI-2 phy based on platform data

2012-10-10 Thread Laurent Pinchart
Hi Sakari, Thanks for the patch. On Wednesday 10 October 2012 23:01:42 Sakari Ailus wrote: Configure CSI-2 phy based on platform data in the ISP driver. For that, the new V4L2_CID_IMAGE_SOURCE_PIXEL_RATE control is used. Previously the same was configured from the board code. This patch is

Re: [PATCH v4 2/3] omap3isp: Add PHY routing configuration

2012-10-10 Thread Laurent Pinchart
Hi Sakari, Thanks for the patch. On Wednesday 10 October 2012 23:01:41 Sakari Ailus wrote: Add PHY routing configuration for both 3430 and 3630. Also add register bit definitions of CSIRXFE and CAMERA_PHY_CTRL registers on OMAP 3430 and 3630, respectively. Signed-off-by: Sakari Ailus

Re: [PATCH] dma-buf: Use EXPORT_SYMBOL

2012-10-10 Thread Mauro Carvalho Chehab
Em Thu, 11 Oct 2012 09:22:34 +1000 Dave Airlie airl...@gmail.com escreveu: On Thu, Oct 11, 2012 at 4:17 AM, Alan Cox a...@lxorguk.ukuu.org.uk wrote: On Wed, 10 Oct 2012 08:56:32 -0700 Robert Morell rmor...@nvidia.com wrote: EXPORT_SYMBOL_GPL is intended to be used for an internal

Re: [PATCH] dma-buf: Use EXPORT_SYMBOL

2012-10-10 Thread Dave Airlie
On Thu, Oct 11, 2012 at 4:17 AM, Alan Cox a...@lxorguk.ukuu.org.uk wrote: On Wed, 10 Oct 2012 08:56:32 -0700 Robert Morell rmor...@nvidia.com wrote: EXPORT_SYMBOL_GPL is intended to be used for an internal implementation issue, and not really an interface. The dma-buf infrastructure is

Re: udev breakages -

2012-10-10 Thread Eric W. Biederman
Greg KH gre...@linuxfoundation.org writes: On Thu, Oct 04, 2012 at 10:29:51AM -0700, Eric W. Biederman wrote: There are still quite a few interesting cases that devtmpfs does not even think about supporting. Cases that were reported when devtmpfs was being reviewed. Care to refresh my

  1   2   >