RE: [PATCH 2/4] [media] marvell-ccic: core: add soc camera support on marvell-ccic mcam-core

2012-10-15 Thread Albert Wang
Hi, Guennadi -Original Message- From: Guennadi Liakhovetski [mailto:g.liakhovet...@gmx.de] Sent: Sunday, 30 September, 2012 07:31 To: Jonathan Corbet Cc: Albert Wang; linux-media@vger.kernel.org; Libin Yang Subject: Re: [PATCH 2/4] [media] marvell-ccic: core: add soc camera support on

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

2012-10-15 Thread Hans Verkuil
On Wed October 10 2012 16:46:21 Tomasz Stanislawski wrote: 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:

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

2012-10-15 Thread Hans Verkuil
On Wed October 10 2012 16:46:36 Tomasz Stanislawski wrote: 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:

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

2012-10-15 Thread Hans Verkuil
On Wed October 10 2012 16:46:37 Tomasz Stanislawski wrote: 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

RE: [PATCH 2/4] [media] marvell-ccic: core: add soc camera support on marvell-ccic mcam-core

2012-10-15 Thread Guennadi Liakhovetski
Hi Albert On Mon, 15 Oct 2012, Albert Wang wrote: Hi, Guennadi -Original Message- From: Guennadi Liakhovetski [mailto:g.liakhovet...@gmx.de] Sent: Sunday, 30 September, 2012 07:31 To: Jonathan Corbet Cc: Albert Wang; linux-media@vger.kernel.org; Libin Yang Subject: Re: [PATCH

Re: [RFC] Processing context in the V4L2 subdev and V4L2 controls API ?

2012-10-15 Thread Hans Verkuil
On Sat October 13 2012 22:08:29 Sylwester Nawrocki wrote: Hi Hans, On 09/21/2012 02:26 PM, Hans Verkuil wrote: On Tue September 18 2012 17:06:54 Sylwester Nawrocki wrote: Hi All, I'm trying to fulfil following requirements with V4L2 API that are specific to most of Samsung camera

Re: [PATCH] videobuf2-core: Verify planes lengths for output buffers

2012-10-15 Thread Hans Verkuil
On Fri October 12 2012 23:59:50 Laurent Pinchart wrote: For output buffers application provide to the kernel the number of bytes they stored in each plane of the buffer. Verify that the value is smaller than or equal to the plane length. Signed-off-by: Laurent Pinchart

Re: Proposal for the addition of a binary V4L2 control type

2012-10-15 Thread Hans Verkuil
On Fri October 12 2012 16:33:20 Alain VOLMAT wrote: Hi Hans -Original Message- From: Hans Verkuil [mailto:hverk...@xs4all.nl] Sent: Friday, October 12, 2012 8:21 AM To: Alain VOLMAT Cc: Laurent Pinchart; Linux Media Mailing List (linux-media@vger.kernel.org) Subject: Re:

[PATCH] [media] s5p-csis: Added RAW data format as the supported format.

2012-10-15 Thread Ritesh Kumar Solanki
csis can support jpeg, yuv and raw data format. Signed-off-by: Ritesh Kumar Solanki r.sola...@samsung.com --- drivers/media/platform/s5p-fimc/mipi-csis.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/media/platform/s5p-fimc/mipi-csis.c

Re: [PATCH 0/2 v6] of: add display helper

2012-10-15 Thread Leela Krishna Amudala
Hello Steffen, To which version of the kernel we can expect this patch set to be merged into? Because I'm waiting for this from long time to add DT support for my display controller :) Best Wishes, Leela Krishna Amudala. On Thu, Oct 4, 2012 at 11:29 PM, Steffen Trumtrar

PROBLEM: Ali m5602 won't compile (3.4.9-gentoo)

2012-10-15 Thread Ezequiel Garcia
On Sun, Oct 14, 2012 at 11:39 AM, Yuriy Davygora davyg...@googlemail.com wrote: Hello, I have trouble compiling the 3.4.9 kernel with genkernel (gentoo) having enabled the Ali Corp webcam (m5602) driver. Here's the output of the ver_linux script: =

Re: [PATCH] [media] s5p-csis: Added RAW data format as the supported format.

2012-10-15 Thread Sylwester Nawrocki
Hi Ritesh, On 10/15/2012 11:48 AM, Ritesh Kumar Solanki wrote: csis can support jpeg, yuv and raw data format. Signed-off-by: Ritesh Kumar Solanki r.sola...@samsung.com Thanks for the patch. I already have a patch adding all three raw Bayer formats (SGRBG8/10/12) at the driver and I plan it

Re: (still) NULL pointer crashes with nuvoton_cir driver

2012-10-15 Thread Matthijs Kooijman
Hey Folks, I've been suffering from a NULL pointer crash while initializing the nuvoton_cir driver. It occurs 100% reliable on a 3.5 kernel when I bombard my receiver with IR signals during bootup. It seems that 9ef449c: [media] rc: Postpone ISR registration attempts to fix this very issue,

RFC: V4L2 API ambiguities

2012-10-15 Thread Hans Verkuil
During the Plumbers Conference a few weeks ago we had a session to resolve V4L2 ambiguities. It was very successful, but we didn't manage to tackle two of the harder topics, and a third one (timestamps) cause a lot of discussion on the mailinglist after the conference. So here is the list I have

Re: PROBLEM: Ali m5602 won't compile (3.4.9-gentoo)

2012-10-15 Thread Ezequiel Garcia
Yuri, On Mon, Oct 15, 2012 at 7:55 AM, Ezequiel Garcia elezegar...@gmail.com wrote: On Sun, Oct 14, 2012 at 11:39 AM, Yuriy Davygora davyg...@googlemail.com wrote: Hello, I have trouble compiling the 3.4.9 kernel with genkernel (gentoo) having enabled the Ali Corp webcam (m5602) driver.

Re: [ANNOUNCE] media workshop in November

2012-10-15 Thread Guennadi Liakhovetski
Hi Mauro On Wed, 19 Sep 2012, Mauro Carvalho Chehab 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 workshop together

[PATCH 4/4] [media] rc: Call rc_register_device before irq setup

2012-10-15 Thread Matthijs Kooijman
This should fix a potential race condition, when the irq handler triggers while rc_register_device is still setting up the rdev-raw device. This crash has not been observed in practice, but there should be a very small window where it could occur. Since ir_raw_event_store_with_filter checks if

[PATCH 2/4] [media] rc: Make probe cleanup goto labels more verbose

2012-10-15 Thread Matthijs Kooijman
Before, labels were simply numbered. Now, the labels are named after the cleanup action they'll perform (first), based on how the winbond-cir driver does it. This makes the code a bit more clear and makes changes in the ordering of labels easier to review. This change is applied only to the rc

[PATCH 1/4] [media] ene-ir: Fix cleanup on probe failure

2012-10-15 Thread Matthijs Kooijman
This makes the cleanup on probe failure more consistent with other drivers. This is similar to what commit f27b853ea24a9b70585f9251384d97929e6551c3 ([media] rc: Fix invalid free_region and/or free_irq on probe failure) did for some other drivers. In addition to making the cleanup more consistent,

[PATCH 3/4] [media] rc: Set rdev before irq setup

2012-10-15 Thread Matthijs Kooijman
This fixes a problem in fintek-cir, ite-cir and nuvoton-cir where the irq handler would trigger during module load before the rdev member was set, causing a NULL pointer crash. It seems this crash is very reproducible (just bombard the receiver with IR signals during module load), probably

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

2012-10-15 Thread Enric Balletbo Serra
Hi Laurent, 2012/10/11 Laurent Pinchart laurent.pinch...@ideasonboard.com: Hi Enric, On Thursday 11 October 2012 10:14:26 Enric Balletbò i Serra wrote: 2012/10/10 Enric Balletbò i Serra eballe...@gmail.com: 2012/9/6 John Weber rjohnwe...@gmail.com: Hello, My goal is to better

Re: [ANNOUNCE] media workshop in November

2012-10-15 Thread Sylwester Nawrocki
Hi Mauro, On 09/19/2012 10:11 AM, Mauro Carvalho Chehab 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 workshop

Re: (still) NULL pointer crashes with nuvoton_cir driver

2012-10-15 Thread Luis Henriques
On Mon, Oct 15, 2012 at 01:01:11PM +0200, Matthijs Kooijman wrote: Hey Folks, I've been suffering from a NULL pointer crash while initializing the nuvoton_cir driver. It occurs 100% reliable on a 3.5 kernel when I bombard my receiver with IR signals during bootup. It seems that

Re: PROBLEM: Ali m5602 won't compile (3.4.9-gentoo)

2012-10-15 Thread Ezequiel Garcia
On Mon, Oct 15, 2012 at 10:21 AM, Yuriy Davygora davyg...@googlemail.com wrote: Hi Ezequiel, thank you very very much! This was indeed the problem. I wonder, why menuconfig did not warn me that USB is marked to be compiled as module, when I chose to build in the gspca support, but,

Re: [PATCH 0/2 v6] of: add display helper

2012-10-15 Thread Steffen Trumtrar
Hi Leela, On Mon, Oct 15, 2012 at 04:24:43PM +0530, Leela Krishna Amudala wrote: Hello Steffen, To which version of the kernel we can expect this patch set to be merged into? Because I'm waiting for this from long time to add DT support for my display controller :) I have no idea, sorry.

Re: (still) NULL pointer crashes with nuvoton_cir driver

2012-10-15 Thread Matthijs Kooijman
Hey Luis, Your diagnosis seem to be correct and I have already tried to address this: https://lkml.org/lkml/2012/8/25/84 Oh, w00ps, seems I missed that patch, stupid of me... I've submitted a patch to try to fix it but got no comments yet. My patch moves the request_irq() invocation

Re: Sony PlayTV: tuning on second tuner causing reception issues on first tuner

2012-10-15 Thread Patrick Boettcher
Hi Torgeir, On Sunday 14 October 2012 00:25:26 Torgeir Veimo wrote: When background EIT scanning is enabled on my VDR setup, I am getting signal disruption about every 20-21 seconds, with my sony playtv USB dual DVB-T tuner. In the VDR-ML-thread you said that you have 2 of those devices? I

Re: [RFC] Timestamps and V4L2

2012-10-15 Thread Sakari Ailus
Hi all, As a summar from the discussion, I think we have reached the following conclusion. Please say if you agree or disagree with what's below. :-) - The drivers will be moved to use monotonic timestamps for video buffers. - The user space will learn about the type of the timestamp through

Re: (still) NULL pointer crashes with nuvoton_cir driver

2012-10-15 Thread Matthijs Kooijman
Hey Luis, seems we're not the only ones working on this, there's a partially overlapping patch in v3.6.2 for the ite-cir driver only: http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=commit;h=434f4d3f1209d4e4c8b0d577d1c809f349c4f0da Gr. Matthijs signature.asc Description:

Re: [PATCH] [media] stk1160: Remove dead code from stk1160_i2c_read_reg()

2012-10-15 Thread Jesper Juhl
On Sat, 13 Oct 2012, Ezequiel Garcia wrote: On Sun, Nov 9, 2008 at 2:04 PM, Jesper Juhl j...@chaosbits.net wrote: There are two checks for 'rc' being less than zero with no change to 'rc' between the two, so the second is just dead code - remove it. Signed-off-by: Jesper Juhl

Re: [PATCH RFC 1/5] V4L: Add V4L2_MBUS_FMT_S5C_UYVY_JPEG_1X8 media bus format

2012-10-15 Thread Sakari Ailus
Hi Sylwester and Vincent, My apologies for the late reply on this topic. I've been quite busy lately. Sylwester Nawrocki wrote: On 10/09/2012 03:36 PM, Vincent ABRIOU wrote: Hi Sylwester, I'm wondering why don't you simply define V4L2_MBUS_FMT_UYVY_JPEG_1X8 without any reference to your

Re: [RFC] Timestamps and V4L2

2012-10-15 Thread Laurent Pinchart
Hi Sakari, On Monday 15 October 2012 19:05:49 Sakari Ailus wrote: Hi all, As a summar from the discussion, I think we have reached the following conclusion. Please say if you agree or disagree with what's below. :-) - The drivers will be moved to use monotonic timestamps for video

Re: [RFC] Timestamps and V4L2

2012-10-15 Thread Chris MacGregor
Hi, all. On 10/15/2012 11:45 AM, Laurent Pinchart wrote: Hi Sakari, On Monday 15 October 2012 19:05:49 Sakari Ailus wrote: Hi all, As a summar from the discussion, I think we have reached the following conclusion. Please say if you agree or disagree with what's below. :-) - The drivers will

cron job: media_tree daily build: ERRORS

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

Re: [RFC] Timestamps and V4L2

2012-10-15 Thread Sakari Ailus
Hi Chris, On Mon, Oct 15, 2012 at 11:53:56AM -0700, Chris MacGregor wrote: On 10/15/2012 11:45 AM, Laurent Pinchart wrote: Hi Sakari, On Monday 15 October 2012 19:05:49 Sakari Ailus wrote: Hi all, As a summar from the discussion, I think we have reached the following conclusion. Please

Re: [RFC] Timestamps and V4L2

2012-10-15 Thread Rémi Denis-Courmont
Le lundi 15 octobre 2012 22:59:06, Sakari Ailus a écrit : For the latter the realtime clock fits poorly to begin with: it jumps around e.g. when the daylight saving time changes. Wrong. The real time clock is always UTC. It is not subject to time zone offsets. It only jumps when the clock is

Re: Multiple Rectangle cropping

2012-10-15 Thread Sakari Ailus
Hi Ricardo, On Fri, Oct 12, 2012 at 09:18:42AM +0200, Ricardo Ribalda Delgado wrote: In fact, is the sensor, the one that supports multiple Areas of Interest. Unfortunatelly the userland v4l2 api only supports one area of interest for doing croping (or that is what I believe). Is there any

Re: Multiple Rectangle cropping

2012-10-15 Thread Ricardo Ribalda Delgado
Hello Sakari I get the two areas sticked together. Of course both areas of interest have the save width. Kind Regards :) On Mon, Oct 15, 2012 at 10:50 PM, Sakari Ailus sakari.ai...@iki.fi wrote: Hi Ricardo, On Fri, Oct 12, 2012 at 09:18:42AM +0200, Ricardo Ribalda Delgado wrote: In fact, is

media_build smiapp-core.c implicit-function-declaration

2012-10-15 Thread Árvai Zoltán
Hi all, In the last few weeks I got errors when I tried to build media drivers on the raspberry pi raspbian wheezy. git clone git://linuxtv.org/media_build.git cd media_build ./build Error message: CC [M] /home/pi/media_build/v4l/smiapp-core.o /home/pi/media_build/v4l/smiapp-core.c: In

[PATCH] [media] stk1160: Check return value of stk1160_read_reg() in stk1160_i2c_read_reg()

2012-10-15 Thread Jesper Juhl
On Mon, 15 Oct 2012, Jesper Juhl wrote: On Sat, 13 Oct 2012, Ezequiel Garcia wrote: On Sun, Nov 9, 2008 at 2:04 PM, Jesper Juhl j...@chaosbits.net wrote: There are two checks for 'rc' being less than zero with no change to 'rc' between the two, so the second is just dead code - remove

Re: [PATCH] [media] stk1160: Check return value of stk1160_read_reg() in stk1160_i2c_read_reg()

2012-10-15 Thread Ezequiel Garcia
On Mon, Oct 15, 2012 at 7:52 PM, Jesper Juhl j...@chaosbits.net wrote: On Mon, 15 Oct 2012, Jesper Juhl wrote: On Sat, 13 Oct 2012, Ezequiel Garcia wrote: On Sun, Nov 9, 2008 at 2:04 PM, Jesper Juhl j...@chaosbits.net wrote: There are two checks for 'rc' being less than zero with no

Re: [PATCH] [media] stk1160: Check return value of stk1160_read_reg() in stk1160_i2c_read_reg()

2012-10-15 Thread Jesper Juhl
On Mon, 15 Oct 2012, Ezequiel Garcia wrote: On Mon, Oct 15, 2012 at 7:52 PM, Jesper Juhl j...@chaosbits.net wrote: On Mon, 15 Oct 2012, Jesper Juhl wrote: On Sat, 13 Oct 2012, Ezequiel Garcia wrote: [...] Currently there are two checks for 'rc' being less than zero with no change to

Re: [RFC] Timestamps and V4L2

2012-10-15 Thread Chris MacGregor
Hi, Sakari. On 10/15/2012 12:59 PM, Sakari Ailus wrote: Hi Chris, On Mon, Oct 15, 2012 at 11:53:56AM -0700, Chris MacGregor wrote: On 10/15/2012 11:45 AM, Laurent Pinchart wrote: Hi Sakari, On Monday 15 October 2012 19:05:49 Sakari Ailus wrote: Hi all, As a summar from the discussion, I

Re: [PATCH] [media] stk1160: Check return value of stk1160_read_reg() in stk1160_i2c_read_reg()

2012-10-15 Thread Ezequiel Garcia
On Mon, Oct 15, 2012 at 9:03 PM, Jesper Juhl j...@chaosbits.net wrote: On Mon, 15 Oct 2012, Ezequiel Garcia wrote: On Mon, Oct 15, 2012 at 7:52 PM, Jesper Juhl j...@chaosbits.net wrote: On Mon, 15 Oct 2012, Jesper Juhl wrote: On Sat, 13 Oct 2012, Ezequiel Garcia wrote: [...]

[PATCH] [media] exynos-gsc: fix variable type in gsc_m2m_device_run()

2012-10-15 Thread Shaik Ameer Basha
In gsc_m2m_device_run(), variable ret is accepting signed integer values. But currently it is defined as u32. This patch will modify the type of ret variable to int. Signed-off-by: Shaik Ameer Basha shaik.am...@samsung.com --- drivers/media/platform/exynos-gsc/gsc-m2m.c |2 +- 1 files

[PATCH] [media] s5p-fimc: fix variable type in fimc_device_run()

2012-10-15 Thread Shaik Ameer Basha
In fimc_device_run(), variable ret is accepting signed integer values. But currently it is defined as u32. This patch will modify the type of ret variable to int. Signed-off-by: Shaik Ameer Basha shaik.am...@samsung.com --- drivers/media/platform/s5p-fimc/fimc-m2m.c |2 +- 1 files changed, 1

[PATCH] [media] exynos-gsc: change driver compatible string

2012-10-15 Thread Shaik Ameer Basha
As G-Scaler is going to stay unchanged across all exynos5 series SoCs, changing the driver compatible string name to samsung,exynos5-gsc from samsung,exynos5250-gsc. This change is as per the discussion in the devicetree forum.