Re: [RFC PATCH 00/26] i.MX5/6 IPUv3 CSI/IC

2014-08-04 Thread Zahari Doychev
Hi Philipp, can you tell which kernel tree I have to use for this patch set? Thanks and Regards, Zahari On Thu, Jun 12, 2014 at 07:06:14PM +0200, Philipp Zabel wrote: > Hi, > > attached is a series of our work in progress i.MX6 capture drivers. > I'm posting this now in reaction to Steve's i.M

[PATCH 4/4] V4L/DVB: Add sleep for firmware ready

2014-08-04 Thread Bimow Chen
>From b19fa868ce937a6ef10f1591a49b2a7ad14964a9 Mon Sep 17 00:00:00 2001 From: Bimow Chen Date: Tue, 5 Aug 2014 11:20:53 +0800 Subject: [PATCH 4/4] Add sleep for firmware ready. Signed-off-by: Bimow Chen --- drivers/media/usb/dvb-usb-v2/af9035.c |2 ++ 1 files changed, 2 insertions(+), 0 d

[PATCH 3/4] V4L/DVB: Update tuner initialization sequence

2014-08-04 Thread Bimow Chen
>From 68df717c82f5da425a807a417872de0a9566211c Mon Sep 17 00:00:00 2001 From: Bimow Chen Date: Tue, 5 Aug 2014 11:14:47 +0800 Subject: [PATCH 3/4] Update tuner initialization sequence. Signed-off-by: Bimow Chen --- drivers/media/tuners/tuner_it913x.c | 13 + 1 files changed, 9 i

[PATCH 2/4] V4L/DVB: Update tuner script for new firmware

2014-08-04 Thread Bimow Chen
>From b3f9eb6e410ac317042cebdce5833dac8e276c1a Mon Sep 17 00:00:00 2001 From: Bimow Chen Date: Tue, 5 Aug 2014 10:31:46 +0800 Subject: [PATCH 2/4] Update tuner script for new firmware. Signed-off-by: Bimow Chen --- drivers/media/dvb-frontends/af9033.c | 14 ++ drivers/media

[PATCH 1/4] V4L/DVB: Update firmware of ITEtech IT9135

2014-08-04 Thread Bimow Chen
>From b5f4f4c0060ed95ea93f1aadc361eaa71929176c Mon Sep 17 00:00:00 2001 From: Bimow Chen Date: Fri, 1 Aug 2014 17:19:58 +0800 Subject: [PATCH 1/4] Update firmware of ITEtech IT9135. Signed-off-by: Bimow Chen --- Documentation/dvb/get_dvb_firmware | 24 +--- 1 files chang

cron job: media_tree daily build: WARNINGS

2014-08-04 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 Aug 5 04:00:23 CEST 2014 git branch: test git hash: 0f3bf3dc1ca394a8385079a5653088672b65c5c4 gcc versi

Re: [PATCHv2] videobuf2: fix lockdep warning

2014-08-04 Thread Laurent Pinchart
Hi Hans, Thank you for the patch. On Monday 04 August 2014 14:12:32 Hans Verkuil wrote: > Changes since v1: use a spinlock instead of playing around with mmap_sem > since current->mm might point to different entities as pointed out by > Marek. > > The following lockdep warning has been there eve

Re: [PATCH 2/4] media: rcar_vin: Ensure all in-flight buffers are returned to error state before stopping.

2014-08-04 Thread Hans Verkuil
On 07/08/2014 11:41 AM, Ian Molton wrote: > Videobuf2 complains about buffers that are still marked ACTIVE (in use by the > driver) following a call to stop_streaming(). > > This patch returns all active buffers to state ERROR prior to stopping. > > Note: this introduces a (non fatal) race condi

Re: [PATCH 3/4] media: rcar_vin: Fix race condition terminating stream

2014-08-04 Thread Hans Verkuil
On 07/08/2014 11:41 AM, Ian Molton wrote: > This patch fixes a race condition whereby a frame being captured may generate > an > interrupt between requesting capture to halt and freeing buffers. > > This condition is exposed by the earlier patch that explicitly calls > vb2_buffer_done() during s

Re: [PATCH 2/4] media: rcar_vin: Ensure all in-flight buffers are returned to error state before stopping.

2014-08-04 Thread Sergei Shtylyov
On 07/08/2014 01:41 PM, Ian Molton wrote: Videobuf2 complains about buffers that are still marked ACTIVE (in use by the driver) following a call to stop_streaming(). This patch returns all active buffers to state ERROR prior to stopping. Note: this introduces a (non fatal) race condition

[PATCH] drivers/media/dvb-frontends/stv0900_sw.c: Fix break placement

2014-08-04 Thread Andrey Utkin
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=81621 Reported-by: David Binderman Signed-off-by: Andrey Utkin --- drivers/media/dvb-frontends/stv0900_sw.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/media/dvb-frontends/stv0900_sw.c b/drivers/media/dvb-fr

[RFC PATCH] uvcvideo: Add quirk to force the Oculus DK2 IR tracker to grayscale

2014-08-04 Thread Philipp Zabel
This patch adds a quirk to force Y8 pixel format even if the camera reports half-width YUYV. Signed-off-by: Philipp Zabel --- The Oculus Rift DK2 comes with an IR webcam that lies about the pixel format and frame size it produces. This is a quick hack to make it produce proper greyscale images. -

Re: Resend: [PATCH 0/4] rcar_vin: fix soc_camera WARN_ON() issues.

2014-08-04 Thread Sergei Shtylyov
Hello. On 07/08/2014 01:41 PM, Ian Molton wrote: Resent to include the author and a couple of other interested parties :) Thank you (despite you didn't include me :-). This patch series provides fixes that allow the rcar_vin driver to function without triggering dozens of warnings from t

[PATCH] si2165: change return type of si2165_wait_init_done from bool to int

2014-08-04 Thread Matthias Schwarzott
In case of an error -EINVAL will be mis-casted to 1. This was triggered by a coccinelle warning. Signed-off-by: Matthias Schwarzott --- drivers/media/dvb-frontends/si2165.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/media/dvb-frontends/si2165.c b/drivers/m

Re: [PULL patches for 3.17]: 2 gspca patches + sunxi cir support

2014-08-04 Thread Hans de Goede
Hi, On 08/04/2014 03:47 PM, Александр Берсенев wrote: > Hello, > > any news with this patch? I assume you mean the sunxi-cir patch ? It has been pulled into the media tree a while back, and should show up in 3.17-rc1. Regards, Hans -- To unsubscribe from this list: send the line "unsubscribe l

Re: Problems with the omap3isp

2014-08-04 Thread Laurent Pinchart
Hi Stefan, On Monday 04 August 2014 11:24:13 Stefan Herbrechtsmeier wrote: > Hi Laurent, > > thank you very much for your help. > > The problem is cross talk on the camera flex cable of the Gumstix Overo. > The XCLKA signal is beside PCLK and VS. Right, I should have mentioned that. It's a know

Re: [PATCH/RFC v4 15/21] media: Add registration helpers for V4L2 flash

2014-08-04 Thread Jacek Anaszewski
Hi Sakari, Thanks for the review. On 07/21/2014 01:12 PM, Sakari Ailus wrote: Hi Jacek, Jacek Anaszewski wrote: This patch adds helper functions for registering/unregistering LED class flash devices as V4L2 subdevs. The functions should be called from the LED subsystem device driver. In case

Re: [PATCH/RFC v4 06/21] leds: add API for setting torch brightness

2014-08-04 Thread Sakari Ailus
Hi Jacek, Thank you for your continued efforts on this! On Mon, Aug 04, 2014 at 02:35:26PM +0200, Jacek Anaszewski wrote: > On 07/16/2014 11:54 PM, Sakari Ailus wrote: > >Hi Jacek, > > > >Jacek Anaszewski wrote: > >... > >>diff --git a/include/linux/leds.h b/include/linux/leds.h > >>index 1a130cc

Re: [PATCH/RFC v4 06/21] leds: add API for setting torch brightness

2014-08-04 Thread Jacek Anaszewski
Hi Sakari, On 07/16/2014 11:54 PM, Sakari Ailus wrote: Hi Jacek, Jacek Anaszewski wrote: ... diff --git a/include/linux/leds.h b/include/linux/leds.h index 1a130cc..9bea9e6 100644 --- a/include/linux/leds.h +++ b/include/linux/leds.h @@ -44,11 +44,21 @@ struct led_classdev { #define LED_BLIN

Re: [PATCHv2] videobuf2: fix lockdep warning

2014-08-04 Thread Marek Szyprowski
Hello, On 2014-08-04 14:12, Hans Verkuil wrote: Changes since v1: use a spinlock instead of playing around with mmap_sem since current->mm might point to different entities as pointed out by Marek. The following lockdep warning has been there ever since commit a517cca6b24fc54ac209e44118ec89620

[PATCHv2] videobuf2: fix lockdep warning

2014-08-04 Thread Hans Verkuil
Changes since v1: use a spinlock instead of playing around with mmap_sem since current->mm might point to different entities as pointed out by Marek. The following lockdep warning has been there ever since commit a517cca6b24fc54ac209e44118ec8962051662e3 one year ago: [ 403.117947] =

Re: i.MX6 status for IPU/VPU/GPU

2014-08-04 Thread Philipp Zabel
Hi Tim, Am Sonntag, den 03.08.2014, 23:14 -0700 schrieb Tim Harvey: > Philipp, > > It is unfortunate that the lack of the media device framework is > holding back acceptance of Steve's patches. Is this something that can > be added later? Does your patchset which you posted for reference > resolv

Re: [PATCH] v4l2: Change call of function in videobuf2-core.c

2014-08-04 Thread Theodore Ts'o
On Mon, Aug 04, 2014 at 03:38:20PM +1000, Dave Airlie wrote: > > Nick has decided he wants to be a kernel developer, a laudable goal. > > He however has decided not to take any advice given to me by a number of other > kernel developers on how to work on the kernel. So instead he sends random > b

[GIT PULL FOR v3.17] vb2 and docbook fixes for v3.17

2014-08-04 Thread Hans Verkuil
Hi Mauro, Some last minute fixes for v3.17: vb2: - two comment fixes/improvements - a fix for a BUG_ON due to a wrong GFP mask - a regression fix for a previous commit that introduced a new problem in case start_streaming would fail. docbook: - fix a typ

[PATCHv3] staging: media: as102: replace custom dprintk() with dev_dbg()

2014-08-04 Thread Martin Kepplinger
remove dprintk() and replace it with dev_dbg() or pr_debug() in order to use the common kernel coding style. Signed-off-by: Martin Kepplinger --- Thanks for looking at it. So this doesn't add anything and actually does what it says. If I haven't understood what you meant, or if I should try to ad

Re: [PATCHv2] staging: media: as102: replace custom dprintk() with dev_dbg()

2014-08-04 Thread Joe Perches
On Mon, 2014-08-04 at 13:40 +0300, Dan Carpenter wrote: > On Mon, Aug 04, 2014 at 12:17:14PM +0200, Martin Kepplinger wrote: [] > > + if (dev) { > > + dev_dbg(&dev->bus_adap.usb_dev->dev, > > + "tuner parameters: freq: %d bw: 0x%02x gi: 0x%02x\n", > > + par

Re: [PATCH for v3.17 2/2] vb2: fix vb2 state check when start_streaming fails

2014-08-04 Thread Hans Verkuil
On 08/04/2014 12:44 PM, Laurent Pinchart wrote: > Hi Hans, > > Thank you for the patch. > > On Monday 04 August 2014 12:27:12 Hans Verkuil wrote: >> From: Hans Verkuil >> >> Commit bd994ddb2a12a3ff48cd549ec82cdceaea9614df (vb2: Fix stream start and >> buffer completion race) broke the buffer sta

Re: [PATCH for v3.17 1/2] videobuf2-core.h: fix comment

2014-08-04 Thread Hans Verkuil
On 08/04/2014 12:40 PM, Laurent Pinchart wrote: > Hi Hans, > > Thank you for the patch. > > On Monday 04 August 2014 12:27:11 Hans Verkuil wrote: >> From: Hans Verkuil >> >> The comment for start_streaming that tells the developer with which vb2 >> state buffers should be returned to vb2 gave th

Re: [PATCH for v3.17 2/2] vb2: fix vb2 state check when start_streaming fails

2014-08-04 Thread Laurent Pinchart
Hi Hans, Thank you for the patch. On Monday 04 August 2014 12:27:12 Hans Verkuil wrote: > From: Hans Verkuil > > Commit bd994ddb2a12a3ff48cd549ec82cdceaea9614df (vb2: Fix stream start and > buffer completion race) broke the buffer state check in vb2_buffer_done. > > So accept all three possibl

Re: [PATCHv2] staging: media: as102: replace custom dprintk() with dev_dbg()

2014-08-04 Thread Dan Carpenter
On thinking about it some more the proper way to redo this would have been to remove the bogus check. Also a couple trivial things below. On Mon, Aug 04, 2014 at 12:17:14PM +0200, Martin Kepplinger wrote: > @@ -82,10 +83,17 @@ static int as102_fe_get_tune_settings(struct dvb_frontend > *fe, >

Re: [PATCH for v3.17 1/2] videobuf2-core.h: fix comment

2014-08-04 Thread Laurent Pinchart
Hi Hans, Thank you for the patch. On Monday 04 August 2014 12:27:11 Hans Verkuil wrote: > From: Hans Verkuil > > The comment for start_streaming that tells the developer with which vb2 > state buffers should be returned to vb2 gave the wrong state. Very > confusing. > > Signed-off-by: Hans Ver

[PATCH] pwc: fix WARN_ON

2014-08-04 Thread Hans Verkuil
If start_streaming fails, then the buffers must be given back to vb2 with state QUEUED, not ERROR. Otherwise a WARN_ON will be generated. In the disconnect it is pointless to call pwc_cleanup_queued_bufs() as stop_streaming() will be called anyway. Signed-off-by: Hans Verkuil Tested-by: Hans Ve

[PATCH for v3.17 2/2] vb2: fix vb2 state check when start_streaming fails

2014-08-04 Thread Hans Verkuil
From: Hans Verkuil Commit bd994ddb2a12a3ff48cd549ec82cdceaea9614df (vb2: Fix stream start and buffer completion race) broke the buffer state check in vb2_buffer_done. So accept all three possible states there since I can no longer tell the difference between vb2_buffer_done called from start_str

[PATCH for v3.17 0/2] vb2 fixes

2014-08-04 Thread Hans Verkuil
I saw this post http://www.mail-archive.com/linux-media@vger.kernel.org/msg77864.html and decided to quickly fix the pwc videobuf2-core.c warning. While doing that I encountered two more vb2 bugs: one very confusing typo in a comment and one regression from an earlier patch that needs to be applie

[PATCH for v3.17 1/2] videobuf2-core.h: fix comment

2014-08-04 Thread Hans Verkuil
From: Hans Verkuil The comment for start_streaming that tells the developer with which vb2 state buffers should be returned to vb2 gave the wrong state. Very confusing. Signed-off-by: Hans Verkuil --- include/media/videobuf2-core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --

[PATCHv2] staging: media: as102: replace custom dprintk() with dev_dbg()

2014-08-04 Thread Martin Kepplinger
remove dprintk() and replace it with dev_dbg() in order to use the common kernel coding style. Signed-off-by: Martin Kepplinger --- Thanks Dan. And since it continues to succeed if (dev == NULL), differntiate if (dev) or not. drivers/staging/media/as102/as102_drv.c | 15 +++--- drivers/st

Re: Problems with the omap3isp

2014-08-04 Thread Stefan Herbrechtsmeier
Hi Laurent, thank you very much for your help. The problem is cross talk on the camera flex cable of the Gumstix Overo. The XCLKA signal is beside PCLK and VS. Additionally the OV5647 camera tristate all outputs by default. This leads to HS_VS_IRQ interrupts. I wasn't aware of the interrupts

[PATCH for v3.17 1/2] DocBook media: fix fieldname in struct v4l2_subdev_selection

2014-08-04 Thread Hans Verkuil
From: Hans Verkuil Field 'rect' is really named 'r'. Signed-off-by: Hans Verkuil --- Documentation/DocBook/media/v4l/vidioc-subdev-g-selection.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/DocBook/media/v4l/vidioc-subdev-g-selection.xml b/Documentation/

[PATCH for v3.17 2/2] DocBook media: update version number and V4L2 changes

2014-08-04 Thread Hans Verkuil
From: Hans Verkuil Note: the revision text for the v4l2_pix_format change from Laurent erroneously mentioned 3.16 when it only got merged for 3.17. Fixed that as well. Signed-off-by: Hans Verkuil --- Documentation/DocBook/media/v4l/compat.xml | 24 Documentation/DocBoo

Re: 3.15.6 USB issue with pwc cam

2014-08-04 Thread Laurent Pinchart
Hi Udo, (CC'ing Hans de Goede, the pwc maintainer, and the linux-media mailing list) On Saturday 02 August 2014 15:10:01 Udo van den Heuvel wrote: > Hello, > > I moved a PWC webcam to a USB3 port, and this happened: > > [53008.911811] usb 5-2: new full-speed USB device number 2 using xhci_hcd >

Re: [PATCH] ITU BT2020 support in v4l2_colorspace

2014-08-04 Thread Hans Verkuil
On 08/04/2014 10:49 AM, Jean-Marc VOLLE wrote: > Hello Hans. >> So it is actually being used by studios to create 4k video? > > I do not know if studios are using BT2020 to create 4K video as I do not > work for a studio. On the silicon vendor side (decoder) we need to be ready > to support > any

Re: [PATCH] staging: media: as102: replace custom dprintk() with dev_dbg()

2014-08-04 Thread Dan Carpenter
On Sun, Aug 03, 2014 at 04:54:21PM +0200, Martin Kepplinger wrote: > @@ -447,6 +457,13 @@ static uint8_t as102_fe_get_code_rate(fe_code_rate_t arg) > static void as102_fe_copy_tune_parameters(struct as10x_tune_args *tune_args, > struct dtv_frontend_properties *params) > {

[ANN] Created a patch to teach valgrind about V4L2 and the media API

2014-08-04 Thread Hans Verkuil
See this bugreport for valgrind with the attached patch: https://bugs.kde.org/show_bug.cgi?id=338023 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 http://vger.kernel.or

RE: [PATCH] ITU BT2020 support in v4l2_colorspace

2014-08-04 Thread Jean-Marc VOLLE
Hello Hans. > So it is actually being used by studios to create 4k video? I do not know if studios are using BT2020 to create 4K video as I do not work for a studio. On the silicon vendor side (decoder) we need to be ready to support any format/color space that would become mainstream when broadc