cron job: media_tree daily build: ERRORS

2017-12-29 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: Sat Dec 30 05:00:16 CET 2017 media-tree git hash:d0c8f6ad8b381dd572576ac50b9696d4d31142bb media_build git

[PATCH 01/33] clk_ops: change round_rate() to return unsigned long

2017-12-29 Thread Bryan O'Donoghue
Right now it is not possible to return a value larger than LONG_MAX on 32 bit systems. You can pass a rate of ULONG_MAX but can't return anything past LONG_MAX due to the fact both the rounded_rate and negative error codes are represented in the return value of round_rate(). Most implementations e

RE: ATTENTION!!!

2017-12-29 Thread Loretta Robles
From: Loretta Robles Sent: Friday, December 29, 2017 1:01 PM To: Loretta Robles Subject: ATTENTION!!! You have been randomly selected for a donation. Contact soriz4...@gmail.com for claims.

[linuxtv-media:master 3288/3327] drivers/media/common/videobuf/videobuf2-v4l2.c:678: undefined reference to `video_devdata'

2017-12-29 Thread kbuild test robot
tree: git://linuxtv.org/media_tree.git master head: d0c8f6ad8b381dd572576ac50b9696d4d31142bb commit: 03fbdb2fc2b8bb27b0ee0534fd3e9c57cdc3854a [3288/3327] media: move videobuf2 to drivers/media/common config: x86_64-randconfig-s4-12300216 (attached as .config) compiler: gcc-7 (Debian 7.2.0-12)

Re: [BUG] atomisp_ov2680 not initializing correctly

2017-12-29 Thread Andy Shevchenko
+Cc Hans. On Thu, 2017-12-28 at 18:03 +0200, Andy Shevchenko wrote: > On Sat, 2017-12-23 at 01:31 +0100, Kristian Beilke wrote: > > On 12/21/2017 03:23 PM, Andy Shevchenko wrote: I spend more time on investigating some additional stuff Sakari gave me, but no result so far. So, the verbose debug

Re: v4.15: camera problems on n900

2017-12-29 Thread Pavel Machek
On Fri 2017-12-29 11:38:55, Sakari Ailus wrote: > On Thu, Dec 28, 2017 at 09:24:53PM +0100, Pavel Machek wrote: > > On Wed 2017-12-27 23:17:19, Sakari Ailus wrote: > > > On Wed, Dec 27, 2017 at 10:05:43PM +0100, Pavel Machek wrote: > > > > Hi! > > > > > > > > In v4.14, back camera on N900 works. O

[linuxtv-media:master 3320/3326] drivers/staging/media/imx/imx-media-dev.c:55:49: error: request for member 'name' in something not a structure or union

2017-12-29 Thread kbuild test robot
tree: git://linuxtv.org/media_tree.git master head: e3401c2d3804ec67f90ac20ce684171a02c8bf3e commit: 4e48afecd5ee3a394d228349fc1c33982e9fb557 [3320/3326] media: v4l2-async: simplify v4l2_async_subdev structure config: arm-allyesconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debi

Re: IRQ behaivour has been changed from v4.14 to v4.15-rc1

2017-12-29 Thread Andy Shevchenko
On Fri, 2017-12-29 at 14:10 +0100, Thomas Gleixner wrote: > On Fri, 29 Dec 2017, Andy Shevchenko wrote: > > > On Thu, 2017-12-28 at 22:59 +0100, Thomas Gleixner wrote: > > > On Thu, 28 Dec 2017, Thomas Gleixner wrote: > > > > On Thu, 28 Dec 2017, Andy Shevchenko wrote: > > > > > The result w/o abo

Re: [PATCH 0/2] A few IPU3 CIO2 fixes

2017-12-29 Thread Mauro Carvalho Chehab
Em Fri, 29 Dec 2017 14:59:12 +0200 Sakari Ailus escreveu: > Hi Yong and Mauro, > > The two patches are addressing a few matters Mauro pointed out whilst > handling the CIO2 driver pull request. > > Yong: could you review especially the latter patch? I'm applying the first one, as it cleans 4 w

[PATCH 4/4] media: dmx.h documentation: fix a warning

2017-12-29 Thread Mauro Carvalho Chehab
/devel/v4l/patchwork/Documentation/output/dmx.h.rst:6: WARNING: undefined label: dmx_dqbuf (if the link has no caption the label must precede a section header) This is defined together with DMX_QBUF. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/dmx.h.rst.exceptions | 2 ++ 1 f

[PATCH 2/4] media: dvb_vb2: get rid of DVB_BUF_TYPE_OUTPUT

2017-12-29 Thread Mauro Carvalho Chehab
This is currently unused. So, get rid of it. Signed-off-by: Mauro Carvalho Chehab --- include/media/dvb_vb2.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/media/dvb_vb2.h b/include/media/dvb_vb2.h index 7a529844c5e1..ef4a802f7435 100644 --- a/include/media/dvb_vb2.h +++ b/include/m

[PATCH 1/4] media: dvb_vb2: use strlcpy instead of strncpy

2017-12-29 Thread Mauro Carvalho Chehab
Instead of using strncpy(), use strlcpy(), in order to ensure that a \0 char will be added at the end of the string. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb-core/dvb_vb2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/dvb-core/dvb_vb2.c b/dr

[PATCH 3/4] media: dvb kAPI docs: document dvb_vb2.h

2017-12-29 Thread Mauro Carvalho Chehab
Document the data structures and functions inside this kAPI header. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/kapi/dtv-common.rst | 5 + include/media/dmxdev.h | 2 + include/media/dvb_vb2.h | 183 ++-- 3 files c

[PATCH 0/4] Some patches for DVB VB2 kAPI documentation

2017-12-29 Thread Mauro Carvalho Chehab
Document the new dvb-vb2 kAPI bits, in order to keep it in sync with implementation, and shut up two new documentation warnings. Mauro Carvalho Chehab (4): media: dvb_vb2: use strlcpy instead of strncpy media: dvb_vb2: get rid of DVB_BUF_TYPE_OUTPUT media: dvb kAPI docs: document dvb_vb2.h

Re: [PATCH 1/1] v4l: fwnode: Use fwnode_graph_for_each_endpoint

2017-12-29 Thread Niklas Söderlund
Hi Sakari, Thanks for your patch. On 2017-12-21 14:45:46 +0200, Sakari Ailus wrote: > Use fwnode_graph_for_each_endpoint iterator for better readability. > > Signed-off-by: Sakari Ailus Reviewed-by: Niklas Söderlund > --- > drivers/media/v4l2-core/v4l2-fwnode.c | 3 +-- > 1 file changed, 1

Re: IRQ behaivour has been changed from v4.14 to v4.15-rc1

2017-12-29 Thread Thomas Gleixner
On Fri, 29 Dec 2017, Andy Shevchenko wrote: > On Thu, 2017-12-28 at 22:59 +0100, Thomas Gleixner wrote: > > On Thu, 28 Dec 2017, Thomas Gleixner wrote: > > > On Thu, 28 Dec 2017, Andy Shevchenko wrote: > > > > > The result w/o above is (full log is available here > > > > https://pastebin.com > >

[PATCH 0/2] A few IPU3 CIO2 fixes

2017-12-29 Thread Sakari Ailus
Hi Yong and Mauro, The two patches are addressing a few matters Mauro pointed out whilst handling the CIO2 driver pull request. Yong: could you review especially the latter patch? Sakari Ailus (2): v4l: Fix references in Intel IPU3 Bayer documentation intel-ipu3: Rename arr_size macro, use m

[PATCH 1/2] v4l: Fix references in Intel IPU3 Bayer documentation

2017-12-29 Thread Sakari Ailus
The references in Intel IPU3 Bayer format documentation were wrong. Fix them. Signed-off-by: Sakari Ailus --- Documentation/media/uapi/v4l/pixfmt-srggb10-ipu3.rst | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/media/uapi/v4l/pixfmt-srggb10-ipu3.rst b/D

[PATCH 2/2] intel-ipu3: Rename arr_size macro, use min

2017-12-29 Thread Sakari Ailus
The arr_size() macro which is used to calculate the size of the chunk in the array to be arranged resembles ARRAY_SIZE naming-wise. Avoid confusion by renaming it to CHUNK_SIZE instead. Also use min() macro to calculate the minimum of two numbers. Signed-off-by: Sakari Ailus --- drivers/media/p

Re: [PATCH v2 6/9] v4l: i2c: Copy ov772x soc_camera sensor driver

2017-12-29 Thread Philippe Ombredanne
Jacopo, On Thu, Dec 28, 2017 at 3:01 PM, Jacopo Mondi wrote: > Copy the soc_camera based driver in v4l2 sensor driver directory. > This commit just copies the original file without modifying it. > No modification to KConfig and Makefile as soc_camera framework > dependencies need to be removed fi

Re: [PATCH v5 05/16] media: rkisp1: add Rockchip ISP1 subdev driver

2017-12-29 Thread Philippe Ombredanne
Shunqian, On Fri, Dec 29, 2017 at 8:52 AM, Shunqian Zheng wrote: > From: Jacob Chen > > Add the subdev driver for rockchip isp1. > --- /dev/null > +++ b/drivers/media/platform/rockchip/isp1/rkisp1.c > @@ -0,0 +1,1205 @@ > +/* > + * Rockchip isp1 driver > + * > + * Copyright (C) 2017 Rockchip

[PATCH] v4l2: i2c: ov7670: Fix PLL bypass register values

2017-12-29 Thread Jacopo Mondi
The following commits: commit f6dd927f34d6 ("[media] media: ov7670: calculate framerate properly for ov7675") commit 04ee6d92047e ("[media] media: ov7670: add possibility to bypass pll for ov7675") introduced the ability to bypass PLL multiplier and use input clock (xvclk) as pixel clock output f

Re: IRQ behaivour has been changed from v4.14 to v4.15-rc1

2017-12-29 Thread Andy Shevchenko
On Thu, 2017-12-28 at 22:59 +0100, Thomas Gleixner wrote: > On Thu, 28 Dec 2017, Thomas Gleixner wrote: > > On Thu, 28 Dec 2017, Andy Shevchenko wrote: > > > The result w/o above is (full log is available here > > > https://pastebin.com > > > /J5yaTbM9): > > > > Ok. Which irqs are related to that

Re: [PATCH/RFC v2 05/15] rcar-csi2: count usage for each source pad

2017-12-29 Thread Sakari Ailus
Hejssan, On Tue, Dec 19, 2017 at 12:38:51AM +0100, Niklas Söderlund wrote: > Hi Sakari, > > Tack för dina kommentarer. > > On 2017-12-15 14:25:27 +0200, Sakari Ailus wrote: > > On Thu, Dec 14, 2017 at 08:08:25PM +0100, Niklas Söderlund wrote: > > > The R-Car CSI-2 hardware can output the same vi

Re: [RFC 1/1] v4l: async: Use endpoint node, not device node, for fwnode match

2017-12-29 Thread Sakari Ailus
Hejssan, Niklas! On Tue, Dec 19, 2017 at 10:12:43AM +0100, Niklas Söderlund wrote: > Hej Sakari, > > Ledsen för sent svar. Detsamma, och det gör ingenting. :-) > > On 2017-12-07 09:39:51 +0200, Sakari Ailus wrote: > > Hej Niklas, > > > > Tack för dina kommentarer! > > > > On Wed, Dec 06, 201

Re: [PATCH 2/2] media: don't include drivers/media/i2c at cflags

2017-12-29 Thread Sakari Ailus
On Thu, Dec 28, 2017 at 02:21:49PM -0500, Mauro Carvalho Chehab wrote: > Most of the I2C headers got moved a long time ago to > include/media/i2c. Stop including them at the patch. > > Signed-off-by: Mauro Carvalho Chehab Acked-by: Sakari Ailus -- Sakari Ailus sakari.ai...@linux.intel.com

Re: v4.15: camera problems on n900

2017-12-29 Thread Sakari Ailus
On Thu, Dec 28, 2017 at 09:24:53PM +0100, Pavel Machek wrote: > On Wed 2017-12-27 23:17:19, Sakari Ailus wrote: > > On Wed, Dec 27, 2017 at 10:05:43PM +0100, Pavel Machek wrote: > > > Hi! > > > > > > In v4.14, back camera on N900 works. On v4.15-rc1.. it works for few > > > seconds, but then I get

Re: [PATCH] build: Update videobuf2 related patches

2017-12-29 Thread Jasmin J.
Hi! THX Mauro for only moving and not changing the videobuf2 files, so it was easy to fix. I tested the build with Kernel 4.4 and 3.13. BR, Jasmin

[PATCH] build: Update videobuf2 related patches

2017-12-29 Thread Jasmin J.
From: Jasmin Jessich Commit 03fbdb2f moved videobuf2 to drivers/media/common. Modified the backport patches to patch the files on the new location. Signed-off-by: Jasmin Jessich --- backports/v4.0_dma_buf_export.patch | 18 +- backports/v4.0_drop_trace.patch | 6 +++---

[PATCH v2 1/4] media: ov5695: add support for OV5695 sensor

2017-12-29 Thread Shunqian Zheng
This patch adds driver for Omnivision's ov5695 sensor, the driver supports following features: - supported resolutions + 2592x1944 at 30fps + 1920x1080 at 30fps + 1296x972 at 60fps + 1280x720 at 30fps + 640x480 at 120fps - test patterns - manual exposure/gain(analog and digital) c

[PATCH v2 4/4] [media] dt/bindings: Add bindings for OV2685

2017-12-29 Thread Shunqian Zheng
Add device tree binding documentation for the OV2685 sensor. Signed-off-by: Shunqian Zheng --- .../devicetree/bindings/media/i2c/ov2685.txt | 35 ++ 1 file changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/i2c/ov2685.txt diff --git a

[PATCH v2 2/4] [media] dt/bindings: Add bindings for OV5695

2017-12-29 Thread Shunqian Zheng
Add device tree binding documentation for the OV5695 sensor. Signed-off-by: Shunqian Zheng --- .../devicetree/bindings/media/i2c/ov5695.txt | 38 ++ 1 file changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/i2c/ov5695.txt diff --git a

[PATCH v2 3/4] media: ov2685: add support for OV2685 sensor

2017-12-29 Thread Shunqian Zheng
This patch adds driver for Omnivision's ov2685 sensor. Though the ov2685 can output yuv data, this driver only supports the raw bayer format, including the following features: - output 1600x1200 at 30fps - test patterns - manual exposure/gain control - vblank and hblank - media controller

[PATCH v5 01/16] media: videodev2.h, v4l2-ioctl: add rkisp1 meta buffer format

2017-12-29 Thread Shunqian Zheng
Add the Rockchip ISP1 specific processing parameter format V4L2_META_FMT_RK_ISP1_PARAMS and metadata format V4L2_META_FMT_RK_ISP1_STAT_3A for 3A. Signed-off-by: Shunqian Zheng Signed-off-by: Jacob Chen --- drivers/media/v4l2-core/v4l2-ioctl.c | 2 ++ include/uapi/linux/videodev2.h | 4 +++

[PATCH v5 00/16] Rockchip ISP1 Driver

2017-12-29 Thread Shunqian Zheng
changes in V5: Sync with local changes, - fix the SP height limit - speed up the second stream capture - the second stream can't force sync for rsz when start/stop streaming - add frame id to param vb2 buf - enable luminance maximum threshold changes in V4: - fix some bugs during devel

[PATCH v5 02/16] media: doc: add document for rkisp1 meta buffer format

2017-12-29 Thread Shunqian Zheng
From: Jacob Chen This commit add docuemnt for rkisp1 meta buffer format Signed-off-by: Jacob Chen --- Documentation/media/uapi/v4l/meta-formats.rst | 2 ++ .../media/uapi/v4l/pixfmt-meta-rkisp1-params.rst | 17 + .../media/uapi/v4l/pixfmt-meta-rkisp1-stat.rst

[PATCH v5 03/16] media: rkisp1: Add user space ABI definitions

2017-12-29 Thread Shunqian Zheng
From: Jeffy Chen Add the header for userspace Signed-off-by: Jeffy Chen Signed-off-by: Jacob Chen --- include/uapi/linux/rkisp1-config.h | 757 + 1 file changed, 757 insertions(+) create mode 100644 include/uapi/linux/rkisp1-config.h diff --git a/include/

[PATCH v5 05/16] media: rkisp1: add Rockchip ISP1 subdev driver

2017-12-29 Thread Shunqian Zheng
From: Jacob Chen Add the subdev driver for rockchip isp1. Signed-off-by: Jacob Chen Signed-off-by: Shunqian Zheng Signed-off-by: Yichong Zhong Signed-off-by: Jacob Chen Signed-off-by: Eddie Cai Signed-off-by: Jeffy Chen Signed-off-by: Allon Huang Signed-off-by: Tomasz Figa --- drivers/m

[PATCH v5 04/16] media: rkisp1: add Rockchip MIPI Synopsys DPHY driver

2017-12-29 Thread Shunqian Zheng
From: Jacob Chen This commit adds a subdev driver for Rockchip MIPI Synopsys DPHY driver Signed-off-by: Jacob Chen Signed-off-by: Shunqian Zheng Signed-off-by: Tomasz Figa --- .../media/platform/rockchip/isp1/mipi_dphy_sy.c| 787 + 1 file changed, 787 insertions(+) c

[PATCH v5 06/16] media: rkisp1: add ISP1 statistics driver

2017-12-29 Thread Shunqian Zheng
From: Jacob Chen Add the capture video driver for rockchip isp1 statistics block. Signed-off-by: Jacob Chen Signed-off-by: Shunqian Zheng Signed-off-by: Yichong Zhong Signed-off-by: Jacob Chen Signed-off-by: Eddie Cai Signed-off-by: Jeffy Chen Signed-off-by: Allon Huang Signed-off-by: Tom

[PATCH v5 09/16] media: rkisp1: add rockchip isp1 core driver

2017-12-29 Thread Shunqian Zheng
From: Jacob Chen Add the core driver for rockchip isp1. Signed-off-by: Jacob Chen Signed-off-by: Shunqian Zheng Signed-off-by: Yichong Zhong Signed-off-by: Jacob Chen Signed-off-by: Eddie Cai Signed-off-by: Jeffy Chen Signed-off-by: Allon Huang Signed-off-by: Tomasz Figa --- drivers/med

[PATCH v5 07/16] media: rkisp1: add ISP1 params driver

2017-12-29 Thread Shunqian Zheng
From: Jacob Chen Add the output video driver that accept params from userspace. Signed-off-by: Jacob Chen Signed-off-by: Shunqian Zheng Signed-off-by: Yichong Zhong Signed-off-by: Jacob Chen Signed-off-by: Eddie Cai Signed-off-by: Jeffy Chen Signed-off-by: Allon Huang Signed-off-by: Tomas

[PATCH v5 13/16] ARM: dts: rockchip: add rx0 mipi-phy for rk3288

2017-12-29 Thread Shunqian Zheng
From: Jacob Chen It's a Designware MIPI D-PHY, used by ISP in rk3288. Signed-off-by: Jacob Chen --- arch/arm/boot/dts/rk3288.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi index 5dbfafb..a4c9a6e 100644 --- a/arch/ar

[PATCH v5 14/16] arm64: dts: rockchip: add isp0 node for rk3399

2017-12-29 Thread Shunqian Zheng
rk3399 have two ISP, but we havn't test isp1, so just add isp0 at present. Signed-off-by: Shunqian Zheng Signed-off-by: Jacob Chen --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/a

[PATCH v5 11/16] dt-bindings: Document the Rockchip MIPI RX D-PHY bindings

2017-12-29 Thread Shunqian Zheng
From: Jacob Chen Add DT bindings documentation for Rockchip MIPI D-PHY RX Signed-off-by: Jacob Chen Reviewed-by: Rob Herring --- .../bindings/media/rockchip-mipi-dphy.txt | 88 ++ 1 file changed, 88 insertions(+) create mode 100644 Documentation/devicetree/bindi

[PATCH v5 15/16] arm64: dts: rockchip: add rx0 mipi-phy for rk3399

2017-12-29 Thread Shunqian Zheng
It's a Designware MIPI D-PHY, used for ISP0 in rk3399. Signed-off-by: Shunqian Zheng Signed-off-by: Jacob Chen --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk

[PATCH v5 12/16] ARM: dts: rockchip: add isp node for rk3288

2017-12-29 Thread Shunqian Zheng
From: Jacob Chen rk3288 have a Embedded 13M ISP Signed-off-by: Jacob Chen --- arch/arm/boot/dts/rk3288.dtsi | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi index cd24894..5dbfafb 100644 --- a/arch/arm/boot/dts