cron job: media_tree daily build: ERRORS

2018-04-22 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 Apr 23 05:00:10 CEST 2018 media-tree git hash:1d338b86e17d87215cf57b1ad1d13b2afe582d33 media_build

[PATCH v3][RESEND] media: i2c: tda1997: replace codec to component

2018-04-22 Thread Kuninori Morimoto
From: Kuninori Morimoto Now we can replace Codec to Component. Let's do it. Note: xxx_codec_xxx() -> xxx_component_xxx() .idle_bias_off = 0 -> .idle_bias_on = 1 .ignore_pmdown_time = 0 -> .use_pmdown_time = 1

[PATCH v2 3/8] v4l: vsp1: Reset the crop and compose rectangles in the set_fmt helper

2018-04-22 Thread Laurent Pinchart
To make vsp1_subdev_set_pad_format() usable by entities that support selection rectangles, we need to reset the crop and compose rectangles when setting the format on the sink pad. Do so and replace the custom set_fmt implementation of the histogram code by a call to vsp1_subdev_set_pad_format().

[PATCH v2 4/8] v4l: vsp1: Document the vsp1_du_atomic_config structure

2018-04-22 Thread Laurent Pinchart
The structure is used in the API that the VSP1 driver exposes to the DU driver. Documenting it is thus important. Signed-off-by: Laurent Pinchart --- Changes since v1: - Fixed typo --- include/media/vsp1.h | 10 ++ 1 file changed, 10

[PATCH v2 5/8] v4l: vsp1: Extend the DU API to support CRC computation

2018-04-22 Thread Laurent Pinchart
Add a parameter (in the form of a structure to ease future API extensions) to the VSP atomic flush handler to pass CRC source configuration, and pass the CRC value to the completion callback. Signed-off-by: Laurent Pinchart ---

[PATCH v2 8/8] drm: rcar-du: Add support for CRC computation

2018-04-22 Thread Laurent Pinchart
Implement CRC computation configuration and reporting through the DRM debugfs-based CRC API. The CRC source can be configured to any input plane or the pipeline output. Signed-off-by: Laurent Pinchart --- Changes since v1: - Format the source names

[PATCH v2 7/8] v4l: vsp1: Integrate DISCOM in display pipeline

2018-04-22 Thread Laurent Pinchart
The DISCOM is used to compute CRCs on display frames. Integrate it in the display pipeline at the output of the blending unit to process output frames. Computing CRCs on input frames is possible by positioning the DISCOM at a different point in the pipeline. This use case isn't supported at the

[PATCH v2 1/8] v4l: vsp1: Use SPDX license headers

2018-04-22 Thread Laurent Pinchart
Adopt the SPDX license identifier headers to ease license compliance management. All files in the driver are licensed under the GPLv2+ except for the vsp1_regs.h file which is licensed under the GPLv2. This is likely an oversight, but fixing this requires contacting the copyright owners and is out

[PATCH v2 0/8] R-Car DU: Support CRC calculation

2018-04-22 Thread Laurent Pinchart
Hello, This patch series adds support for CRC calculation to the rcar-du-drm driver. CRC calculation is supported starting at the Renesas R-Car Gen3 SoCs, as earlier versions don't have the necessary hardware. On Gen3 SoCs, the CRC is computed by the DISCOM module part of the VSP-D and VSP-DL.

[PATCH v2 6/8] v4l: vsp1: Add support for the DISCOM entity

2018-04-22 Thread Laurent Pinchart
The DISCOM calculates a CRC on a configurable window of the frame. It interfaces to the VSP through the UIF glue, hence the name used in the code. The module supports configuration of the CRC window through the crop rectangle on the ink pad of the corresponding entity. However, unlike the

[PATCH v2 2/8] v4l: vsp1: Share the CLU, LIF and LUT set_fmt pad operation code

2018-04-22 Thread Laurent Pinchart
The implementation of the set_fmt pad operation is identical in the three modules. Move it to a generic helper function. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_clu.c| 65 +--

Re: [PATCH 1/1] media: rc: Add NVIDIA IR keymapping

2018-04-22 Thread kbuild test robot
Hi Jun, Thank you for the patch! Yet something to improve: [auto build test ERROR on linuxtv-media/master] [also build test ERROR on v4.17-rc1 next-20180420] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH 1/1] media: rc: Add NVIDIA IR keymapping

2018-04-22 Thread kbuild test robot
Hi Jun, Thank you for the patch! Yet something to improve: [auto build test ERROR on linuxtv-media/master] [also build test ERROR on v4.17-rc1 next-20180420] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH 6/8] drm: rcar-du: rcar-lvds: Add bridge format support

2018-04-22 Thread Peter Rosin
On 2018-04-19 11:31, Jacopo Mondi wrote: > With the introduction of static input image format enumeration in DRM > bridges, add support to retrieve the format in rcar-lvds LVDS encoder > from both panel or bridge, to set the desired LVDS mode. > > Do not rely on 'DRM_BUS_FLAG_DATA_LSB_TO_MSB'

Re: [PATCH 2/8] dt-bindings: display: bridge: thc63lvd1024: Add lvds map property

2018-04-22 Thread Peter Rosin
On 2018-04-19 11:31, Jacopo Mondi wrote: > The THC63LVD1024 LVDS to RGB bridge supports two different input mapping > modes, selectable by means of an external pin. > > Describe the LVDS mode map through a newly defined mandatory property in > device tree bindings. > > Signed-off-by: Jacopo

Re: [PATCH 3/8] drm: bridge: thc63lvd1024: Add support for LVDS mode map

2018-04-22 Thread Peter Rosin
On 2018-04-19 11:31, Jacopo Mondi wrote: > The THC63LVD1024 LVDS to RGB bridge supports two different LVDS mapping > modes, selectable by means of an external pin. > > Add support for configurable LVDS input mapping modes, using the newly > introduced support for bridge input image formats. > >

Re: [PATCH 1/8] drm: bridge: Add support for static image formats

2018-04-22 Thread Peter Rosin
On 2018-04-19 11:31, Jacopo Mondi wrote: > Add support for storing image format information in DRM bridges with > associated helper function. > > This patch replicates for bridges what 'drm_display_info_set_bus_formats()' > is for connectors. > > Signed-off-by: Jacopo Mondi

Re: [PATCH 2/7] media: meye: allow building it with COMPILE_TEST on non-x86

2018-04-22 Thread Andy Shevchenko
On Fri, Apr 20, 2018 at 8:42 PM, Mauro Carvalho Chehab wrote: > This driver depends on sony-laptop driver, but this is available > only for x86. So, add a stub function, in order to allow building > it on non-x86 too. > --- a/include/linux/sony-laptop.h > +++

[RFC PATCH] sound, media: array_find() can be static

2018-04-22 Thread kbuild test robot
Fixes: dbd775375e7d ("sound, media: allow building ISA drivers it with COMPILE_TEST") Signed-off-by: Fengguang Wu --- cmi8328.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/isa/cmi8328.c b/sound/isa/cmi8328.c index d09e456..de6ef1b

Re: [PATCH 3/4] sound, media: allow building ISA drivers it with COMPILE_TEST

2018-04-22 Thread kbuild test robot
-ci/linux/commits/Mauro-Carvalho-Chehab/media-radio-allow-building-ISA-drivers-with-COMPILE_TEST/20180422-180508 base: git://linuxtv.org/media_tree.git master reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings

[PATCH 2/2] [media] ngene: fix ci_tsfix modparam description typo

2018-04-22 Thread Daniel Scheller
From: Daniel Scheller s/shifs/shifts/ Signed-off-by: Daniel Scheller --- drivers/media/pci/ngene/ngene-dvb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/pci/ngene/ngene-dvb.c b/drivers/media/pci/ngene/ngene-dvb.c

[PATCH 1/2] [media] ngene: cleanup superfluous I2C adapter evaluation

2018-04-22 Thread Daniel Scheller
From: Daniel Scheller Commit ee93340e98bc ("media: ngene: deduplicate I2C adapter evaluation") added a helper to evaluate the I2C adapter to be used for demod/tuner attachment based on the given ngene_channel, and that helper is used in many attach functions to initialise the

[PATCH v3 05/11] media: ov772x: use generic names for reset and powerdown gpios

2018-04-22 Thread Akinobu Mita
The ov772x driver uses "rstb-gpios" and "pwdn-gpios" for reset and powerdown pins. However, using generic names for these gpios is preferred. ("reset-gpios" and "powerdown-gpios" respectively) There is only one mainline user for these gpios, so rename to generic names. Cc: Jacopo Mondi

[PATCH v3 04/11] media: ov772x: add media controller support

2018-04-22 Thread Akinobu Mita
Create a source pad and set the media controller type to the sensor. Cc: Jacopo Mondi Cc: Laurent Pinchart Cc: Hans Verkuil Cc: Sakari Ailus Cc: Mauro Carvalho Chehab

[PATCH v3 09/11] media: ov772x: avoid accessing registers under power saving mode

2018-04-22 Thread Akinobu Mita
The set_fmt() in subdev pad ops, the s_ctrl() for subdev control handler, and the s_frame_interval() in subdev video ops could be called when the device is under power saving mode. These callbacks for ov772x driver cause updating H/W registers that will fail under power saving mode. This avoids

[PATCH v3 10/11] media: ov772x: make set_fmt() return -EBUSY while streaming

2018-04-22 Thread Akinobu Mita
The ov772x driver is going to offer a V4L2 sub-device interface, so changing the output data format on this sub-device can be made anytime. However, the request is preferred to fail while the video stream on the device is active. Cc: Jacopo Mondi Cc: Laurent Pinchart

[PATCH v3 08/11] media: ov772x: reconstruct s_frame_interval()

2018-04-22 Thread Akinobu Mita
This splits the s_frame_interval() in subdev video ops into selecting the frame interval and setting up the registers. This is a preparatory change to avoid accessing registers under power saving mode. Cc: Jacopo Mondi Cc: Laurent Pinchart

[PATCH v3 07/11] media: ov772x: handle nested s_power() calls

2018-04-22 Thread Akinobu Mita
Depending on the v4l2 driver, calling s_power() could be nested. So the actual transitions between power saving mode and normal operation mode should only happen at the first power on and the last power off. This adds an s_power() nesting counter and updates the power state if the counter is

[PATCH v3 06/11] media: ov772x: support device tree probing

2018-04-22 Thread Akinobu Mita
The ov772x driver currently only supports legacy platform data probe. This change enables device tree probing. Note that the platform data probe can select auto or manual edge control mode, but the device tree probling can only select auto edge control mode for now. Cc: Jacopo Mondi

[PATCH v3 11/11] media: ov772x: create subdevice device node

2018-04-22 Thread Akinobu Mita
Set the V4L2_SUBDEV_FL_HAS_DEVNODE flag for the subdevice so that the subdevice device node is created. Cc: Jacopo Mondi Cc: Laurent Pinchart Cc: Hans Verkuil Cc: Sakari Ailus

[PATCH v3 01/11] media: dt-bindings: ov772x: add device tree binding

2018-04-22 Thread Akinobu Mita
This adds a device tree binding documentation for OV7720/OV7725 sensor. Cc: Jacopo Mondi Cc: Laurent Pinchart Cc: Hans Verkuil Cc: Sakari Ailus Cc: Mauro Carvalho Chehab

[PATCH v3 02/11] media: ov772x: allow i2c controllers without I2C_FUNC_PROTOCOL_MANGLING

2018-04-22 Thread Akinobu Mita
The ov772x driver only works when the i2c controller have I2C_FUNC_PROTOCOL_MANGLING. However, many i2c controller drivers don't support it. The reason that the ov772x requires I2C_FUNC_PROTOCOL_MANGLING is that it doesn't support repeated starts. This changes the reading ov772x register method

[PATCH v3 03/11] media: ov772x: add checks for register read errors

2018-04-22 Thread Akinobu Mita
This change adds checks for register read errors and returns correct error code. Cc: Jacopo Mondi Cc: Laurent Pinchart Cc: Hans Verkuil Cc: Sakari Ailus Cc: Mauro Carvalho

[PATCH v3 00/11] media: ov772x: support media controller, device tree probing, etc.

2018-04-22 Thread Akinobu Mita
This patchset includes support media controller, sub-device interface, device tree probing and other miscellanuous changes for ov772x driver. * v3 (thanks to Sakari Ailus and Jacopo Mondi) - Reorder the patches - Add Reviewed-by: lines - Remove I2C_CLIENT_SCCB flag set as it isn't needed anymore

Re: [PATCH 1/4] media: radio: allow building ISA drivers with COMPILE_TEST

2018-04-22 Thread kbuild test robot
-ci/linux/commits/Mauro-Carvalho-Chehab/media-radio-allow-building-ISA-drivers-with-COMPILE_TEST/20180422-180508 base: git://linuxtv.org/media_tree.git master reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings

[GIT PULL FOR v4.18] R-Car VSP1 changes

2018-04-22 Thread Laurent Pinchart
Hi Mauro, The following changes since commit 1d338b86e17d87215cf57b1ad1d13b2afe582d33: media: v4l2-compat-ioctl32: better document the code (2018-04-20 08:24:13 -0400) are available in the Git repository at: git://linuxtv.org/pinchartl/media.git v4l2/vsp1/bru-brs for you to fetch changes

Re: [PATCH 04/15] media: pxa_camera: remove the dmaengine compat need

2018-04-22 Thread Hans Verkuil
On 04/02/2018 04:26 PM, Robert Jarzmik wrote: > From: Robert Jarzmik > > As the pxa architecture switched towards the dmaengine slave map, the > old compatibility mechanism to acquire the dma requestor line number and > priority are not needed anymore. > > This patch

Re: [PATCH 04/15] media: pxa_camera: remove the dmaengine compat need

2018-04-22 Thread Hans Verkuil
On 04/21/2018 09:27 PM, Robert Jarzmik wrote: > Robert Jarzmik writes: > >> From: Robert Jarzmik >> >> As the pxa architecture switched towards the dmaengine slave map, the >> old compatibility mechanism to acquire the dma requestor line

[PATCH 3/3] v4l: rcar_fdp1: Fix indentation oddities

2018-04-22 Thread Laurent Pinchart
Indentation is odd in several places, especially when printing messages to the kernel log. Fix it to match the usual coding style. Signed-off-by: Laurent Pinchart --- drivers/media/platform/rcar_fdp1.c | 28 ++-- 1 file changed,

[PATCH 2/3] v4l: rcar_fdp1: Enable compilation on Gen2 platforms

2018-04-22 Thread Laurent Pinchart
Commit 1d3897143815 ("[media] v4l: rcar_fdp1: add FCP dependency") fixed a compilation breakage when the optional VIDEO_RENESAS_FCP dependency is compiled as a module while the rcar_fdp1 driver is built in. As a side effect it disabled compilation on Gen2 by disallowing the valid combination

[PATCH 1/3] v4l: rcar_fdp1: Change platform dependency to ARCH_RENESAS

2018-04-22 Thread Laurent Pinchart
From: Geert Uytterhoeven The Renesas Fine Display Processor driver is used on Renesas R-Car SoCs only. Since commit 9b5ba0df4ea4f940 ("ARM: shmobile: Introduce ARCH_RENESAS") is ARCH_RENESAS a more appropriate platform dependency than the legacy ARCH_SHMOBILE, hence use

[PATCH 0/3] R-Car Gen2 support for FDP1

2018-04-22 Thread Laurent Pinchart
Hello, This small patch series improves support of the FDP1 on R-Car Gen2 platforms by enabling compilation without requiring the Gen3-only FCP dependency. As the Kconfig change (2/3) conflicts with a patch recently posted by Geert I have included it in the series as 1/3. Patch 3/3 fixes

Re: [PATCH stable v4.15 1/3] media: staging: lirc_zilog: broken reference counting

2018-04-22 Thread Greg KH
On Mon, Apr 16, 2018 at 10:15:28AM +0100, Sean Young wrote: > On Mon, Apr 16, 2018 at 10:50:15AM +0200, Greg KH wrote: > > On Mon, Apr 16, 2018 at 09:43:45AM +0100, Sean Young wrote: > > > On Mon, Apr 16, 2018 at 09:52:28AM +0200, Greg KH wrote: > > > > What is the git commit id of this patch, and

Re: Grant

2018-04-22 Thread M. M. Fridman
I Mikhail Fridman. has selected you specially as one of my beneficiaries for my Charitable Donation, Just as I have declared on May 23, 2016 to give my fortune as charity. Check the link below for confirmation:

Re: [PATCH 3/8] [media] v4l: rcar_fdp1: Change platform dependency to ARCH_RENESAS

2018-04-22 Thread Laurent Pinchart
Hi Geert, On Saturday, 21 April 2018 11:07:11 EEST Laurent Pinchart wrote: > On Friday, 20 April 2018 16:28:29 EEST Geert Uytterhoeven wrote: > > The Renesas Fine Display Processor driver is used on Renesas R-Car SoCs > > only. Since commit 9b5ba0df4ea4f940 ("ARM: shmobile: Introduce > >