Re: [PATCH v10 1/6] video: add display_timing and videomode

2012-11-16 Thread Steffen Trumtrar
Hi Grant, On Thu, Nov 15, 2012 at 06:03:59PM +, Grant Likely wrote: On Thu, 15 Nov 2012 17:00:57 +0100, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Hi Grant, On Thursday 15 November 2012 15:47:53 Grant Likely wrote: On Thu, 15 Nov 2012 10:23:52 +0100, Steffen

How to get the DVB drivers to stop spamming my logs?

2012-11-16 Thread David Hagood
I have a MythTV box with 3 tuners: 2 USB and one PCI. One or more of the tuners' drivers keeps spamming syslog with the following (taken from the Logwatch summary): lgdt330x: i2c_read_demod_bytes: addr 0x0e select 0x58 error (ret == -71) ...: 278497 Time(s) lgdt330x:

Re: [PATCH 1/2] ARM: i.MX27: Add platform support for IRAM.

2012-11-16 Thread Sascha Hauer
On Mon, Nov 05, 2012 at 04:59:44PM +0100, Javier Martin wrote: Add support for IRAM to i.MX27 non-DT platforms using iram_init() function. Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- arch/arm/mach-imx/mm-imx27.c |3 +++ 1 file changed, 3 insertions(+) diff

Barcelona Media Summit Report

2012-11-16 Thread Hans Verkuil
Hi all, This is the report of the Barcelona Media Summit on November 8. For those who were in attendence: please correct any mistakes I may have made. My presentation for the 'Minimum Requirements for New Drivers' and the 'V4L2 Ambiguities' can be found here:

Re: How to get the DVB drivers to stop spamming my logs?

2012-11-16 Thread Mauro Carvalho Chehab
Em 16-11-2012 10:42, David Hagood escreveu: I have a MythTV box with 3 tuners: 2 USB and one PCI. One or more of the tuners' drivers keeps spamming syslog with the following (taken from the Logwatch summary): lgdt330x: i2c_read_demod_bytes: addr 0x0e select 0x58 error (ret == -71) ...:

Re: [PATCH v4] [media] vivi: Teach it to tune FPS

2012-11-16 Thread Hans Verkuil
On Wed November 7 2012 12:30:01 Kirill Smelkov wrote: On Fri, Nov 02, 2012 at 03:42:21PM +0100, Hans Verkuil wrote: Thanks for the ping, I forgot about this patch... Thanks for feedback and for waiting. I'm here again... On Tue October 23 2012 15:35:21 Kirill Smelkov wrote: On Tue,

Re: [PATCH RFC v3 1/3] V4L: Add driver for S3C244X/S3C64XX SoC series camera interface

2012-11-16 Thread Hans Verkuil
Hi Sylwester, Just one comment, see below... On Thu November 15 2012 23:05:13 Sylwester Nawrocki wrote: This patch adds V4L2 driver for Samsung S3C244X/S3C64XX SoC series camera interface. The driver exposes a subdev device node for CAMIF pixel resolution and crop control and two video

Re: [PATCH 1/4] v4l: Define video buffer flags for timestamp types

2012-11-16 Thread Hans Verkuil
On Thu November 15 2012 23:06:44 Sakari Ailus wrote: Define video buffer flags for different timestamp types. Everything up to now have used either realtime clock or monotonic clock, without a way to tell which clock the timestamp was taken from. Signed-off-by: Sakari Ailus

Re: [PATCH 2/4] v4l: Helper function for obtaining timestamps

2012-11-16 Thread Hans Verkuil
On Thu November 15 2012 23:06:45 Sakari Ailus wrote: v4l2_get_timestamp() produces a monotonic timestamp but unlike ktime_get_ts(), it uses struct timeval instead of struct timespec, saving the drivers the conversion job when getting timestamps for v4l2_buffer's timestamp field.

Re: [PATCH 3/4] v4l: Convert drivers to use monotonic timestamps

2012-11-16 Thread Hans Verkuil
On Thu November 15 2012 23:06:46 Sakari Ailus wrote: Convert drivers using wall clock time (CLOCK_REALTIME) to timestamp from the monotonic timer (CLOCK_MONOTONIC). Signed-off-by: Sakari Ailus sakari.ai...@iki.fi Acked-by: Hans Verkuil hans.verk...@cisco.com Regards, Hans -- To

Re: [PATCH 4/4] v4l: Tell user space we're using monotonic timestamps

2012-11-16 Thread Hans Verkuil
On Thu November 15 2012 23:06:47 Sakari Ailus wrote: Set buffer timestamp flags for videobuf, videobuf2 and drivers that use neither. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/pci/meye/meye.c

Re: [PATCH 4/6] uvcvideo: Set device_caps in VIDIOC_QUERYCAP

2012-11-16 Thread Hans Verkuil
On Thu September 27 2012 17:16:18 Laurent Pinchart wrote: Set the capabilities field to global capabilities, and the device_caps field to the video node capabilities. This issue was found by the v4l2-compliance tool. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com ---

Re: [PATCH 6/6] uvcvideo: Add VIDIOC_[GS]_PRIORITY support

2012-11-16 Thread Hans Verkuil
On Thu September 27 2012 17:16:20 Laurent Pinchart wrote: Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/usb/uvc/uvc_driver.c |3 ++ drivers/media/usb/uvc/uvc_v4l2.c | 45 drivers/media/usb/uvc/uvcvideo.h |

Re: [PATCH 0/6] uvcvideo: V4L2 compliance fixes

2012-11-16 Thread Hans Verkuil
Hi Laurent, My apologies for the long delay before I got around to reviewing these. On Thu September 27 2012 17:16:14 Laurent Pinchart wrote: Hi everybody, Here are 6 patches that fix V4L2 compliance issues in the uvcvideo driver found by the v4l2-compliance tool. I'm working on the

Re: [PATCH RFC v3 1/3] V4L: Add driver for S3C244X/S3C64XX SoC series camera interface

2012-11-16 Thread Alexey Klimov
Hi Sylwester, On Fri, Nov 16, 2012 at 2:05 AM, Sylwester Nawrocki sylvester.nawro...@gmail.com wrote: This patch adds V4L2 driver for Samsung S3C244X/S3C64XX SoC series camera interface. The driver exposes a subdev device node for CAMIF pixel resolution and crop control and two video

Re: [PATCH v3 2/6] Add the main bulk of core driver for SI476x code

2012-11-16 Thread Hans Verkuil
Hi Andrey, I'm really sorry for the long delay, but I finally have time to review v4 of this code. On Tue October 23 2012 20:44:28 Andrey Smirnov wrote: This patch adds main part(out of three) of the I2C driver for the core of MFD device. Signed-off-by: Andrey Smirnov

[PATCH v2 00/12] Media Controller capture driver for DM365

2012-11-16 Thread Prabhakar Lad
From: Manjunath Hadli manjunath.ha...@ti.com This patch set adds media controller based capture driver for DM365. This driver bases its design on Laurent Pinchart's Media Controller Design whose patches for Media Controller and subdev enhancements form the base. The driver also takes copious

[PATCH v2 09/12] davinci: vpss: dm365: set vpss clk ctrl

2012-11-16 Thread Prabhakar Lad
From: Manjunath Hadli manjunath.ha...@ti.com request_mem_region for VPSS_CLK_CTRL register and ioremap. and enable clocks appropriately. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Signed-off-by: Lad, Prabhakar prabhakar@ti.com --- drivers/media/platform/davinci/vpss.c | 14

[PATCH v2 12/12] davinci: vpfe: Add documentation

2012-11-16 Thread Prabhakar Lad
From: Manjunath Hadli manjunath.ha...@ti.com Add documentation on the Davinci VPFE driver. Document the subdevs, and private IOTCLs the driver implements. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Signed-off-by: Lad, Prabhakar prabhakar@ti.com Cc: Rob Landley r...@landley.net Cc:

Re: [PATCH v5] [media] vivi: Teach it to tune FPS

2012-11-16 Thread Kirill Smelkov
On Fri, Nov 16, 2012 at 02:38:09PM +0100, Hans Verkuil wrote: On Wed November 7 2012 12:30:01 Kirill Smelkov wrote: [...] diff --git a/drivers/media/platform/vivi.c b/drivers/media/platform/vivi.c index 37d0af8..5d1b374 100644 --- a/drivers/media/platform/vivi.c +++

[PATCH v2 11/12] davinci: vpfe: dm365: add build infrastructure for capture driver

2012-11-16 Thread Prabhakar Lad
From: Manjunath Hadli manjunath.ha...@ti.com add build infrastructure for dm365 specific modules for VPFE capture driver. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Signed-off-by: Lad, Prabhakar prabhakar@ti.com --- drivers/media/platform/davinci/Kconfig | 11 +++

[PATCH v2 02/12] davinci: vpfe: add v4l2 video driver support

2012-11-16 Thread Prabhakar Lad
From: Manjunath Hadli manjunath.ha...@ti.com Add a generic video driver functionality to be used by all the vpfe drivers for davinci SoCs. The functionality includes all the standard v4l2 interfaces including streaming. The video node interface can be used both as an input and output node for

[PATCH v2 03/12] davinci: vpfe: dm365: add IPIPEIF driver based on media framework

2012-11-16 Thread Prabhakar Lad
From: Manjunath Hadli manjunath.ha...@ti.com add support for dm365 IPIPEIF driver based on media framework. The IPIPEIF is exposed as a subdev, and it supports features like fault pixel correction, dark frame subtraction and other necessary hardware setup. Signed-off-by: Manjunath Hadli

[PATCH v2 06/12] davinci: vpfe: dm365: add IPIPE hardware layer support

2012-11-16 Thread Prabhakar Lad
From: Manjunath Hadli manjunath.ha...@ti.com IPIPE is the hardware IP which implements the functionality required for resizer, ipipe(colorspace converter) and the associated hardware support. This patch implements hardware setup including coefficient programming for various hardware filters,

[PATCH v2 08/12] davinci: vpss: dm365: enable ISP registers

2012-11-16 Thread Prabhakar Lad
From: Manjunath Hadli manjunath.ha...@ti.com enable PPCR, enbale ISIF out on BCR and disable all events to get the correct operation from ISIF. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Signed-off-by: Lad, Prabhakar prabhakar@ti.com --- drivers/media/platform/davinci/vpss.c |

[PATCH v2 10/12] davinci: vpss: dm365: add vpss helper functions to be used in the main driver for setting hardware parameters

2012-11-16 Thread Prabhakar Lad
From: Manjunath Hadli manjunath.ha...@ti.com add interface functions to set sync polarity, interrupt completion and pageframe size in vpss to be used by the main driver. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Signed-off-by: Lad, Prabhakar prabhakar@ti.com ---

Re: [PATCH v5] [media] vivi: Teach it to tune FPS

2012-11-16 Thread Hans Verkuil
On Fri November 16 2012 15:48:41 Kirill Smelkov wrote: On Fri, Nov 16, 2012 at 02:38:09PM +0100, Hans Verkuil wrote: On Wed November 7 2012 12:30:01 Kirill Smelkov wrote: [...] diff --git a/drivers/media/platform/vivi.c b/drivers/media/platform/vivi.c index 37d0af8..5d1b374 100644

Re: [PATCH v2 00/12] Media Controller capture driver for DM365

2012-11-16 Thread Prabhakar Lad
Hi All, On Fri, Nov 16, 2012 at 8:15 PM, Prabhakar Lad prabhakar.cse...@gmail.com wrote: From: Manjunath Hadli manjunath.ha...@ti.com This patch set adds media controller based capture driver for DM365. This driver bases its design on Laurent Pinchart's Media Controller Design whose

Re: [PATCH v5] [media] vivi: Teach it to tune FPS

2012-11-16 Thread Kirill Smelkov
On Fri, Nov 16, 2012 at 03:51:23PM +0100, Hans Verkuil wrote: On Fri November 16 2012 15:48:41 Kirill Smelkov wrote: On Fri, Nov 16, 2012 at 02:38:09PM +0100, Hans Verkuil wrote: On Wed November 7 2012 12:30:01 Kirill Smelkov wrote: [...] diff --git a/drivers/media/platform/vivi.c

Re: [PATCH v3 5/6] Add a V4L2 driver for SI476X MFD

2012-11-16 Thread Hans Verkuil
Hi Andrey, Some more comments... On Tue October 23 2012 20:44:31 Andrey Smirnov wrote: This commit adds a driver that exposes all the radio related functionality of the Si476x series of chips via the V4L2 subsystem. Signed-off-by: Andrey Smirnov andrey.smir...@convergeddevices.net ---

Re: [PATCH 1/4] v4l: Define video buffer flags for timestamp types

2012-11-16 Thread Sakari Ailus
Hi Hans, Thanks for the comments! On Fri, Nov 16, 2012 at 02:51:29PM +0100, Hans Verkuil wrote: On Thu November 15 2012 23:06:44 Sakari Ailus wrote: diff --git a/Documentation/DocBook/media/v4l/io.xml b/Documentation/DocBook/media/v4l/io.xml index 7e2f3d7..d598f2c 100644 ---

Re: [PATCH v4] [media] vivi: Teach it to tune FPS

2012-11-16 Thread Mauro Carvalho Chehab
Em 16-11-2012 11:38, Hans Verkuil escreveu: On Wed November 7 2012 12:30:01 Kirill Smelkov wrote: On Fri, Nov 02, 2012 at 03:42:21PM +0100, Hans Verkuil wrote: Thanks for the ping, I forgot about this patch... Thanks for feedback and for waiting. I'm here again... On Tue October 23 2012

Re: [PATCH 1/4] v4l: Define video buffer flags for timestamp types

2012-11-16 Thread Hans Verkuil
On Fri November 16 2012 16:20:03 Sakari Ailus wrote: Hi Hans, Thanks for the comments! On Fri, Nov 16, 2012 at 02:51:29PM +0100, Hans Verkuil wrote: On Thu November 15 2012 23:06:44 Sakari Ailus wrote: diff --git a/Documentation/DocBook/media/v4l/io.xml

[RFCv1 PATCH 0/2] Two vpif fixes protecting the dma_queue by a lock

2012-11-16 Thread Hans Verkuil
Hi Prabhakar, These two patches add protection to the dma_queue. We discovered that not locking caused race conditions, which caused the display DMA to jam. After adding the lock we never saw this again. It makes sense as well since the interrupt routine and normal code both manipulated the same

[RFCv1 PATCH 1/2] vpif_capture: protect dma_queue by a spin_lock.

2012-11-16 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com The dma_queue list is accessed by both the interrupt handler and by normal code. It needs to be protected by a lock to prevent possible list corruption. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/platform/davinci/vpif_capture.c

[RFCv1 PATCH 2/2] vpif_display: protect dma_queue by a spin_lock.

2012-11-16 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com The dma_queue list is accessed by both the interrupt handler and by normal code. It needs to be protected by a lock to prevent possible list corruption. Corruption has been observed in 'real-life' conditions. Adding this lock made it go away.

Re: Bugs in DVB-S Prof-Tuner 8000 driver (idle suspend)

2012-11-16 Thread Wojciech Myrda
W dniu 08.10.2012 16:39, Wojciech Myrda pisze: Hi, I am using these new driver http://patchwork.linuxtv.org/patch/14300/ for my card. It generally works great allowing me to send DiseqC commands, tune to LNBs etc but only as long as I do not use idle or suspend with it which in first

[PATCH v1.1 1/4] v4l: Define video buffer flags for timestamp types

2012-11-16 Thread Sakari Ailus
Define video buffer flags for different timestamp types. Everything up to now have used either realtime clock or monotonic clock, without a way to tell which clock the timestamp was taken from. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi Acked-by: Laurent Pinchart

[PATCH 1/1] v4l: There's no __unsigned

2012-11-16 Thread Sakari Ailus
Correct a typo. v4l2_plane.m.userptr is unsigned long, not __unsigned long. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi --- Documentation/DocBook/media/v4l/io.xml |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Documentation/DocBook/media/v4l/io.xml

[Patch] dvb-apps / Add frequencies for CH-WWZ

2012-11-16 Thread Silvan Imsand
Hi I've attached a patch to add new frequencies for dvb-apps/scan I would appreciate if someone could apply the patch. Thanks. Regards, Silvan dvb-apps-wwz-frequencies.patch Description: Binary data

cron job: media_tree daily build: WARNINGS

2012-11-16 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:Fri Nov 16 19:00:22 CET 2012 git hash:2c4e11b7c15af70580625657a154ea7ea70b8c76 gcc version: i686-linux-gcc

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

2012-11-16 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

[patch] MAINTAINERS: add an entry for radio-mr800 driver

2012-11-16 Thread Alexey Klimov
This patch adds MAINTAINERS entry for radio-mr800 usb radio driver. Signed-off-by: Alexey Klimov klimov.li...@gmail.com diff --git a/MAINTAINERS b/MAINTAINERS index f4b3aa8..e1d9e38 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4909,6 +4909,13 @@ S: Maintained F:

Re: [PATCH v3 5/6] Add a V4L2 driver for SI476X MFD

2012-11-16 Thread Alexey Klimov
Hello Andrey, On Tue, Oct 23, 2012 at 10:44 PM, Andrey Smirnov andrey.smir...@convergeddevices.net wrote: This commit adds a driver that exposes all the radio related functionality of the Si476x series of chips via the V4L2 subsystem. Signed-off-by: Andrey Smirnov

[PATCH] staging/media/solo6x10/v4l2-enc.c: fix error-handling.

2012-11-16 Thread Cyril Roelandt
The return values of copy_to_user() and copy_from_user() cannot be negative. Found using the following semantich patch: spml @exists@ identifier ret; statement S; expression E; @@ ( * ret = copy_to_user(...); | * ret = copy_from_user(...); ) ... when != ret = E when != if (ret) { +... ret =

Re: [PATCH RFC v3 1/3] V4L: Add driver for S3C244X/S3C64XX SoC series camera interface

2012-11-16 Thread Sylwester Nawrocki
Hi Alexey, On 11/16/2012 03:10 PM, Alexey Klimov wrote: +static int s3c_camif_hw_init(struct camif_dev *camif, struct camif_vp *vp) +{ + unsigned int ip_rev = camif-variant-ip_revision; + unsigned long flags; + + if (camif-sensor.sd == NULL || vp-out_fmt == NULL) +