cron job: media_tree daily build: ERRORS

2017-10-06 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 Oct 7 05:00:07 CEST 2017 media-tree git hash:c1301077213d4dca34f01fc372b64d3c4a49a437 media_build gi

[PATCH v5 0/3] [media] add IPU3 CIO2 CSI2 driver

2017-10-06 Thread Yong Zhi
The CIO2 driver exposes V4L2, V4L2 sub-device and Media controller interfaces to the user space. This series was tested on Kaby Lake based platform with 2 sensor configurations, media topology was pasted at end for reference. === = history = === Version 5: - cio2_vb2_start_stream

[PATCH v5 1/3] videodev2.h, v4l2-ioctl: add IPU3 raw10 color format

2017-10-06 Thread Yong Zhi
Add IPU3 specific formats: V4L2_PIX_FMT_IPU3_SBGGR10 V4L2_PIX_FMT_IPU3_SGBRG10 V4L2_PIX_FMT_IPU3_SGRBG10 V4L2_PIX_FMT_IPU3_SRGGB10 Signed-off-by: Yong Zhi --- drivers/media/v4l2-core/v4l2-ioctl.c | 4 include/uapi/linux/videodev2.h | 6 ++ 2 files

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

2017-10-06 Thread Yong Zhi
This patch adds CIO2 CSI-2 device driver for Intel's IPU3 camera sub-system support. Signed-off-by: Yong Zhi Signed-off-by: Hyungwoo Yang Signed-off-by: Rajmohan Mani Signed-off-by: Vijaykumar Ramya --- drivers/media/pci/Kconfig|2 + drivers/media/pci/Makefile

[PATCH v5 2/3] doc-rst: add IPU3 raw10 bayer pixel format definitions

2017-10-06 Thread Yong Zhi
The formats added by this patch are: V4L2_PIX_FMT_IPU3_SBGGR10 V4L2_PIX_FMT_IPU3_SGBRG10 V4L2_PIX_FMT_IPU3_SGRBG10 V4L2_PIX_FMT_IPU3_SRGGB10 Signed-off-by: Yong Zhi Signed-off-by: Hyungwoo Yang --- Documentation/media/uapi/v4l/pixfmt-rgb.rst| 1 + .../media/uapi/v4l/p

[PATCH 1/2] media: s5p-mfc: check for firmware allocation before requesting firmware

2017-10-06 Thread Shuah Khan
Check if firmware is allocated before requesting firmware instead of requesting firmware only to release it if firmware is not allocated. Signed-off-by: Shuah Khan --- drivers/media/platform/s5p-mfc/s5p_mfc_ctrl.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dri

[PATCH 0/2] Fix s5p-mfc lock contention in request firmware paths

2017-10-06 Thread Shuah Khan
This patch series fixes inefficiencies and lock contention in the request firmware paths. Shuah Khan (2): media: s5p-mfc: check for firmware allocation before requesting firmware media: s5p-mfc: fix lock confection - request_firmware() once and keep state drivers/media/platform/s5p-m

[PATCH 2/2] media: s5p-mfc: fix lock confection - request_firmware() once and keep state

2017-10-06 Thread Shuah Khan
Driver calls request_firmware() whenever the device is opened for the first time. As the device gets opened and closed, dev->num_inst == 1 is true several times. This is not necessary since the firmware is saved in the fw_buf. s5p_mfc_load_firmware() copies the buffer returned by the request_firmwa

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

2017-10-06 Thread Zhi, Yong
Hi, Tomasz, Sorry for the late reply. I will omit the points that have been fixed in v4 or discussed earlier by either Tuukka or Sakari (https://patchwork.linuxtv.org/patch/41665) > -Original Message- > From: linux-media-ow...@vger.kernel.org [mailto:linux-media- > ow...@vger.kernel.org

Re: [PATCH v3 1/2] dt: bindings: media: Document practices for DT bindings, ports, endpoints

2017-10-06 Thread Rob Herring
On Fri, Sep 29, 2017 at 11:23:40AM +0300, Sakari Ailus wrote: > Port and endpoint numbering has been omitted in DT binding documentation > for a large number of devices. Also common properties the device uses have > been missed in binding documentation. Make it explicit that these things > need to

RE: [PATCH v4 3/3] intel-ipu3: cio2: Add new MIPI-CSI2 driver

2017-10-06 Thread Zhi, Yong
Hi, Sakari, Thanks for the review. > -Original Message- > From: linux-media-ow...@vger.kernel.org [mailto:linux-media- > ow...@vger.kernel.org] On Behalf Of Sakari Ailus > Sent: Tuesday, July 11, 2017 3:34 AM > To: Zhi, Yong > Cc: linux-media@vger.kernel.org; sakari.ai...@linux.intel.com

Re: IMX CSI max pixel rate

2017-10-06 Thread Sakari Ailus
On Fri, Oct 06, 2017 at 12:14:01PM +0200, Philipp Zabel wrote: > On Fri, 2017-10-06 at 10:49 +0300, Sakari Ailus wrote: > > On Thu, Oct 05, 2017 at 10:21:16AM -0700, Tim Harvey wrote: > > > Greetings, > > > > > > I'm working on a HDMI receiver driver for the TDA1997x > > > (https://lwn.net/Article

Re: [PATCH v4] staging: atomisp: add a driver for ov5648 camera sensor

2017-10-06 Thread Sakari Ailus
Hi Devid, On Wed, Oct 04, 2017 at 01:23:36AM +0200, Devid Antonio Filoni wrote: > I was not able to properly test this patch on my Lenovo Miix 310 due to other > issues with atomisp, the output is the same as ov2680 driver (OVTI2680) which > is very similar to ov5648. As reported by dmesg, atomisp

Re: [PATCH v7 5/7] media: open.rst: Adjust some terms to match the glossary

2017-10-06 Thread Sakari Ailus
Hi Mauro, On Wed, Sep 27, 2017 at 07:23:47PM -0300, Mauro Carvalho Chehab wrote: > As we now have a glossary, some terms used on open.rst > require adjustments. > > Acked-by: Hans Verkuil > Signed-off-by: Mauro Carvalho Chehab > --- > Documentation/media/uapi/v4l/open.rst | 12 ++-- >

[PATCH v8 1/3] media: dt: bindings: Add binding for tango HW IR decoder

2017-10-06 Thread Marc Gonzalez
Add DT binding for the HW IR decoder embedded in SMP86xx/SMP87xx. Signed-off-by: Marc Gonzalez --- .../devicetree/bindings/media/tango-ir.txt | 21 + 1 file changed, 21 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/tango-ir.txt diff --git

[PATCH v8 3/3] media: rc: Add driver for tango HW IR decoder

2017-10-06 Thread Marc Gonzalez
From: Mans Rullgard The tango HW IR decoder supports NEC, RC-5, RC-6 protocols. Signed-off-by: Mans Rullgard Signed-off-by: Marc Gonzalez --- Changes between v7 and v8 * RC_MAP_TANGO as default keymap * Define and use NEC_ANY macro --- drivers/media/rc/Kconfig| 10 ++ drivers/media/rc/Ma

[PATCH v8 2/3] media: rc: Add tango keymap

2017-10-06 Thread Marc Gonzalez
Add a keymap for the Sigma Designs Vantage (dev board) remote control. Signed-off-by: Marc Gonzalez --- Changes between v7 and v8 * Add legalese boiler plate * Define RC_PROTO_NECX * Move RC_MAP_TANGO to alphabetical order --- drivers/media/rc/keymaps/Makefile | 1 + drivers/media/rc/keymaps/

Re: [PATCH v7 4/7] media: open.rst: document devnode-centric and mc-centric types

2017-10-06 Thread Sakari Ailus
Hi Mauro, On Wed, Sep 27, 2017 at 07:23:46PM -0300, Mauro Carvalho Chehab wrote: > When we added support for omap3, back in 2010, we added a new > type of V4L2 devices that aren't fully controlled via the V4L2 > device node. > > Yet, we have never clearly documented in the V4L2 specification > th

Re: [PATCH v7 1/7] media: add glossary.rst with a glossary of terms used at V4L2 spec

2017-10-06 Thread Sakari Ailus
Hi Mauro, On Fri, Oct 06, 2017 at 01:22:29PM +0300, Sakari Ailus wrote: > > +V4L2 device node > > + A device node that is associated to a V4L2 main driver, > > + as specified in :ref:`v4l2_device_naming`. I think we need to name the interface, not so much their instances. How about addin

Re: [PATCH v15 29/32] et8ek8: Add support for flash and lens devices

2017-10-06 Thread Pavel Machek
On Thu 2017-10-05 00:50:48, Sakari Ailus wrote: > Parse async sub-devices related to the sensor by switching the async > sub-device registration function. > > Signed-off-by: Sakari Ailus > Acked-by: Hans Verkuil Acked-by: Pavel Machek -- (english) http://www.livejournal.com/~pavelmachek (ces

Re: [PATCH v15 28/32] smiapp: Add support for flash and lens devices

2017-10-06 Thread Pavel Machek
On Thu 2017-10-05 00:50:47, Sakari Ailus wrote: > Parse async sub-devices related to the sensor by switching the async > sub-device registration function. > > These types devices aren't directly related to the sensor, but are > nevertheless handled by the smiapp driver due to the relationship of t

Re: [PATCH v7 3/3] media: rc: Add tango keymap

2017-10-06 Thread Marc Gonzalez
On 06/10/2017 12:47, Måns Rullgård wrote: > Sean Young writes: > >> Looks great, just some minor nitpicks. >> >> I think you need a header with copyright statement and GPL version(s). > > Is this even copyrightable? My thoughts, exactly. I don't mind *not* providing a copyright statement and G

Re: [PATCH v7 3/3] media: rc: Add tango keymap

2017-10-06 Thread Måns Rullgård
Sean Young writes: > Hi Marc, > > Looks great, just some minor nitpicks. > > On Thu, Oct 05, 2017 at 04:54:11PM +0200, Marc Gonzalez wrote: >> Add a keymap for the Sigma Designs Vantage (dev board) remote control. >> >> Signed-off-by: Marc Gonzalez >> --- >> drivers/media/rc/keymaps/Makefile

Re: [PATCH v2 1/2] staging: Introduce NVIDIA Tegra20 video decoder driver

2017-10-06 Thread Dmitry Osipenko
to > help improve the system] > > url: > https://github.com/0day-ci/linux/commits/Dmitry-Osipenko/staging-Introduce-NVIDIA-Tegra20-video-decoder-driver/20171006-101015 > config: ia64-allmodconfig (attached as .config) > compiler: ia64-linux-gcc (GCC) 6.2.0

Re: [PATCH] uvcvideo: Apply flags from device to actual properties

2017-10-06 Thread Edgar Thier
Hi Kieran, > Rather than forward declaring the function ... Could you put the function > higher > in the module please? Will do. Patch will come as a reply shortly. >>> + if (data == NULL) >>> + return -ENOMEM; >> >> This will set the callers 'flags' to -ENOMEM ? Is that desired? >

Re: [PATCH] uvcvideo: Apply flags from device to actual properties

2017-10-06 Thread Edgar Thier
Use flags the device exposes for UVC controls. This allows the device to define which property flags are set. Since some cameras offer auto-adjustments for properties (e.g. auto-gain), the values of other properties (e.g. gain) can change in the camera. Examining the flags ensures that the driver

Re: [PATCH v6 2/7] media: open.rst: better document device node naming

2017-10-06 Thread Sakari Ailus
On Tue, Aug 29, 2017 at 10:17:51AM -0300, Mauro Carvalho Chehab wrote: > Right now, only kAPI documentation describes the device naming. > However, such description is needed at the uAPI too. Add it, > and describe how to get an unique identify for a given device. > > Acked-by: Hans Verkuil > Sig

Re: [PATCH v7 1/7] media: add glossary.rst with a glossary of terms used at V4L2 spec

2017-10-06 Thread Sakari Ailus
Hi Mauro, Thanks for continuing the work on this! On Wed, Sep 27, 2017 at 07:23:43PM -0300, Mauro Carvalho Chehab wrote: > Add a glossary of terms for V4L2, as several concepts are complex > enough to cause misunderstandings. > > Signed-off-by: Mauro Carvalho Chehab > --- > Documentation/media

Re: IMX CSI max pixel rate

2017-10-06 Thread Philipp Zabel
On Fri, 2017-10-06 at 10:49 +0300, Sakari Ailus wrote: > On Thu, Oct 05, 2017 at 10:21:16AM -0700, Tim Harvey wrote: > > Greetings, > > > > I'm working on a HDMI receiver driver for the TDA1997x > > (https://lwn.net/Articles/734692/) and wanted to throw an error if > > the > > detected input resol

Re: [PATCH v5 1/7] media: add glossary.rst with a glossary of terms used at V4L2 spec

2017-10-06 Thread Sakari Ailus
Hi Mauro, On Thu, Oct 05, 2017 at 09:26:51AM -0300, Mauro Carvalho Chehab wrote: > > > > > + > > > > > + See :ref:`media_controller`. > > > > > + > > > > > +MC-centric > > > > > + V4L2 hardware that requires a Media controller. > > > > > + > > > > > + See :ref:`v4l2_hardware_contro

Re: [PATCHv2 2/2] drm: adv7511/33: add HDMI CEC support

2017-10-06 Thread Hans Verkuil
On 06/10/17 06:26, Archit Taneja wrote: > Hi Hans, > > On 09/19/2017 01:03 PM, Hans Verkuil wrote: >> From: Hans Verkuil >> >> Add support for HDMI CEC to the drm adv7511/adv7533 drivers. >> >> The CEC registers that we need to use are identical for both drivers, >> but they appear at different o

Re: [PATCH v5 1/7] media: add glossary.rst with a glossary of terms used at V4L2 spec

2017-10-06 Thread Sakari Ailus
On Thu, Oct 05, 2017 at 03:39:29PM -0300, Mauro Carvalho Chehab wrote: > Em Thu, 5 Oct 2017 11:21:07 +0300 > Sakari Ailus escreveu: > > > Hi Mauro, > > > > My apologies for the late reply. > > > > On Tue, Aug 29, 2017 at 10:07:50AM -0300, Mauro Carvalho Chehab wrote: > > > Em Tue, 29 Aug 2017 1

Re: IMX CSI max pixel rate

2017-10-06 Thread Sakari Ailus
On Thu, Oct 05, 2017 at 10:21:16AM -0700, Tim Harvey wrote: > Greetings, > > I'm working on a HDMI receiver driver for the TDA1997x > (https://lwn.net/Articles/734692/) and wanted to throw an error if the > detected input resolution/vidout-output-bus-format exceeded the max > pixel rate of the SoC