cron job: media_tree daily build: ERRORS

2017-05-03 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: Thu May 4 05:00:26 CEST 2017 media-tree git hash:3622d3e77ecef090b5111e3c5423313f11711dfa media_build

[PATCH] media: i2c: initialize scalar variables

2017-05-03 Thread Gustavo A. R. Silva
Initialize scalar variables _pid_ and _ver_ to avoid a possible misbehavior. Addresses-Coverity-ID: 1324239 Addresses-Coverity-ID: 1324240 Signed-off-by: Gustavo A. R. Silva --- drivers/media/i2c/ov2659.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

[PATCH] [media] v4l2: Add support for go2001 PCI codec driver

2017-05-03 Thread Thierry Escande
This patch adds support for the go2001 PCI codec driver. This hardware is present on ChromeOS based devices like the Acer ChromeBox and Acer/LG ChromeBase 24 devices. This driver comes from the ChromeOS v3.18 kernel tree and has been modified to support vb2_buffer restructuring introduced in

Re: [PATCH] v4l2-async: add subnotifier registration for subdevices

2017-05-03 Thread Niklas Söderlund
Hej Sakari, Tack för dina kommentarer. On 2017-05-03 22:51:46 +0300, Sakari Ailus wrote: > Hejssan! > > On Fri, Apr 28, 2017 at 01:47:48PM +0200, Niklas Söderlund wrote: > > On 2017-04-28 13:28:17 +0300, Sakari Ailus wrote: > > > Hi Niklas, > > > > > > Thank you for the patch. > > > > > > Do

Re: [PATCH] v4l2-async: add subnotifier registration for subdevices

2017-05-03 Thread Niklas Söderlund
Hi Kieran, Thanks for your feedback. On 2017-05-03 18:07:47 +0100, Kieran Bingham wrote: > Hi Niklas, > > Small thing to ponder discovered below: > > On 27/04/17 23:30, Niklas Söderlund wrote: > > When registered() of v4l2_subdev_internal_ops is called the subdevice > > have access to the

Re: [PATCH] libdvbv5: T2 delivery descriptor: fix wrong size of bandwidth field

2017-05-03 Thread Mauro Carvalho Chehab
Em Wed, 3 May 2017 09:53:03 -0300 Mauro Carvalho Chehab escreveu: > Hi Gregor, > > Em Tue, 2 May 2017 22:30:29 +0200 > Gregor Jasny escreveu: > > > Hello Clemens, > > > > On 4/1/17 5:50 PM, Clemens Ladisch wrote: > > > ETSI EN 300 468 V1.11.1

[PATCH] ov5670: Add Omnivision OV5670 5M sensor support

2017-05-03 Thread Chiranjeevi Rapolu
Provides single source pad with up to 2576x1936 pixels at 10-bit raw bayer format over MIPI CSI2 two lanes at 640Mbps/lane. Supports up to 30fps at 5M pixels, up to 60fps at 1080p. Signed-off-by: Chiranjeevi Rapolu --- drivers/media/i2c/Kconfig | 11 +

Re: [PATCH 11/25] [media] dvb-core: use pr_foo() instead of printk()

2017-05-03 Thread Arnd Bergmann
On Friday, October 14, 2016 2:45:49 PM CEST Mauro Carvalho Chehab wrote: > > -#define dprintkif (debug) printk > +#define dprintk(fmt, arg...) do { \ > + if (debug) \ > +

Re: [PATCH 3/3] [media] intel-ipu3: cio2: Add new MIPI-CSI2 driver

2017-05-03 Thread Sakari Ailus
Hi Hans, Hans Verkuil wrote: Is it likely that there will be more Intel PCI drivers? If so, then we can consider putting it in pci/intel/ipu3/. Maybe. There is more hardware and they're called IPUs, too. I think this naming would be a good idea going forward. -- Regards, Sakari Ailus

Re: [PATCH 3/3] [media] intel-ipu3: cio2: Add new MIPI-CSI2 driver

2017-05-03 Thread Hans Verkuil
On 04/30/2017 01:34 AM, Yong Zhi wrote: > This patch adds CIO2 CSI-2 device driver for > Intel's IPU3 camera sub-system support. > > The V4L2 fwnode matching depends on the following work: > > > > Signed-off-by: Yong Zhi

Re: [PATCH 3/3] [media] intel-ipu3: cio2: Add new MIPI-CSI2 driver

2017-05-03 Thread Sakari Ailus
Hi Tuukka, On Wed, May 03, 2017 at 02:06:23PM +0300, Tuukka Toivonen wrote: > Hi Sakari, > > On Wednesday, May 03, 2017 11:58:01 Sakari Ailus wrote: > > Hi Yong, > > > > A few more minor comments below... > > > > On Sat, Apr 29, 2017 at 06:34:36PM -0500, Yong Zhi wrote: > > ... > > > +/***

Re: [PATCHv2] omap3isp: add support for CSI1 bus

2017-05-03 Thread Pavel Machek
Hi! > It seems they don't compile. Hmmm. Did I do something wrong? "struct > fwnode_endpoint" seems to be only used in v4l2-fwnode.h; that can't be > right...? Next problem is missing dev_fwnode; fixed. Next problem is pavel@duo:/data/l/linux-n900$ git grep fwnode_graph_get_next_endpoint .

Re: [PATCH 3/3] [media] intel-ipu3: cio2: Add new MIPI-CSI2 driver

2017-05-03 Thread Sakari Ailus
Moi, On Wed, May 03, 2017 at 01:57:31PM +0300, Tuukka Toivonen wrote: > Hi Sakari, > > Thanks for the comments. > > On Tuesday, May 02, 2017 16:00:20 Sakari Ailus wrote: > > Hi Yong, > > > > Thanks for the patches! Some comments below. > > > > On Sat, Apr 29, 2017 at 06:34:36PM -0500, Yong

Re: [patch] autogain support for bayer10 format (was Re: [patch] propagating controls in libv4l2)

2017-05-03 Thread Pavel Machek
On Wed 2017-05-03 20:05:56, Russell King - ARM Linux wrote: > On Wed, Apr 26, 2017 at 06:43:54PM +0300, Ivaylo Dimitrov wrote: > > >+static int get_luminosity_bayer10(uint16_t *buf, const struct v4l2_format > > >*fmt) > > >+{ > > >+ long long avg_lum = 0; > > >+ int x, y; > > >+ > > >+ buf

Re: [PATCH] v4l2-async: add subnotifier registration for subdevices

2017-05-03 Thread Sakari Ailus
Hejssan! On Fri, Apr 28, 2017 at 01:47:48PM +0200, Niklas Söderlund wrote: > On 2017-04-28 13:28:17 +0300, Sakari Ailus wrote: > > Hi Niklas, > > > > Thank you for the patch. > > > > Do you happen to have a driver that would use this, to see some example of > > how the code is to be used? > >

Re: [PATCHv2] omap3isp: add support for CSI1 bus

2017-05-03 Thread Pavel Machek
Hi! > > Could you try to two patches I've applied on the ccp2 branch (I'll remove > > them if there are issues). > > > > That's compile tested for now only. > > > > I've updated the CCP2 patches here on top of the latest fwnode patches: > >

Re: [PATCH v2 1/2] [media] dt-bindings: Add bindings for video-multiplexer device

2017-05-03 Thread Sakari Ailus
Thanks, Philipp! On Tue, May 02, 2017 at 05:09:12PM +0200, Philipp Zabel wrote: > Add bindings documentation for the video multiplexer device. > > Signed-off-by: Sascha Hauer > Signed-off-by: Philipp Zabel > Signed-off-by: Steve Longerbeam

Re: [PATCH v2 2/2] [media] platform: add video-multiplexer subdevice driver

2017-05-03 Thread Sakari Ailus
Hi Philipp, Thanks for continuing working on this! I have some minor comments below... On Tue, May 02, 2017 at 05:09:13PM +0200, Philipp Zabel wrote: > This driver can handle SoC internal and external video bus multiplexers, > controlled by mux controllers provided by the mux controller

Re: [patch] autogain support for bayer10 format (was Re: [patch] propagating controls in libv4l2)

2017-05-03 Thread Russell King - ARM Linux
On Wed, Apr 26, 2017 at 06:43:54PM +0300, Ivaylo Dimitrov wrote: > >+static int get_luminosity_bayer10(uint16_t *buf, const struct v4l2_format > >*fmt) > >+{ > >+long long avg_lum = 0; > >+int x, y; > >+ > >+buf += fmt->fmt.pix.height * fmt->fmt.pix.bytesperline / 4 + > >+

Re: [PATCH] v4l2-async: add subnotifier registration for subdevices

2017-05-03 Thread Kieran Bingham
Hi Niklas, Small thing to ponder discovered below: On 27/04/17 23:30, Niklas Söderlund wrote: > When registered() of v4l2_subdev_internal_ops is called the subdevice > have access to the master devices v4l2_dev and it's called with the > async frameworks list_lock held. In this context the

Re: [PATCH v8 05/10] media: venus: adding core part and helper functions

2017-05-03 Thread Jordan Crouse
On Tue, May 02, 2017 at 12:17:20PM +0300, Stanimir Varbanov wrote: > Hi, > > On 04/29/2017 11:22 PM, Bjorn Andersson wrote: > > On Fri 28 Apr 15:02 PDT 2017, Jordan Crouse wrote: > > > >> On Fri, Apr 28, 2017 at 12:13:52PM +0300, Stanimir Varbanov wrote: > >>> +int venus_boot(struct device

[PATCH] media: dvb-frontends: drx39xyj: remove obsolete sign extend macros

2017-05-03 Thread Martin Kepplinger
DRX_S9TOS16 and DRX_S24TODRXFREQ are simply not used. Furthermore, sign_extend32() should be used for sign extension. (Also, the comment describing DRX_S24TODRXFREQ was wrong). So remove these macros. Signed-off-by: Martin Kepplinger ---

Re: [PATCH] libdvbv5: T2 delivery descriptor: fix wrong size of bandwidth field

2017-05-03 Thread Mauro Carvalho Chehab
Hi Gregor, Em Tue, 2 May 2017 22:30:29 +0200 Gregor Jasny escreveu: > Hello Clemens, > > On 4/1/17 5:50 PM, Clemens Ladisch wrote: > > ETSI EN 300 468 V1.11.1 § 6.4.4.2 defines the bandwith field as having > > four bits. > > I just used your patch and another to

Re: [PATCH 2/2] [media] platform: add video-multiplexer subdevice driver

2017-05-03 Thread Peter Rosin
On 2017-05-03 10:35, Philipp Zabel wrote: > On Tue, 2017-05-02 at 19:42 +0200, Peter Rosin wrote: >> On 2017-05-02 17:21, Philipp Zabel wrote: >>> Thank you, I've resent a version with a mutex lock around vmux->active. >> >> I had a bunch of ifs in the above message, so I'm not sure it's needed.

Re: [RESEND v2 PATCH] v4l: omap_vout: vrfb: Convert to dmaengine

2017-05-03 Thread Peter Ujfalusi
since RESEND (27.10.2016): - rebased on next-20170503 I can not test it on real HW (still), but I have validated [1] that the change is correct and should not cause any regression. Laurent: can you verify the patch on a real hardware? [1] https://github.com/omap-audio/linux-audio/blob/peter/linu

[RESEND v2 PATCH] v4l: omap_vout: vrfb: Convert to dmaengine

2017-05-03 Thread Peter Ujfalusi
n next-20170503 I can not test it on real HW (still), but I have validated [1] that the change is correct and should not cause any regression. Laurent: can you verify the patch on a real hardware? Regards, Peter drivers/media/platform/omap/omap_vout_vrfb.c | 133 --- drivers

Re: [PATCH 3/3] [media] intel-ipu3: cio2: Add new MIPI-CSI2 driver

2017-05-03 Thread Tuukka Toivonen
Hi Sakari, On Wednesday, May 03, 2017 11:58:01 Sakari Ailus wrote: > Hi Yong, > > A few more minor comments below... > > On Sat, Apr 29, 2017 at 06:34:36PM -0500, Yong Zhi wrote: > ... > > +/*** V4L2 sub-device asynchronous registration callbacks***/ > > + > > +static struct

Re: [PATCH 3/3] [media] intel-ipu3: cio2: Add new MIPI-CSI2 driver

2017-05-03 Thread Tuukka Toivonen
Hi Sakari, Thanks for the comments. On Tuesday, May 02, 2017 16:00:20 Sakari Ailus wrote: > Hi Yong, > > Thanks for the patches! Some comments below. > > On Sat, Apr 29, 2017 at 06:34:36PM -0500, Yong Zhi wrote: > > This patch adds CIO2 CSI-2 device driver for > > Intel's IPU3 camera

[PATCH] rc-core: cleanup rc_register_device (v2)

2017-05-03 Thread David Härdeman
The device core infrastructure is based on the presumption that once a driver calls device_add(), it must be ready to accept userspace interaction. This requires splitting rc_setup_rx_device() into two functions and reorganizing rc_register_device() so that as much work as possible is performed

Re: [PATCH 2/6] rc-core: cleanup rc_register_device

2017-05-03 Thread David Härdeman
On Tue, May 02, 2017 at 09:48:26PM +0100, Sean Young wrote: >On Tue, May 02, 2017 at 08:53:02PM +0200, David Härdeman wrote: >> On Mon, May 01, 2017 at 07:47:25PM +0200, David Härdeman wrote: >> >On Mon, May 01, 2017 at 05:49:53PM +0100, Sean Young wrote: >> >>On Thu, Apr 27, 2017 at 10:34:03PM

Re: [PATCH v2 3/3] libv4l-codecparsers: add GStreamer mpeg2 parser

2017-05-03 Thread Hugues FRUCHET
Thanks Nicolas, I will update configure.ac accordingly. BR, Hugues. On 05/01/2017 07:37 PM, Nicolas Dufresne wrote: > Le vendredi 28 avril 2017 à 17:02 +0200, Hugues Fruchet a écrit : >> Add the mpeg2 codecparser backend glue which will >> call the GStreamer parsing functions. >> >>

Re: [PATCH v5] media: platform: Renesas IMR driver

2017-05-03 Thread Laurent Pinchart
Hi Geert, On Wednesday 03 May 2017 09:22:00 Geert Uytterhoeven wrote: > On Tue, May 2, 2017 at 11:17 PM, Laurent Pinchart wrote: > > On Wednesday 22 Mar 2017 10:34:16 Geert Uytterhoeven wrote: > >> On Thu, Mar 9, 2017 at 9:08 PM, Sergei Shtylyov wrote: > >>> --- /dev/null > >>> +++

Re: [PATCH 3/3] [media] intel-ipu3: cio2: Add new MIPI-CSI2 driver

2017-05-03 Thread Sakari Ailus
Hi Yong, A few more minor comments below... On Sat, Apr 29, 2017 at 06:34:36PM -0500, Yong Zhi wrote: ... > +/*** V4L2 sub-device asynchronous registration callbacks***/ > + > +static struct cio2_queue *cio2_find_queue_by_sensor_node(struct cio2_queue > *q, > +

Re: [PATCH 2/2] [media] platform: add video-multiplexer subdevice driver

2017-05-03 Thread Philipp Zabel
On Tue, 2017-05-02 at 19:42 +0200, Peter Rosin wrote: > On 2017-05-02 17:21, Philipp Zabel wrote: > > On Sat, 2017-04-29 at 23:42 +0200, Peter Rosin wrote: > >> On 2017-04-29 23:29, Peter Rosin wrote: > >>> On 2017-04-28 16:13, Philipp Zabel wrote: > This driver can handle SoC internal and

Re: [PATCHv2] omap3isp: add support for CSI1 bus

2017-05-03 Thread Sakari Ailus
Hi Pavel, On 03/04/17 15:03, Sakari Ailus wrote: > Hi Pavel, > > On Thu, Mar 02, 2017 at 01:38:48PM +0100, Pavel Machek wrote: >> Hi! >> Ok, how about this one? omap3isp: add rest of CSI1 support CSI1 needs one more bit to be set up. Do just that. It is

Re: [PATCH v5] media: platform: Renesas IMR driver

2017-05-03 Thread Geert Uytterhoeven
Hi Laurent, On Tue, May 2, 2017 at 11:17 PM, Laurent Pinchart wrote: > On Wednesday 22 Mar 2017 10:34:16 Geert Uytterhoeven wrote: >> On Thu, Mar 9, 2017 at 9:08 PM, Sergei Shtylyov wrote: >> > --- /dev/null >> > +++