RE: OMAP3ISP boot problem

2011-12-10 Thread Alex Gershgorin
Hi All, I have problem in booting the Kernel. Here the problematic part of the boot message. As I understand it happens when isp_probe calling and it calls isp-iommu_dev = omap_find_iommu_device(isp); [1.976715] Linux media interface: v0.10 [1.981781] Linux video capture interface:

Re: OMAP3ISP boot problem

2011-12-10 Thread Sakari Ailus
Hi Alex, Alex Gershgorin wrote: Hi All, I have problem in booting the Kernel. Here the problematic part of the boot message. As I understand it happens when isp_probe calling and it calls isp-iommu_dev = omap_find_iommu_device(isp); [1.976715] Linux media interface: v0.10 [1.981781]

RE: OMAP3ISP boot problem

2011-12-10 Thread Alex Gershgorin
Hi Sakari, Thank you for your quick response and sorry for stupid question. Yes CONFIG_OMAP_IOMMU and CONFIG_OMAP_IOVMM enabled, because OMAP 3 camera controller depends on the CONFIG_OMAP_IOVMM and CONFIG_OMAP_IOMMU. Please tell me how I can use dmabuf instead of the IOMMU/IOVMM API.

Re: OMAP3ISP boot problem

2011-12-10 Thread Sakari Ailus
Alex Gershgorin wrote: Hi Sakari, Thank you for your quick response and sorry for stupid question. Yes CONFIG_OMAP_IOMMU and CONFIG_OMAP_IOVMM enabled, because OMAP 3 camera controller depends on the CONFIG_OMAP_IOVMM and CONFIG_OMAP_IOMMU. Please tell me how I can use dmabuf instead of the

Re: [RFC] Resolution change support in video codecs in v4l2

2011-12-10 Thread 'Sakari Ailus'
Hi Mauro, On Tue, Dec 06, 2011 at 02:39:41PM -0200, Mauro Carvalho Chehab wrote: ... I think that still it should contain no useful data, just *_FORMAT_CHANGED | *_ERROR flags set. Then the application could decide whether it keeps the current size/alignment/... or should it allocate new

[GIT PATCHES FOR 3.2] Samsung driver fixes

2011-12-10 Thread Sylwester Nawrocki
Hi Mauro, Here is a couple of fixes for samsung v4l2 drivers. These patches are on top of my previous pull request: http://patchwork.linuxtv.org/patch/8479/ Please pull for v3.2. The following changes since commit 0f8fe5e4eb2f764bb04cece78eb58206018e5365: m5mols: Fix set_fmt to return

Re: [RFC/PATCH 0/5] v4l: New camera controls

2011-12-10 Thread Sakari Ailus
Hi, all! On Wed, Dec 07, 2011 at 11:32:38AM +0100, Sylwester Nawrocki wrote: Hi Laurent, On 12/06/2011 01:34 PM, Laurent Pinchart wrote: On Sunday 04 December 2011 16:16:11 Sylwester Nawrocki wrote: Hi All, I put some effort in preparing a documentation for a couple of new controls

Re: [PATCH] DVB: dvb_frontend: fix delayed thread exit

2011-12-10 Thread Mauro Carvalho Chehab
On 10-12-2011 00:25, Devin Heitmueller wrote: Hello Andreas, On Fri, Dec 9, 2011 at 9:06 PM, Andreas Oberrittero...@linuxtv.org wrote: WTF, Devin, you again? I haven't asked anyone to upstream it. Feel free to analyze the code and resubmit it. 1. It's marked with a subject line that starts

Re: [RFC/PATCH 1/5] v4l: Convert V4L2_CID_FOCUS_AUTO control to a menu control

2011-12-10 Thread Sakari Ailus
Hi Sylwester, On Sun, Dec 04, 2011 at 04:16:12PM +0100, Sylwester Nawrocki wrote: Change the V4L2_CID_FOCUS_AUTO control type from boolean to a menu type. In case of boolean control we had values 0 and 1 corresponding to manual and automatic focus respectively. The V4L2_CID_FOCUS_AUTO menu

Re: [RFC/PATCH 3/5] v4l: Add V4L2_CID_METERING_MODE camera control

2011-12-10 Thread Sakari Ailus
Hi Laurent and Sylwester, On Wed, Dec 07, 2011 at 12:09:09PM +0100, Sylwester Nawrocki wrote: On 12/06/2011 05:27 PM, Sylwester Nawrocki wrote: + entryconstantV4L2_METERING_MODE_CENTER_WEIGHTED/constantnbsp;/entr y +entryAverage the light information coming from

Re: [PATCH] DVB: dvb_frontend: fix delayed thread exit

2011-12-10 Thread Mauro Carvalho Chehab
On 09-12-2011 23:37, Andreas Oberritter wrote: On 10.12.2011 00:43, Mauro Carvalho Chehab wrote: On 09-12-2011 21:37, Mauro Carvalho Chehab wrote: On 09-12-2011 20:33, Devin Heitmueller wrote: On Fri, Dec 9, 2011 at 5:11 PM, Mauro Carvalho Chehab mche...@redhat.com wrote: Could someone

Re: [Linaro-mm-sig] [RFC v2 1/2] dma-buf: Introduce dma buffer sharing mechanism

2011-12-10 Thread Mauro Carvalho Chehab
On 09-12-2011 20:50, Robert Morell wrote: On Mon, Dec 05, 2011 at 09:18:48AM -0800, Arnd Bergmann wrote: On Friday 02 December 2011, Sumit Semwal wrote: This is the first step in defining a dma buffer sharing mechanism. [...] + return dmabuf; +} +EXPORT_SYMBOL(dma_buf_export); I

Re: [PATCHv2] [media] drxk: Switch the delivery system on FE_SET_PROPERTY

2011-12-10 Thread Mauro Carvalho Chehab
On 10-12-2011 02:00, Oliver Endriss wrote: On Friday 09 December 2011 20:00:12 Mauro Carvalho Chehab wrote: The DRX-K doesn't change the delivery system at set_properties, but do it at frontend init. This causes problems on programs like w_scan that, by default, opens both frontends. Use

Re: v4 [PATCH 09/10] CXD2820r: Query DVB frontend delivery capabilities

2011-12-10 Thread Antti Palosaari
Hello Manu, That patch looks now much acceptable than the older for my eyes, since you removed that .set_state() (change from .set_params() to .set_state()) I criticized. Thanks! On 12/10/2011 06:44 AM, Manu Abraham wrote: static int cxd2820r_set_frontend(struct dvb_frontend *fe, [...]

Re: v4 [PATCH 06/10] DVB: Use a unique delivery system identifier for DVBC_ANNEX_C

2011-12-10 Thread Mauro Carvalho Chehab
On 10-12-2011 02:43, Manu Abraham wrote: From 92a79a1e0a1b5403f06f60661f00ede365b10108 Mon Sep 17 00:00:00 2001 From: Manu Abraham abraham.m...@gmail.com Date: Thu, 24 Nov 2011 17:09:09 +0530 Subject: [PATCH 06/10] DVB: Use a unique delivery system identifier for DVBC_ANNEX_C, just like any

Re: v4 [PATCH 07/10] TDA18271: Allow frontend to set DELSYS

2011-12-10 Thread Mauro Carvalho Chehab
On 10-12-2011 02:43, Manu Abraham wrote: From 252d4ec800ba73bde8958b8c23ca92a6e17288e2 Mon Sep 17 00:00:00 2001 From: Manu Abraham abraham.m...@gmail.com Date: Thu, 24 Nov 2011 19:15:56 +0530 Subject: [PATCH 07/10] TDA18271: Allow frontend to set DELSYS, rather than querying fe-ops.info.type

Re: v4 [PATCH 07/10] TDA18271: Allow frontend to set DELSYS

2011-12-10 Thread Mauro Carvalho Chehab
On 10-12-2011 10:41, Mauro Carvalho Chehab wrote: On 10-12-2011 02:43, Manu Abraham wrote: From 252d4ec800ba73bde8958b8c23ca92a6e17288e2 Mon Sep 17 00:00:00 2001 From: Manu Abraham abraham.m...@gmail.com Date: Thu, 24 Nov 2011 19:15:56 +0530 Subject: [PATCH 07/10] TDA18271: Allow frontend to

Re: v4 [PATCH 09/10] CXD2820r: Query DVB frontend delivery capabilities

2011-12-10 Thread Mauro Carvalho Chehab
On 10-12-2011 09:47, Antti Palosaari wrote: Hello Manu, That patch looks now much acceptable than the older for my eyes, since you removed that .set_state() (change from .set_params() to .set_state()) I criticized. Thanks! On 12/10/2011 06:44 AM, Manu Abraham wrote: static int

Re: v4 [PATCH 08/10] TDA18271c2dd: Allow frontend to set DELSYS

2011-12-10 Thread Mauro Carvalho Chehab
On 10-12-2011 02:44, Manu Abraham wrote: From 707877f5a61b3259704d42e7dd5e647e9196e9a4 Mon Sep 17 00:00:00 2001 From: Manu Abraham abraham.m...@gmail.com Date: Thu, 24 Nov 2011 19:56:34 +0530 Subject: [PATCH 08/10] TDA18271c2dd: Allow frontend to set DELSYS, rather than querying

[PATCH] [media] v4l: s5p-tv: Use kcalloc instead of kzalloc to allocate array

2011-12-10 Thread Thomas Meyer
The advantage of kcalloc is, that will prevent integer overflows which could result from the multiplication of number of elements and size and it is also a bit nicer to read. The semantic patch that makes this change is available in https://lkml.org/lkml/2011/11/25/107 Signed-off-by: Thomas

[PATCH] [media] uvcvideo: Use kcalloc instead of kzalloc to allocate array

2011-12-10 Thread Thomas Meyer
The advantage of kcalloc is, that will prevent integer overflows which could result from the multiplication of number of elements and size and it is also a bit nicer to read. The semantic patch that makes this change is available in https://lkml.org/lkml/2011/11/25/107 Signed-off-by: Thomas

[PATCH] [media] xc4000: Use kcalloc instead of kzalloc to allocate array

2011-12-10 Thread Thomas Meyer
The advantage of kcalloc is, that will prevent integer overflows which could result from the multiplication of number of elements and size and it is also a bit nicer to read. The semantic patch that makes this change is available in https://lkml.org/lkml/2011/11/25/107 Signed-off-by: Thomas

[PATCH] [media] v4l2-ctrls: Use kcalloc instead of kzalloc to allocate array

2011-12-10 Thread Thomas Meyer
The advantage of kcalloc is, that will prevent integer overflows which could result from the multiplication of number of elements and size and it is also a bit nicer to read. The semantic patch that makes this change is available in https://lkml.org/lkml/2011/11/25/107 Signed-off-by: Thomas

Re: v4 [PATCH 00/10] Query DVB frontend delivery capabilities

2011-12-10 Thread Mauro Carvalho Chehab
On 10-12-2011 02:41, Manu Abraham wrote: Hi, As discussed prior, the following changes help to advertise a frontend's delivery system capabilities. Sending out the patches as they are being worked out. The following patch series are applied against media_tree.git after the following

Re: v4 [PATCH 00/10] Query DVB frontend delivery capabilities

2011-12-10 Thread Mauro Carvalho Chehab
On 10-12-2011 02:41, Manu Abraham wrote: Hi, As discussed prior, the following changes help to advertise a frontend's delivery system capabilities. Sending out the patches as they are being worked out. The following patch series are applied against media_tree.git after the following

Re: v4 [PATCH 09/10] CXD2820r: Query DVB frontend delivery capabilities

2011-12-10 Thread Antti Palosaari
On 12/10/2011 02:47 PM, Mauro Carvalho Chehab wrote: On 10-12-2011 09:47, Antti Palosaari wrote: Hello Manu, That patch looks now much acceptable than the older for my eyes, since you removed that .set_state() (change from .set_params() to .set_state()) I criticized. Thanks! On 12/10/2011

Re: v4 [PATCH 00/10] Query DVB frontend delivery capabilities

2011-12-10 Thread Antti Palosaari
On 12/10/2011 03:08 PM, Mauro Carvalho Chehab wrote: A separate issue: please, don't send patches like that as attachment. It makes hard for people review. Instead, you should use git send-email. There's even an example there (at least on git version 1.7.8) showing how to set it for Google: $

Re: v4 [PATCH 09/10] CXD2820r: Query DVB frontend delivery capabilities

2011-12-10 Thread Mauro Carvalho Chehab
On 10-12-2011 11:09, Antti Palosaari wrote: On 12/10/2011 02:47 PM, Mauro Carvalho Chehab wrote: On 10-12-2011 09:47, Antti Palosaari wrote: Hello Manu, That patch looks now much acceptable than the older for my eyes, since you removed that .set_state() (change from .set_params() to

Re: v4 [PATCH 00/10] Query DVB frontend delivery capabilities

2011-12-10 Thread Mauro Carvalho Chehab
On 10-12-2011 11:15, Antti Palosaari wrote: On 12/10/2011 03:08 PM, Mauro Carvalho Chehab wrote: A separate issue: please, don't send patches like that as attachment. It makes hard for people review. Instead, you should use git send-email. There's even an example there (at least on git version

RE: OMAP3ISP boot problem

2011-12-10 Thread Alex Gershgorin
Hi Sakari, Thank you for your quick response and sorry for stupid question. Yes CONFIG_OMAP_IOMMU and CONFIG_OMAP_IOVMM enabled, because OMAP 3 camera controller depends on the CONFIG_OMAP_IOVMM and CONFIG_OMAP_IOMMU. Please tell me how I can use dmabuf instead of the IOMMU/IOVMM API.

Re: [PATCH] DVB: dvb_frontend: fix delayed thread exit

2011-12-10 Thread Devin Heitmueller
Hello Mauro, On Sat, Dec 10, 2011 at 5:28 AM, Mauro Carvalho Chehab mche...@redhat.com wrote: Devin, You're over-reacting. This patch were a reply from Andreas to a thread, and not a separate patch submission. Patches like are generally handled as RFC, especially since it doesn't contain a

Re: Hauppauge HVR-930C problems

2011-12-10 Thread Fredrik Lingvall
On 12/08/11 16:02, Mauro Carvalho Chehab wrote: #!/bin/bash for i in `seq 1 20`; do w_scan -fc -c NO 1 scan$i.log 2 scan$i.log done And I get outputs like this (the timing numbers differs of course somewhat between different runs): snip 586000: sr6900 (time: 10:21) sr6875 (time: 10:23)

Re: [RFC/PATCH] v4l: Add V4L2_CID_FLASH_HW_STROBE_MODE control

2011-12-10 Thread Sylwester Nawrocki
Hi Sakari, On 12/05/2011 11:41 PM, Sakari Ailus wrote: On Mon, Dec 05, 2011 at 08:56:46PM +0100, Sylwester Nawrocki wrote: The V4L2_CID_FLASH_HW_STROBE_MODE mode control is intended for devices that are source of an external flash strobe for flash devices. This part seems to be missing in

Re: [RFC/PATCH 3/5] v4l: Add V4L2_CID_METERING_MODE camera control

2011-12-10 Thread Sylwester Nawrocki
Hi Sakari, On 12/10/2011 11:44 AM, Sakari Ailus wrote: On Wed, Dec 07, 2011 at 12:09:09PM +0100, Sylwester Nawrocki wrote: On 12/06/2011 05:27 PM, Sylwester Nawrocki wrote: + entryconstantV4L2_METERING_MODE_CENTER_WEIGHTED/constantnbsp;/entr y +entryAverage the

Re: [RFC/PATCH 1/5] v4l: Convert V4L2_CID_FOCUS_AUTO control to a menu control

2011-12-10 Thread Sylwester Nawrocki
Hi Sakari, On 12/10/2011 11:33 AM, Sakari Ailus wrote: On Sun, Dec 04, 2011 at 04:16:12PM +0100, Sylwester Nawrocki wrote: Change the V4L2_CID_FOCUS_AUTO control type from boolean to a menu type. In case of boolean control we had values 0 and 1 corresponding to manual and automatic focus

Re: OMAP3ISP boot problem

2011-12-10 Thread Laurent Pinchart
Hi Alex, On Saturday 10 December 2011 14:36:17 Alex Gershgorin wrote: Hi Sakari, Thank you for your quick response and sorry for stupid question. Yes CONFIG_OMAP_IOMMU and CONFIG_OMAP_IOVMM enabled, because OMAP 3 camera controller depends on the CONFIG_OMAP_IOVMM and

Re: [PATCH 0/1] xc3028: fix center frequency calculation for DTV78 firmware

2011-12-10 Thread Mauro Carvalho Chehab
On 08-12-2011 10:56, Gianluca Gennari wrote: Hi all, this patch replaces the previous one proposed in the thread xc3028: force reload of DTV7 firmware in VHF band with Zarlink demodulator. The problem is that the firmware DTV78 works fine in UHF band (8 MHz bandwidth) but is not working at all

Re: Hauppauge HVR-930C problems

2011-12-10 Thread Mauro Carvalho Chehab
On 10-12-2011 11:43, Fredrik Lingvall wrote: On 12/08/11 16:02, Mauro Carvalho Chehab wrote: #!/bin/bash for i in `seq 1 20`; do w_scan -fc -c NO 1 scan$i.log 2 scan$i.log done And I get outputs like this (the timing numbers differs of course somewhat between different runs): snip 586000:

Re: [PATCH] DVB: dvb_frontend: fix delayed thread exit

2011-12-10 Thread Mauro Carvalho Chehab
On 10-12-2011 11:43, Devin Heitmueller wrote: Hello Mauro, On Sat, Dec 10, 2011 at 5:28 AM, Mauro Carvalho Chehab mche...@redhat.com wrote: Devin, You're over-reacting. This patch were a reply from Andreas to a thread, and not a separate patch submission. Patches like are generally handled

Re: v4 [PATCH 00/10] Query DVB frontend delivery capabilities

2011-12-10 Thread Mauro Carvalho Chehab
On 10-12-2011 11:15, Antti Palosaari wrote: On 12/10/2011 03:08 PM, Mauro Carvalho Chehab wrote: A separate issue: please, don't send patches like that as attachment. It makes hard for people review. Instead, you should use git send-email. There's even an example there (at least on git version

RE: OMAP3ISP boot problem

2011-12-10 Thread Alex Gershgorin
Hi Alex, On Saturday 10 December 2011 14:36:17 Alex Gershgorin wrote: Hi Sakari, Thank you for your quick response and sorry for stupid question. Yes CONFIG_OMAP_IOMMU and CONFIG_OMAP_IOVMM enabled, because OMAP 3 camera controller depends on the CONFIG_OMAP_IOVMM and

cron job: media_tree daily build: ERRORS

2011-12-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:Sat Dec 10 19:00:20 CET 2011 git hash:48763e2c6e76fbaa64229219593c1a456fd32c67 gcc version: i686-linux-gcc

Re: uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2).

2011-12-10 Thread Alex
Hi Laurent, On 12/07/2011 02:08 PM, Laurent Pinchart wrote: Hi Alex, On Wednesday 07 December 2011 11:48:36 Alex wrote: On 11/30/2011 04:51 AM, Laurent Pinchart wrote: On Monday 28 November 2011 22:53:19 Alex wrote: On 11/28/2011 10:20 PM, Laurent Pinchart wrote: On Monday 28 November 2011