RE: [PATCH v7 5/6] [media] s5p-mfc: MFCv6 register definitions

2012-10-02 Thread Arun Kumar K
Hi Jeongtae Park, I have verified the calculation. The ALIGN macro is giving a wrong result and I used the macro DIV_ROUND_UP in the v8 patchset which is giving the proper result. Regards Arun On Tue, Oct 2, 2012 at 10:58 AM, JeongTae Park jtp.p...@samsung.com wrote: Hi Arun and Sylwester,

Re: [RFCv1 API PATCH 2/4] v4l2-ctrls: add a notify callback.

2012-10-02 Thread Hans Verkuil
On Mon October 1 2012 22:01:38 Mauro Carvalho Chehab wrote: Em Thu, 27 Sep 2012 08:44:25 +0200 Hans Verkuil hverk...@xs4all.nl escreveu: On Wed September 26 2012 12:50:11 Laurent Pinchart wrote: + if (notify == NULL) { + ctrl-call_notify = 0; +

Re: [PATCH 1/5] dma-buf: remove fallback for !CONFIG_DMA_SHARED_BUFFER

2012-10-02 Thread Thomas Hellstrom
On 10/01/2012 11:47 AM, Maarten Lankhorst wrote: Op 28-09-12 21:42, Thomas Hellstrom schreef: On 09/28/2012 04:14 PM, Maarten Lankhorst wrote: Hey, Op 28-09-12 14:41, Maarten Lankhorst schreef: Documentation says that code requiring dma-buf should add it to select, so inline fallbacks are

[PATCH 0/2] Two v4l2-ioctl.c fixes

2012-10-02 Thread Hans Verkuil
The first ensures the memory allocation remains sane, the second fixes a bunch of warnings. Regards, Hans -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at

[PATCH 2/2] v4l2-ioctl: fix W=1 warnings

2012-10-02 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Since the prt_names() macro is always called with an unsigned index the ((a) = 0) condition is always true and gives a compiler warning when compiling with W=1. Rewrite the macro to avoid that warning, but cast the index to unsigned just in case it is

[PATCH 1/2] v4l2-ioctl: add blocks check for VIDIOC_SUBDEV_G/S_EDID

2012-10-02 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com The maximum size of an EDID is 32768 bytes, which is 32768 / 128 = 256 blocks. Return -EINVAL if blocks 256 to ensure that the memory allocation is sane. Signed-off-by: Hans Verkuil hans.verk...@cisco.com Reported-by: Dan Carpenter

Re: [GIT PULL FOR v3.7] Add missing vidioc-subdev-g-edid.xml.

2012-10-02 Thread Hans Verkuil
On Mon October 1 2012 20:24:56 Mauro Carvalho Chehab wrote: Em Wed, 26 Sep 2012 10:33:51 +0200 Hans Verkuil hverk...@xs4all.nl escreveu: On Tue 25 September 2012 13:56:34 Hans Verkuil wrote: Hi Mauro, As requested! I've respun this tree, fixing one documentation bug (the max

[PATCH v9 0/6] Update MFC v4l2 driver to support MFC6.x

2012-10-02 Thread Arun Kumar K
The patchset adds support for MFCv6 firmware in s5p-mfc driver. The patches are rebased to the latest media-tree. Changelog v9 - Addressed review comments by Hans Verkuil http://www.mail-archive.com/linux-media@vger.kernel.org/msg53016.html Changelog v8 - Addressed review comments by Sylwester

[PATCH v9 1/6] [media] v4l: Add fourcc definitions for new formats

2012-10-02 Thread Arun Kumar K
Adds the following new fourcc definitions. For multiplanar YCbCr - V4L2_PIX_FMT_NV21M - V4L2_PIX_FMT_NV12MT_16X16 and compressed formats - V4L2_PIX_FMT_H264_MVC - V4L2_PIX_FMT_VP8 Signed-off-by: Jeongtae Park jtp.p...@samsung.com Signed-off-by: Naveen Krishna

[PATCH v9 2/6] [media] v4l: Add control definitions for new H264 encoder features

2012-10-02 Thread Arun Kumar K
New controls are added for supporting H264 encoding features like - MVC frame packing - Flexible macroblock ordering - Arbitrary slice ordering - Hierarchical coding Signed-off-by: Jeongtae Park jtp.p...@samsung.com Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Signed-off-by: Arun

[PATCH v9 4/6] [media] s5p-mfc: Add MFC variant data to device context

2012-10-02 Thread Arun Kumar K
MFC variant data replaces various macros used in the driver which will change in a different version of MFC hardware. Also does a cleanup of MFC context structure and common files. Signed-off-by: Jeongtae Park jtp.p...@samsung.com Signed-off-by: Janghyuck Kim janghyuck@samsung.com

[PATCH v9 5/6] [media] s5p-mfc: MFCv6 register definitions

2012-10-02 Thread Arun Kumar K
From: Jeongtae Park jtp.p...@samsung.com Adds register definitions for MFC v6.x firmware Signed-off-by: Jeongtae Park jtp.p...@samsung.com Signed-off-by: Janghyuck Kim janghyuck@samsung.com Signed-off-by: Jaeryul Oh jaeryul...@samsung.com Signed-off-by: Naveen Krishna Chatradhi

Re: [PATCH RFC] dvb: LNA implementation changes

2012-10-02 Thread Hans Verkuil
On Tue 2 October 2012 02:22:55 Antti Palosaari wrote: Ping! u.data is defined __u32. Does it mean we could only use unsigned values when DVB API v5 ? Looking at the dtv_property I'd say it only supports unsigned. So you need an enum like this: enum fe_lna { LNA_AUTO,

Re: [PATCH] media: add a VEU MEM2MEM format conversion and scaling driver

2012-10-02 Thread Hans Verkuil
On Mon 1 October 2012 19:51:18 Guennadi Liakhovetski wrote: Hi Hans Thanks for the review. As you might have seen, I just posted v2 of this driver. In it I addressed almost all your comments. As for the rest: On Tue, 11 Sep 2012, Hans Verkuil wrote: On Tue 11 September 2012 15:01:19

Re: [PATCH 1/5] dma-buf: remove fallback for !CONFIG_DMA_SHARED_BUFFER

2012-10-02 Thread Daniel Vetter
On Tue, Oct 02, 2012 at 08:46:32AM +0200, Thomas Hellstrom wrote: On 10/01/2012 11:47 AM, Maarten Lankhorst wrote: I was doing a evil hack where I 'released' lru_lock to lockdep before doing the annotation for a blocking acquire, and left trylock annotations as they were. This made lockdep

Re: [PATCH v7 5/6] [media] s5p-mfc: MFCv6 register definitions

2012-10-02 Thread Sylwester Nawrocki
Hi Arun, On 10/02/2012 08:03 AM, Arun Kumar K wrote: Hi Jeongtae Park, I have verified the calculation. The ALIGN macro is giving a wrong result and I used the macro DIV_ROUND_UP in the v8 patchset which is giving the proper result. Sorry about this misleading suggestion. It should have

re: [media] af9035: add Avermedia Volar HD (A867R) support

2012-10-02 Thread Dan Carpenter
Hello Hans-Frieder Vogt, The patch 540fd4ba0533: [media] af9035: add Avermedia Volar HD (A867R) support from Apr 2, 2012, leads to the following Clang warning: drivers/media/dvb-frontends/af9033.c:467:20: warning: comparison of unsigned expression = 0 is always true

Re: [PATCH v3] media: davinci: vpif: display: separate out subdev from output

2012-10-02 Thread Sekhar Nori
On 9/25/2012 4:41 PM, Prabhakar wrote: From: Lad, Prabhakar prabhakar@ti.com vpif_display relied on a 1-1 mapping of output and subdev. This is not necessarily the case. Separate the two. So there is a list of subdevs and a list of outputs. Each output refers to a subdev and has routing

[RFC PATCH 0/3] Three more patches to fix const issues

2012-10-02 Thread Hans Verkuil
Several ioctl ops now use const, but there was some fall-out from that in drivers. Most drivers already have patches pending fixing such issues, but I didn't see any for these three. Regards, Hans -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a

[RFC PATCH 2/3] s5p-fimc: fix compiler warning

2012-10-02 Thread Hans Verkuil
drivers/media/platform/s5p-fimc/fimc-m2m.c:561:2: warning: passing argument 2 of 'fimc_m2m_try_crop' discards 'const' qualifier from pointer target type [enabled by default] drivers/media/platform/s5p-fimc/fimc-m2m.c:502:12: note: expected 'struct v4l2_crop *' but argument is of type 'const

[RFC PATCH 1/3] s5p-g2d: fix compiler warning

2012-10-02 Thread Hans Verkuil
drivers/media/platform/s5p-g2d/g2d.c:535:2: warning: passing argument 3 of 'vidioc_try_crop' discards 'const' qualifier from pointer target type [enabled by default] drivers/media/platform/s5p-g2d/g2d.c:510:12: note: expected 'struct v4l2_crop *' but argument is of type 'const struct v4l2_crop

[RFC PATCH 3/3] fsl-viu: fix compiler warning.

2012-10-02 Thread Hans Verkuil
drivers/media/platform/fsl-viu.c: In function 'vidioc_s_fbuf': drivers/media/platform/fsl-viu.c:867:32: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] This is fall-out from this commit: commit e6eb28c2207b9397d0ab56e238865a4ee95b7ef9 Author:

Re: [RFC PATCH 3/3] fsl-viu: fix compiler warning.

2012-10-02 Thread Anatolij Gustschin
On Tue, 2 Oct 2012 10:57:20 +0200 Hans Verkuil hans.verk...@cisco.com wrote: drivers/media/platform/fsl-viu.c: In function 'vidioc_s_fbuf': drivers/media/platform/fsl-viu.c:867:32: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] This is

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

2012-10-02 Thread Guennadi Liakhovetski
Hi Sylwester On Mon, 1 Oct 2012, Sylwester Nawrocki wrote: On 09/27/2012 04:07 PM, Guennadi Liakhovetski wrote: Add a V4L2 OF parser, implementing bindings, documented in Documentation/devicetree/bindings/media/v4l2.txt. Signed-off-by: Guennadi Liakhovetskig.liakhovet...@gmx.de ---

Re: [PATCH RFC] em28xx: PCTV 520e switch tda18271 to tda18271c2dd

2012-10-02 Thread Antti Palosaari
On 10/02/2012 06:17 AM, Michael Krufky wrote: On Mon, Oct 1, 2012 at 9:58 PM, Devin Heitmueller dheitmuel...@kernellabs.com wrote: On Mon, Oct 1, 2012 at 8:52 PM, Antti Palosaari cr...@iki.fi wrote: New drxk firmware download does not work with tda18271. Actual reason is more drxk driver than

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

2012-10-02 Thread Sylwester Nawrocki
Hi Guennadi, On 10/02/2012 11:49 AM, Guennadi Liakhovetski wrote: + if (!of_property_read_u32_array(node, data-lanes, data_lanes, + ARRAY_SIZE(data_lanes))) { + int i; + for (i = 0; i ARRAY_SIZE(data_lanes); i++) +

Re: [PATCH RFC] em28xx: PCTV 520e switch tda18271 to tda18271c2dd

2012-10-02 Thread Mauro Carvalho Chehab
Em Mon, 1 Oct 2012 21:43:51 -0400 Michael Krufky mkru...@linuxtv.org escreveu: On Mon, Oct 1, 2012 at 8:52 PM, Antti Palosaari cr...@iki.fi wrote: New drxk firmware download does not work with tda18271. Actual reason is more drxk driver than tda18271. Anyhow, tda18271c2dd will work as it

RE: Current media_build doesn't succeed building on kernel 3.1.10

2012-10-02 Thread Michael West
Was looking to make a better fix than trying to just remove that line while the Make was busy running so I made a quick simple backports patch. This patch can be applied to the media_build git and it will remove the devm_regulator_bulk_get function call that is not supported in pre 3.4 kernels

Re: Current media_build doesn't succeed building on kernel 3.1.10

2012-10-02 Thread Hans Verkuil
On Tue 2 October 2012 12:42:10 Michael West wrote: Was looking to make a better fix than trying to just remove that line while the Make was busy running so I made a quick simple backports patch. This patch can be applied to the media_build git and it will remove the devm_regulator_bulk_get

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

2012-10-02 Thread Guennadi Liakhovetski
On Tue, 2 Oct 2012, Sylwester Nawrocki wrote: Hi Guennadi, On 10/02/2012 11:49 AM, Guennadi Liakhovetski wrote: + if (!of_property_read_u32_array(node, data-lanes, data_lanes, + ARRAY_SIZE(data_lanes))) { + int i; + for (i = 0; i

Re: [PATCH RFC] em28xx: PCTV 520e switch tda18271 to tda18271c2dd

2012-10-02 Thread Mauro Carvalho Chehab
Em Tue, 02 Oct 2012 12:55:55 +0300 Antti Palosaari cr...@iki.fi escreveu: On 10/02/2012 06:17 AM, Michael Krufky wrote: On Mon, Oct 1, 2012 at 9:58 PM, Devin Heitmueller dheitmuel...@kernellabs.com wrote: On Mon, Oct 1, 2012 at 8:52 PM, Antti Palosaari cr...@iki.fi wrote: New drxk

RE: [PATCH v9 0/6] Update MFC v4l2 driver to support MFC6.x

2012-10-02 Thread Kamil Debski
Hi Arun, Thank you for your hard work with these patches. I think that they are ready to be merged. Best wishes, -- Kamil Debski Linux Platform Group Samsung Poland RD Center From: Arun Kumar K [mailto:arun...@samsung.com] Sent: 02 October 2012 16:56 The patchset adds support for MFCv6

RE: [PATCH v9 1/6] [media] v4l: Add fourcc definitions for new formats

2012-10-02 Thread Kamil Debski
From: Arun Kumar K [mailto:arun...@samsung.com] Sent: 02 October 2012 16:56 Adds the following new fourcc definitions. For multiplanar YCbCr - V4L2_PIX_FMT_NV21M - V4L2_PIX_FMT_NV12MT_16X16 and compressed formats - V4L2_PIX_FMT_H264_MVC - V4L2_PIX_FMT_VP8

RE: [PATCH v9 2/6] [media] v4l: Add control definitions for new H264 encoder features

2012-10-02 Thread Kamil Debski
From: Arun Kumar K [mailto:arun...@samsung.com] Sent: 02 October 2012 16:56 New controls are added for supporting H264 encoding features like - MVC frame packing - Flexible macroblock ordering - Arbitrary slice ordering - Hierarchical coding Signed-off-by: Jeongtae Park

RE: [PATCH v9 4/6] [media] s5p-mfc: Add MFC variant data to device context

2012-10-02 Thread Kamil Debski
From: Arun Kumar K [mailto:arun...@samsung.com] Sent: 02 October 2012 16:56 MFC variant data replaces various macros used in the driver which will change in a different version of MFC hardware. Also does a cleanup of MFC context structure and common files. Signed-off-by: Jeongtae Park

RE: [PATCH v9 5/6] [media] s5p-mfc: MFCv6 register definitions

2012-10-02 Thread Kamil Debski
From: Arun Kumar K [mailto:arun...@samsung.com] Sent: 02 October 2012 16:56 From: Jeongtae Park jtp.p...@samsung.com Adds register definitions for MFC v6.x firmware Signed-off-by: Jeongtae Park jtp.p...@samsung.com Signed-off-by: Janghyuck Kim janghyuck@samsung.com Signed-off-by:

Re: [PATCH] media: add a VEU MEM2MEM format conversion and scaling driver

2012-10-02 Thread Guennadi Liakhovetski
Hi Hans On Tue, 2 Oct 2012, Hans Verkuil wrote: On Mon 1 October 2012 19:51:18 Guennadi Liakhovetski wrote: Hi Hans Thanks for the review. As you might have seen, I just posted v2 of this driver. In it I addressed almost all your comments. As for the rest: On Tue, 11 Sep 2012,

Re: [Linaro-mm-sig] [RFC] New dma_buf - EGLImage EGL extension

2012-10-02 Thread Maarten Lankhorst
Hey, Bit late reply, hopefully not too late. Op 30-08-12 16:00, Tom Cooksey schreef: Hi All, Over the last few months I've been working on off with a few people from Linaro on a new EGL extension. The extension allows constructing an EGLImage from a (set of) dma_buf file descriptors,

Re: [PATCH RFC] em28xx: PCTV 520e switch tda18271 to tda18271c2dd

2012-10-02 Thread Michael Krufky
On Tue, Oct 2, 2012 at 7:05 AM, Mauro Carvalho Chehab mche...@redhat.com wrote: Btw, why do you need to read 16 registers at once, instead of just reading the needed register? read_extended and write operations are even more evil: they read/write the full set of 39 registers on each operation.

Re: [PATCH RFC] em28xx: PCTV 520e switch tda18271 to tda18271c2dd

2012-10-02 Thread Antti Palosaari
On 10/02/2012 02:05 PM, Mauro Carvalho Chehab wrote: Em Tue, 02 Oct 2012 12:55:55 +0300 Antti Palosaari cr...@iki.fi escreveu: On 10/02/2012 06:17 AM, Michael Krufky wrote: On Mon, Oct 1, 2012 at 9:58 PM, Devin Heitmueller dheitmuel...@kernellabs.com wrote: On Mon, Oct 1, 2012 at 8:52 PM,

Re: [PATCH RFC] em28xx: PCTV 520e switch tda18271 to tda18271c2dd

2012-10-02 Thread Michael Krufky
On Tue, Oct 2, 2012 at 8:29 AM, Antti Palosaari cr...@iki.fi wrote: On 10/02/2012 02:05 PM, Mauro Carvalho Chehab wrote: Em Tue, 02 Oct 2012 12:55:55 +0300 Antti Palosaari cr...@iki.fi escreveu: On 10/02/2012 06:17 AM, Michael Krufky wrote: On Mon, Oct 1, 2012 at 9:58 PM, Devin Heitmueller

Re: [PATCH RFC] em28xx: PCTV 520e switch tda18271 to tda18271c2dd

2012-10-02 Thread Antti Palosaari
On 10/02/2012 03:42 PM, Michael Krufky wrote: On Tue, Oct 2, 2012 at 8:29 AM, Antti Palosaari cr...@iki.fi wrote: On 10/02/2012 02:05 PM, Mauro Carvalho Chehab wrote: Em Tue, 02 Oct 2012 12:55:55 +0300 Antti Palosaari cr...@iki.fi escreveu: On 10/02/2012 06:17 AM, Michael Krufky wrote: On

udev breakages - was: Re: Need of an .async_probe() type of callback at driver's core - Was: Re: [PATCH] [media] drxk: change it to use request_firmware_nowait()

2012-10-02 Thread Mauro Carvalho Chehab
Hi Greg, Em Mon, 25 Jun 2012 22:55:41 -0300 Mauro Carvalho Chehab mche...@redhat.com escreveu: Em 25-06-2012 19:33, Greg KH escreveu: On Mon, Jun 25, 2012 at 05:49:25PM -0300, Mauro Carvalho Chehab wrote: Greg, Basically, the recent changes at request_firmware() exposed an issue that

Re: [PATCH] media: add a VEU MEM2MEM format conversion and scaling driver

2012-10-02 Thread Hans Verkuil
On Tue 2 October 2012 13:23:06 Guennadi Liakhovetski wrote: Hi Hans On Tue, 2 Oct 2012, Hans Verkuil wrote: On Mon 1 October 2012 19:51:18 Guennadi Liakhovetski wrote: Hi Hans Thanks for the review. As you might have seen, I just posted v2 of this driver. In it I addressed

Re: [PATCH RFC] em28xx: PCTV 520e switch tda18271 to tda18271c2dd

2012-10-02 Thread Mauro Carvalho Chehab
Em Tue, 2 Oct 2012 08:22:28 -0400 Michael Krufky mkru...@linuxtv.org escreveu: On Tue, Oct 2, 2012 at 7:05 AM, Mauro Carvalho Chehab mche...@redhat.com wrote: Btw, why do you need to read 16 registers at once, instead of just reading the needed register? read_extended and write operations

[Email blocked, contains executable attachment] [Virus email-worm:w32/mydoom.gen!a] Returned mail: see transcript for details

2012-10-02 Thread proofpoint-pps
This message and the file attached to the message, was NOT sent to the recipient, because it contains an Executable Attachment file type that is currently being blocked. A copy was also sent to the Quarantine folder “EXEstrip”. Subject: [Virus email-worm:w32/mydoom.gen!a] Returned mail: see

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

2012-10-02 Thread Rob Herring
On 09/27/2012 09:07 AM, Guennadi Liakhovetski wrote: This patch adds a document, describing common V4L2 device tree bindings. Co-authored-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de ---

omap3isp: timeout in ccdc_disable()

2012-10-02 Thread Michael Jones
Hi Laurent, I am looking at a case where the sensor may stop delivering data, at which point I want to do a STREAMOFF. In this case, the STREAMOFF takes 2s because of the wait_event_timeout() in ccdc_disable(). This wait waits for ccdc-stopping to be CCDC_STOP_FINISHED, which happens in two

Re: [PATCH RFC] em28xx: PCTV 520e switch tda18271 to tda18271c2dd

2012-10-02 Thread Antti Palosaari
On 10/02/2012 04:17 PM, Mauro Carvalho Chehab wrote: Em Tue, 2 Oct 2012 08:22:28 -0400 Michael Krufky mkru...@linuxtv.org escreveu: On Tue, Oct 2, 2012 at 7:05 AM, Mauro Carvalho Chehab mche...@redhat.com wrote: Btw, why do you need to read 16 registers at once, instead of just reading the

[PATCHv9 00/25] Integration of videobuf2 with DMABUF

2012-10-02 Thread Tomasz Stanislawski
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 patch 'v4l: vb2: add support for DMA_ATTR_NO_KERNEL_MAPPING', it will be posted as a separate patch -

[PATCHv9 01/25] v4l: Add DMABUF as a memory type

2012-10-02 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

[PATCHv9 02/25] Documentation: media: description of DMABUF importing in V4L2

2012-10-02 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 |

[PATCHv9 03/25] v4l: vb2: add support for shared buffer (dma_buf)

2012-10-02 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

[PATCHv9 04/25] v4l: vb: remove warnings about MEMORY_DMABUF

2012-10-02 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 ---

[PATCHv9 05/25] v4l: vb2-dma-contig: shorten vb2_dma_contig prefix to vb2_dc

2012-10-02 Thread Tomasz Stanislawski
From: Laurent Pinchart laurent.pinch...@ideasonboard.com Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/video/videobuf2-dma-contig.c | 36 ++-- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git

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

2012-10-02 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

[PATCHv9 07/25] v4l: vb2-dma-contig: reorder functions

2012-10-02 Thread Tomasz Stanislawski
From: Laurent Pinchart laurent.pinch...@ideasonboard.com Group functions by buffer type. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/video/videobuf2-dma-contig.c | 92 1 file changed, 54 insertions(+), 38 deletions(-) diff

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

2012-10-02 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

[PATCHv9 09/25] v4l: vb2: add prepare/finish callbacks to allocators

2012-10-02 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 ---

[PATCHv9 10/25] v4l: vb2-dma-contig: add prepare/finish to dma-contig allocator

2012-10-02 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 --- drivers/media/video/videobuf2-dma-contig.c | 24

[PATCHv9 11/25] v4l: vb2-dma-contig: add support for dma_buf importing

2012-10-02 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

[PATCHv9 12/25] v4l: vb2-vmalloc: add support for dmabuf importing

2012-10-02 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 ---

[PATCHv9 13/25] v4l: vivi: support for dmabuf importing

2012-10-02 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 --- drivers/media/video/vivi.c |2 +- 1 file changed, 1 insertion(+), 1

[PATCHv9 14/25] v4l: s5p-tv: mixer: support for dmabuf importing

2012-10-02 Thread Tomasz Stanislawski
This patch enhances s5p-tv 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 --- drivers/media/video/s5p-tv/mixer_video.c |2 +- 1 file changed, 1

[PATCHv9 15/25] v4l: s5p-fimc: support for dmabuf importing

2012-10-02 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 ---

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

2012-10-02 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

[PATCHv9 17/25] Documentation: media: description of DMABUF exporting in V4L2

2012-10-02 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|

[PATCHv9 18/25] v4l: add buffer exporting via dmabuf

2012-10-02 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

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

2012-10-02 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 ---

[PATCHv9 20/25] v4l: vb2-dma-contig: add support for DMABUF exporting

2012-10-02 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 --- drivers/media/video/videobuf2-dma-contig.c | 200 1 file changed,

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

2012-10-02 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

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

2012-10-02 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

[PATCHv9 23/25] v4l: s5p-fimc: support for dmabuf exporting

2012-10-02 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 --- drivers/media/video/s5p-fimc/fimc-capture.c

[PATCHv9 24/25] v4l: s5p-tv: mixer: support for dmabuf exporting

2012-10-02 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 --- drivers/media/video/s5p-tv/mixer_video.c | 10 ++ 1 file changed, 10

[PATCHv9 25/25] v4l: s5p-mfc: support for dmabuf exporting

2012-10-02 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 --- drivers/media/video/s5p-mfc/s5p_mfc_dec.c | 14

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

2012-10-02 Thread Guennadi Liakhovetski
Hi Rob On Tue, 2 Oct 2012, Rob Herring wrote: On 09/27/2012 09:07 AM, Guennadi Liakhovetski wrote: This patch adds a document, describing common V4L2 device tree bindings. Co-authored-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Guennadi Liakhovetski

[PATCH 2/2] tda18271: properly report read errors in tda18271_get_id

2012-10-02 Thread Michael Krufky
Until now, if there is a read error in tda18271_get_id, the driver reports Unknown device... Instead, check the return value of tda18271_read_regs and display the appropriate error message. Signed-off-by: Michael Krufky mkru...@linuxtv.org --- drivers/media/tuners/tda18271-fe.c | 10

[PATCH 1/2] tda18271: delay IR RF calibration until init() if delay_cal is set

2012-10-02 Thread Michael Krufky
if the configuration option 'delay_cal' is set, delay both IR RF calibration until init() is called. both module option 'cal' or configuration option 'rf_cal_on_startup' will override this delay. it makes no sense to mix 'delay_cal' with 'rf_cal_on_startup' as these options conflict with each

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

2012-10-02 Thread Tony Lindgren
* Ido Yariv i...@wizery.com [121001 15:48]: Commit c49f34bc (ARM: OMAP2+ Move SoC specific headers to be local to mach-omap2) moved omap34xx.h to mach-omap2. This broke omap3isp, as it includes omap34xx.h. Instead of moving omap34xx to platform_data, simply add the two definitions the

Re: udev breakages - was: Re: Need of an .async_probe() type of callback at driver's core - Was: Re: [PATCH] [media] drxk: change it to use request_firmware_nowait()

2012-10-02 Thread Linus Torvalds
On Tue, Oct 2, 2012 at 6:03 AM, Mauro Carvalho Chehab mche...@redhat.com wrote: I basically tried a few different approaches, including deferred probe(), as you suggested, and request_firmware_async(), as Kay suggested. Stop this crazy. FIX UDEV ALREADY, DAMMIT. Who maintains udev these days?

Re: [PATCH v2 2/5] iommu/omap: Merge iommu2.h into iommu.h

2012-10-02 Thread Tony Lindgren
* Ido Yariv i...@wizery.com [121001 15:48]: Since iommu is not supported on OMAP1 and will not likely to ever be supported, merge plat/iommu2.h into iommu.h so only one file would have to move to platform_data/ as part of the single zImage effort. Thanks I'll be applying patches 2 - 5 once we

[GIT PULL] defer calibration until init() properly report read errors in tda18271_get_id() | git://git.linuxtv.org/mkrufky/tuners tda18271

2012-10-02 Thread Michael Krufky
The following changes since commit d48ecc46fa9340bdefa654912093ccfe11886639: tda18271: make 'low-power standby mode after attach' multi-instance safe (2012-09-29 15:06:23 -0400) are available in the git repository at: git://git.linuxtv.org/mkrufky/tuners tda18271 for you to fetch changes

[GIT PULL FOR 3.7] Samsung Exynos MFC driver update

2012-10-02 Thread Sylwester Nawrocki
Hi Mauro, The following changes since commit 34a6b7d093d8fe738ada191b36648d00bc18b7eb: [media] v4l2-ctrls: add a filter function to v4l2_ctrl_add_handler (2012-10-01 17:07:07 -0300) are available in the git repository at: git://git.infradead.org/users/kmpark/linux-2.6-samsung

Re: [PATCH v9 0/6] Update MFC v4l2 driver to support MFC6.x

2012-10-02 Thread Sylwester Nawrocki
Hello, On 10/02/2012 01:16 PM, Kamil Debski wrote: Hi Arun, Thank you for your hard work with these patches. I think that they are ready to be merged. I've just picked up these patches and have sent the pull request. Thanks, Sylwester -- To unsubscribe from this list: send the line

Re: [media-workshop] [ANNOUNCE] media workshop in November

2012-10-02 Thread Michael Krufky
On Wed, Sep 19, 2012 at 4:11 AM, Mauro Carvalho Chehab mche...@redhat.com wrote: Dear developers, We're feeling the need for one more media workshop this year. As there will be already several developers going to LinuxCon Europe and Embedded Linux Conference Europe, we'll be co-locating the

Re: [GIT PULL FOR 3.7] Samsung Exynos MFC driver update

2012-10-02 Thread Mauro Carvalho Chehab
Em Tue, 02 Oct 2012 18:58:47 +0200 Sylwester Nawrocki s.nawro...@samsung.com escreveu: Hi Mauro, The following changes since commit 34a6b7d093d8fe738ada191b36648d00bc18b7eb: [media] v4l2-ctrls: add a filter function to v4l2_ctrl_add_handler (2012-10-01 17:07:07 -0300) are available

[PATCH] em28xx: Make all em28xx extensions to be initialized asynchronously

2012-10-02 Thread Mauro Carvalho Chehab
em28xx-dvb, em28xx-alsa and em28xx-ir are typically initialized asyncrhronously. The exception for it is when those modules are loaded before em28xx (or before an em28xx card insertion) or when they're built in. Make the extentions to always load asynchronously. That allows having all DVB

[PATCH 2/2] em28xx: regression fix: use DRX-K sync firmware requests on em28xx

2012-10-02 Thread Mauro Carvalho Chehab
As em28xx-dvb will always be initialized asynchronously, there's no need anymore for a separate thread to load the DRX-K firmware. Fixes a known regression with kernel 3.6 with tda18271 driver and asynchronous DRX-K firmware load. Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com ---

[PATCH 1/2] drxk: allow loading firmware synchrousnously

2012-10-02 Thread Mauro Carvalho Chehab
Due to udev-182, the firmware load was changed to be async, as otherwise udev would give up of loading a firmware. Add an option to return to the previous behaviour, async firmware loads cause failures with the tda18271 driver. Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com ---

Re: [PATCH] em28xx: Make all em28xx extensions to be initialized asynchronously

2012-10-02 Thread Antti Palosaari
On 10/02/2012 09:39 PM, Mauro Carvalho Chehab wrote: em28xx-dvb, em28xx-alsa and em28xx-ir are typically initialized asyncrhronously. The exception for it is when those modules are loaded before em28xx (or before an em28xx card insertion) or when they're built in. Make the extentions to always

Re: [PATCH 1/2] drxk: allow loading firmware synchrousnously

2012-10-02 Thread Antti Palosaari
On 10/02/2012 10:05 PM, Mauro Carvalho Chehab wrote: Due to udev-182, the firmware load was changed to be async, as otherwise udev would give up of loading a firmware. Add an option to return to the previous behaviour, async firmware loads cause failures with the tda18271 driver.

Re: [PATCH 2/2] em28xx: regression fix: use DRX-K sync firmware requests on em28xx

2012-10-02 Thread Antti Palosaari
On 10/02/2012 10:05 PM, Mauro Carvalho Chehab wrote: As em28xx-dvb will always be initialized asynchronously, there's no need anymore for a separate thread to load the DRX-K firmware. Fixes a known regression with kernel 3.6 with tda18271 driver and asynchronous DRX-K firmware load.

cron job: media_tree daily build: ERRORS

2012-10-02 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:Tue Oct 2 19:00:14 CEST 2012 git hash:5565a2ad47cdd8e697a28137bd8379455667bc1c gcc version: i686-linux-gcc

Re: [PATCH] Add toggle to the tt3650_rc_query function of the ttusb2 driver

2012-10-02 Thread Hans Petter Selasky
On Saturday 08 September 2012 19:08:22 Jose Alberto Reguero wrote: This patch add the toggle bit to the tt3650_rc_query function of the ttusb2 driver. Signed-off-by: Jose Alberto Reguero jaregu...@telefonica.net Jose Alberto Hi, This patch looks OK. Regarding the TTUSB2 support, I see

Re: [GIT PULL FOR 3.7] Samsung Exynos MFC driver update

2012-10-02 Thread Sylwester Nawrocki
On 10/02/2012 08:06 PM, Mauro Carvalho Chehab wrote: Em Tue, 02 Oct 2012 18:58:47 +0200 Sylwester Nawrockis.nawro...@samsung.com escreveu: Hi Mauro, The following changes since commit 34a6b7d093d8fe738ada191b36648d00bc18b7eb: [media] v4l2-ctrls: add a filter function to

Re: udev breakages - was: Re: Need of an .async_probe() type of callback at driver's core - Was: Re: [PATCH] [media] drxk: change it to use request_firmware_nowait()

2012-10-02 Thread Ivan Kalvachev
On 10/2/12, Linus Torvalds torva...@linux-foundation.org wrote: On Tue, Oct 2, 2012 at 6:03 AM, Mauro Carvalho Chehab mche...@redhat.com wrote: I basically tried a few different approaches, including deferred probe(), as you suggested, and request_firmware_async(), as Kay suggested. Stop

Re: [PATCH 2/2] V4L: soc_camera: disable I2C subdev streamon for mpc52xx_csi

2012-10-02 Thread Guennadi Liakhovetski
Hi Anatolij +#if !defined(CONFIG_VIDEO_MPC52xx_CSI) \ +!defined(CONFIG_VIDEO_MPC52xx_CSI_MODULE) No, we're not adding any preprocessor or run-time hardware dependencies to soc-camera or to any other generic code. I have no idea what those IFM O2D cameras are. If it's their

Re: udev breakages - was: Re: Need of an .async_probe() type of callback at driver's core - Was: Re: [PATCH] [media] drxk: change it to use request_firmware_nowait()

2012-10-02 Thread Greg KH
On Tue, Oct 02, 2012 at 09:33:03AM -0700, Linus Torvalds wrote: I don't know where the problem started in udev, but the report I saw was that udev175 was fine, and udev182 was broken, and would deadlock if module_init() did a request_firmware(). That kind of nested behavior is absolutely

mail lost due to a hard-drive crash

2012-10-02 Thread Guennadi Liakhovetski
Hi all The hard-drive of my mail server died last Sunday and my last back up was from Friday evening, so, I lost about 1.5 days worth of mail. I don't think I lost anything important: I saw all mails in my INBOX before powering down the system to not be able to bring it back up again:-) But

Re: udev breakages - was: Re: Need of an .async_probe() type of callback at driver's core - Was: Re: [PATCH] [media] drxk: change it to use request_firmware_nowait()

2012-10-02 Thread Greg KH
On Tue, Oct 02, 2012 at 03:12:39PM -0700, Greg KH wrote: On Tue, Oct 02, 2012 at 09:33:03AM -0700, Linus Torvalds wrote: I don't know where the problem started in udev, but the report I saw was that udev175 was fine, and udev182 was broken, and would deadlock if module_init() did a

  1   2   >