[cron job] v4l-dvb daily build: WARNINGS

2011-08-26 Thread Hans Verkuil
This message is generated daily by a cron job that builds v4l-dvb for the kernels and architectures in the list below. Results of the daily build of v4l-dvb: date:Fri Aug 26 19:00:31 CEST 2011 git hash:9bed77ee2fb46b74782d0d9d14b92e9d07f3df6e gcc version: i686-linux-gcc (GCC) 4.6

Re: radio-si470x-usb.c warning: can I remove 'buf'?

2011-08-26 Thread Tobias Lorenz
Hi Hans, > While going through the compile warnings generated in the daily build I > came > across this one: > > v4l-dvb-git/drivers/media/radio/si470x/radio-si470x-usb.c: In function > 'si470x_int_in_callback': > v4l-dvb-git/drivers/media/radio/si470x/radio-si470x-usb.c:398:16: warning: > variab

Re: Embedded device and the V4L2 API support - Was: [GIT PATCHES FOR 3.1] s5p-fimc and noon010pc30 driver updates

2011-08-26 Thread Mauro Carvalho Chehab
Em 26-08-2011 12:29, Hans Verkuil escreveu: > On Friday, August 26, 2011 17:09:02 Mauro Carvalho Chehab wrote: >> Em 26-08-2011 11:16, Hans Verkuil escreveu: >>> On Friday, August 26, 2011 15:45:30 Laurent Pinchart wrote: Hi Mauro, On Thursday 25 August 2011 14:43:56 Mauro Carvalho C

Re: [PATCH/RFC v2 3/3] fbdev: sh_mobile_lcdc: Support FOURCC-based format API

2011-08-26 Thread Florian Tobias Schandinat
Hi Laurent, On 08/19/2011 09:37 AM, Laurent Pinchart wrote: > Signed-off-by: Laurent Pinchart > --- > arch/arm/mach-shmobile/board-ag5evm.c |2 +- > arch/arm/mach-shmobile/board-ap4evb.c |4 +- > arch/arm/mach-shmobile/board-mackerel.c |4 +- > drivers/video/sh_mobile_lcdcfb.c

Re: [PATCH/RFC v2 1/3] fbdev: Add FOURCC-based format configuration API

2011-08-26 Thread Florian Tobias Schandinat
Hi Laurent, hope we're close to the final thing now. Just a few minor issues. On 08/19/2011 09:37 AM, Laurent Pinchart wrote: > This API will be used to support YUV frame buffer formats in a standard > way. > > Last but not least, create a much needed fbdev API documentation and > document the f

[PATCH] drxd: fix divide error

2011-08-26 Thread Edward Sheldrake
Fix division by zero in drxd triggered by running "femon" before any DVB tuning has been done (by "scandvb" or anything else). Signed-off-by: Edward Sheldrake --- drivers/media/dvb/frontends/drxd_hard.c | 13 + 1 files changed, 9 insertions(+), 4 deletions(-) diff --git a/drivers/

Re: Embedded device and the V4L2 API support - Was: [GIT PATCHES FOR 3.1] s5p-fimc and noon010pc30 driver updates

2011-08-26 Thread Hans Verkuil
On Friday, August 26, 2011 17:09:02 Mauro Carvalho Chehab wrote: > Em 26-08-2011 11:16, Hans Verkuil escreveu: > > On Friday, August 26, 2011 15:45:30 Laurent Pinchart wrote: > >> Hi Mauro, > >> > >> On Thursday 25 August 2011 14:43:56 Mauro Carvalho Chehab wrote: > >>> Em 24-08-2011 19:29, Sakari

Re: Embedded device and the V4L2 API support - Was: [GIT PATCHES FOR 3.1] s5p-fimc and noon010pc30 driver updates

2011-08-26 Thread Mauro Carvalho Chehab
Em 26-08-2011 11:16, Hans Verkuil escreveu: > On Friday, August 26, 2011 15:45:30 Laurent Pinchart wrote: >> Hi Mauro, >> >> On Thursday 25 August 2011 14:43:56 Mauro Carvalho Chehab wrote: >>> Em 24-08-2011 19:29, Sakari Ailus escreveu: >> >> [snip] >> The question I still have on this is tha

Re: [PATCH 4/5] [media] v4l: fix copying ioctl results on failure

2011-08-26 Thread Laurent Pinchart
Hi Tomasz, On Friday 26 August 2011 15:06:06 Tomasz Stanislawski wrote: > This patch fix the handling of data passed to V4L2 ioctls. The content of > the structures is not copied if the ioctl fails. It blocks ability to > obtain any information about occurred error other then errno code. This >

Re: [PATCH 3/5] [media] v4l: simulate old crop API using extended crop/compose API

2011-08-26 Thread Laurent Pinchart
Hi Tomasz, Thanks for the patch. On Friday 26 August 2011 15:06:05 Tomasz Stanislawski wrote: > This patch allows new video drivers to work correctly with applications > that use the old-style crop API. The old crop ioctl is simulated by using > selection callbacks. > > Signed-off-by: Tomasz St

Re: omap3isp and tvp5150 hangs

2011-08-26 Thread Enrico
On Fri, Aug 26, 2011 at 12:52 PM, Gary Thomas wrote: > On 2011-08-26 04:42, Enrico wrote: >> >> Hi, >> >> i need some help to debug a kernel hang on an igep board (+ expansion) >>  when using omap3-isp and tvp5150 video capture. Kernel version is >> mainline 3.0.1 > I found that this driver is n

Re: [PATCH 1/5] [media] v4l: add support for selection api

2011-08-26 Thread Laurent Pinchart
Hi Tomasz, On Friday 26 August 2011 15:06:03 Tomasz Stanislawski wrote: > This patch introduces new api for a precise control of cropping and > composing features for video devices. The new ioctls are > VIDIOC_S_SELECTION and VIDIOC_G_SELECTION. > > Signed-off-by: Tomasz Stanislawski > Signed-of

Re: [PATCH 1/5] [media] v4l: add support for selection api

2011-08-26 Thread Laurent Pinchart
Hi Tomasz, Thanks for the patch. On Friday 26 August 2011 15:06:03 Tomasz Stanislawski wrote: > This patch introduces new api for a precise control of cropping and > composing features for video devices. The new ioctls are > VIDIOC_S_SELECTION and VIDIOC_G_SELECTION. > > Signed-off-by: Tomasz St

Re: Embedded device and the V4L2 API support - Was: [GIT PATCHES FOR 3.1] s5p-fimc and noon010pc30 driver updates

2011-08-26 Thread Hans Verkuil
On Friday, August 26, 2011 15:45:30 Laurent Pinchart wrote: > Hi Mauro, > > On Thursday 25 August 2011 14:43:56 Mauro Carvalho Chehab wrote: > > Em 24-08-2011 19:29, Sakari Ailus escreveu: > > [snip] > > > > The question I still have on this is that how should the user know which > > > video nod

Re: Satelco DVBS CAM initialisation failing

2011-08-26 Thread Stéphane Railhet
I think I have located the problem and I would like to get your opinion about it. I have patch my budget-av driver to increase a sleep during cam reset and it seems to solve a problem of initialisation with two different CAM model (one NEOTION and one SmartDTV) on all my machine. Because I'm n

Re: Embedded device and the V4L2 API support - Was: [GIT PATCHES FOR 3.1] s5p-fimc and noon010pc30 driver updates

2011-08-26 Thread Laurent Pinchart
Hi Mauro, On Thursday 25 August 2011 14:43:56 Mauro Carvalho Chehab wrote: > Em 24-08-2011 19:29, Sakari Ailus escreveu: [snip] > > The question I still have on this is that how should the user know which > > video node to access on an embedded system with a camera: the OMAP 3 ISP, > > for examp

[PATCH 5/5] [media] v4l: s5p-tv: mixer: add support for selection API

2011-08-26 Thread Tomasz Stanislawski
This patch add support for V4L2 selection API to s5p-tv driver. Moreover it removes old API for cropping. Old applications would still work because the crop ioctls are emulated using the selection API. Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park --- drivers/media/video/s5p

[PATCH 3/5] [media] v4l: simulate old crop API using extended crop/compose API

2011-08-26 Thread Tomasz Stanislawski
This patch allows new video drivers to work correctly with applications that use the old-style crop API. The old crop ioctl is simulated by using selection callbacks. Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park --- drivers/media/video/v4l2-ioctl.c | 86 +++

[PATCH 1/5] [media] v4l: add support for selection api

2011-08-26 Thread Tomasz Stanislawski
This patch introduces new api for a precise control of cropping and composing features for video devices. The new ioctls are VIDIOC_S_SELECTION and VIDIOC_G_SELECTION. Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park --- drivers/media/video/v4l2-compat-ioctl32.c |2 ++ driver

[PATCH 4/5] [media] v4l: fix copying ioctl results on failure

2011-08-26 Thread Tomasz Stanislawski
This patch fix the handling of data passed to V4L2 ioctls. The content of the structures is not copied if the ioctl fails. It blocks ability to obtain any information about occurred error other then errno code. This patch fix this issue. Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmi

[PATCH v4 0/5] v4l: extended crop/compose api

2011-08-26 Thread Tomasz Stanislawski
Hello Everyone, This is the fourth version of extended crop/compose RFC. The patch-set introduces new ioctls to V4L2 APIi for configuration of selection rectangles like crop and compose areas. Please refer to discussion below for more details about api development. http://thread.gmane.org/gmane.

Re: Is DVB ioctl FE_SET_FRONTEND broken?

2011-08-26 Thread Andreas Oberritter
On 26.08.2011 13:31, Chris Rankin wrote: > --- On Fri, 26/8/11, Andreas Oberritter wrote: >> I first thought that you were talking about a >> regression in Linux 3.0.x. > > Heh, yes and no. I am talking about a regression that I am definitely seeing > in 3.0.x. However, I cannot say which kernel

[RFCv2 PATCH 8/8] saa7115: use the new auto cluster support.

2011-08-26 Thread Hans Verkuil
From: Hans Verkuil Signed-off-by: Hans Verkuil --- drivers/media/video/saa7115.c |5 + 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/drivers/media/video/saa7115.c b/drivers/media/video/saa7115.c index e443d0d..cee98ea 100644 --- a/drivers/media/video/saa7115.c +++ b/dri

[RFCv2 PATCH 5/8] pwc: switch to the new auto-cluster volatile handling.

2011-08-26 Thread Hans Verkuil
From: Hans Verkuil Now that the auto cluster core changed to a different scheme of how to handle volatile controls (including how to switch from auto to manual mode) the pwc code can be simplified to use that new core support. Signed-off-by: Hans Verkuil --- drivers/media/video/pwc/pwc-v4l.c |

[RFCv2 PATCH 7/8] pwc: add support for VIDIOC_LOG_STATUS.

2011-08-26 Thread Hans Verkuil
From: Hans Verkuil Signed-off-by: Hans Verkuil --- drivers/media/video/pwc/pwc-v4l.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/drivers/media/video/pwc/pwc-v4l.c b/drivers/media/video/pwc/pwc-v4l.c index d15ae89..bdc369c 100644 --- a/drivers/media/video/pw

[RFCv2 PATCH 4/8] v4l2-controls.txt: update auto cluster documentation.

2011-08-26 Thread Hans Verkuil
From: Hans Verkuil Signed-off-by: Hans Verkuil --- Documentation/video4linux/v4l2-controls.txt | 34 +- 1 files changed, 12 insertions(+), 22 deletions(-) diff --git a/Documentation/video4linux/v4l2-controls.txt b/Documentation/video4linux/v4l2-controls.txt index f92

[RFCv2 PATCH 6/8] vivi: add support for VIDIOC_LOG_STATUS.

2011-08-26 Thread Hans Verkuil
From: Hans Verkuil Signed-off-by: Hans Verkuil --- drivers/media/video/vivi.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/drivers/media/video/vivi.c b/drivers/media/video/vivi.c index a848bd2..da6149c 100644 --- a/drivers/media/video/vivi.c +++ b/drivers/med

[RFCv2 PATCH 2/8] v4l2-ctrls: replace is_volatile with V4L2_CTRL_FLAG_VOLATILE.

2011-08-26 Thread Hans Verkuil
From: Hans Verkuil With the new flag there is no need anymore to have a separate is_volatile field. Modify all users to use the new flag. Signed-off-by: Hans Verkuil --- Documentation/video4linux/v4l2-controls.txt | 13 - drivers/media/radio/radio-wl1273.c |2 +- drivers

[RFCv2 PATCH 3/8] v4l2-ctrls: implement new volatile autocluster scheme.

2011-08-26 Thread Hans Verkuil
From: Hans Verkuil The problem tackled in this patch is how to handle volatile autoclusters correctly. A volatile autocluster is a cluster of related controls where one control is the control that toggles between manual and auto mode and the other controls are the values for the manual mode. For

[RFCv2 PATCH 1/8] videodev2.h: add V4L2_CTRL_FLAG_VOLATILE.

2011-08-26 Thread Hans Verkuil
From: Hans Verkuil Add a new VOLATILE control flag that is set for volatile controls. That way applications know whether the value of the control is volatile (i.e. can change continuously) or not. Until now this was an internal property, but it is useful to know in userspace as well. A typical

[RFCv2 PATCH 0/8] Add V4L2_CTRL_FLAG_VOLATILE and change volatile autocluster handling.

2011-08-26 Thread Hans Verkuil
This is the second patch for this. The first is here: http://comments.gmane.org/gmane.linux.drivers.video-input-infrastructure/36650 This second version changes the pwc code as suggested by Hans de Goede and it adds documentation. The v4l2-ctrls.c code has also been improved to avoid unnecessary

Re: Is DVB ioctl FE_SET_FRONTEND broken?

2011-08-26 Thread Chris Rankin
--- On Fri, 26/8/11, Andreas Oberritter wrote: > I first thought that you were talking about a > regression in Linux 3.0.x. Heh, yes and no. I am talking about a regression that I am definitely seeing in 3.0.x. However, I cannot say which kernel the problem first appeared in. > This initial eve

Re: omap3isp and tvp5150 hangs

2011-08-26 Thread Gary Thomas
On 2011-08-26 04:42, Enrico wrote: Hi, i need some help to debug a kernel hang on an igep board (+ expansion) when using omap3-isp and tvp5150 video capture. Kernel version is mainline 3.0.1 When i modprobe omap3-isp (after iommu2) the device is correctly recognized: root@igep0020:~# modprob

omap3isp and tvp5150 hangs

2011-08-26 Thread Enrico
Hi, i need some help to debug a kernel hang on an igep board (+ expansion) when using omap3-isp and tvp5150 video capture. Kernel version is mainline 3.0.1 When i modprobe omap3-isp (after iommu2) the device is correctly recognized: root@igep0020:~# modprobe omap3-isp [ 122.162200] Linux video

Re: dvb_frontend.c warning: can 'timeout' be removed?

2011-08-26 Thread Andreas Oberritter
Hello Hans, On 25.08.2011 15:29, Hans Verkuil wrote: > This is the warning the daily build gives: > > v4l-dvb-git/drivers/media/dvb/dvb-core/dvb_frontend.c: In function > 'dvb_frontend_thread': > v4l-dvb-git/drivers/media/dvb/dvb-core/dvb_frontend.c:540:16: warning: > variable 'timeout' set but

Re: [PATCH 1/2] DVB: dvb_frontend: convert semaphore to mutex

2011-08-26 Thread Andreas Oberritter
On 24.08.2011 20:54, Devin Heitmueller wrote: > On Wed, Aug 24, 2011 at 2:08 PM, Andreas Oberritter wrote: >> Instead of wasting your time with theory, you could have easily reviewed >> my patch. It's really *very* simple any anyone having used semphores or >> mutexes in the kernel should be able

Re: Is DVB ioctl FE_SET_FRONTEND broken?

2011-08-26 Thread Andreas Oberritter
Hi Chris, reading your first message again, I realize that I was misunderstanding you. I first thought that you were talking about a regression in Linux 3.0.x. On 26.08.2011 10:50, Chris Rankin wrote: > --- On Fri, 26/8/11, Andreas Oberritter wrote: >> can you please test whether https://patchwo

Re: [PATCH] media: Fix a UVC performance problem on systems with non-coherent DMA.

2011-08-26 Thread Laurent Pinchart
Hi Al, Thanks for the patch. On Thursday 18 August 2011 15:28:29 Al Cooper wrote: > The UVC driver uses usb_alloc_coherent() to allocate DMA data buffers. > On systems without coherent DMA this ends up allocating buffers in > uncached memory. The subsequent memcpy's done to coalesce the DMA > chu

Re: Is DVB ioctl FE_SET_FRONTEND broken?

2011-08-26 Thread Chris Rankin
--- On Fri, 26/8/11, Andreas Oberritter wrote: > can you please test whether https://patchwork.kernel.org/patch/1036132/ > restores the old behaviour? > > These three pending patches are also related to frontend events: > > https://patchwork.kernel.org/patch/1036112/ > https://patchwork.kernel.or

Re: [RFC PATCH] Modify volatile auto cluster handling as per earlier discussions

2011-08-26 Thread Hans Verkuil
On Thursday, August 25, 2011 22:22:28 Hans de Goede wrote: > Hi, > > First of all thanks for doing this! Overall it looks good, > see below for several (small) remarks which I have. Thanks for the review! > On 08/09/2011 06:40 PM, Hans Verkuil wrote: > > This patch modifies the way autoclusters