[PATCH v1] [media] ov13858 Set default fps as current fps

2017-07-27 Thread Chiranjeevi Rapolu
On format change, sometimes, sensor was streaming at a much higher FPS than the default. This was resulting in various problems like frame drops/corruption. Upon format change, set default vblank as current vblank. This will ensure that sensor will start streaming at default fps. Signed-off-by: C

[PATCH v1] media: ov13858: Fix initial expsoure max

2017-07-27 Thread Chiranjeevi Rapolu
Previously, initial exposure max was set incorrectly to (0x7fff - 8). Now, limit exposure max to current resolution (VTS - 8). Signed-off-by: Chiranjeevi Rapolu --- drivers/media/i2c/ov13858.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/media/i2c/ov13858.c b/

[PATCH 1/4] lib/scatterlist: Fix offset type in sg_alloc_table_from_pages

2017-07-27 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Scatterlist entries have an unsigned int for the offset so correct the sg_alloc_table_from_pages function accordingly. Since these are offsets withing a page, unsigned int is wide enough. Also converts callers which were using unsigned long locally with the lower_32_bits an

[PATCH 0/3] media/doc: rename pixfmt files, improve colorspace docs

2017-07-27 Thread Hans Verkuil
From: Hans Verkuil Rename the pixfmt-0XX.rst files left over from the DocBook conversion to something that is more human readable. Improve the bt.2020 and SMPTE 2084 documentation. Regards, Hans Hans Verkuil (3): media/doc: rename and reorder pixfmt files media/doc: improve bt.20

[PATCH 2/3] media/doc: improve bt.2020 documentation

2017-07-27 Thread Hans Verkuil
From: Hans Verkuil Add a note stating that bt.2020 is often used in combination with the smpte 2084 transfer function. Also use the right references to the documentation of that transfer function. Signed-off-by: Hans Verkuil --- Documentation/media/uapi/v4l/colorspaces-defs.rst| 2 +- Doc

[PATCH 1/3] media/doc: rename and reorder pixfmt files

2017-07-27 Thread Hans Verkuil
From: Hans Verkuil After the DocBook conversion a number of pixfmt description files just had a number in the filename (pix-fmt-004, 006, etc) which was not very descriptive. Rename them. Note that pixfmt-008.rst was folded into colorspaces-details.rst, so that file is deleted. It's easier to m

[PATCH 3/3] media/doc: improve the SMPTE 2084 documentation

2017-07-27 Thread Hans Verkuil
From: Hans Verkuil Make note of the different luminance ranges between HDR and SDR. Signed-off-by: Hans Verkuil --- Documentation/media/uapi/v4l/colorspaces-details.rst | 12 1 file changed, 12 insertions(+) diff --git a/Documentation/media/uapi/v4l/colorspaces-details.rst b/Doc

Re: [PATCH v2 1/3] media: V3s: Add support for Allwinner CSI.

2017-07-27 Thread Baruch Siach
Hi Yong, I managed to get the Frame Done interrupt with the previous version of this driver on the A33 OLinuXino. No data yet (all zeros). I'm still working on it. One comment below. On Thu, Jul 27, 2017 at 01:01:35PM +0800, Yong Deng wrote: > Allwinner V3s SoC have two CSI module. CSI0 is used

Re: [PATCH v2 1/3] media: V3s: Add support for Allwinner CSI.

2017-07-27 Thread Maxime Ripard
On Thu, Jul 27, 2017 at 03:16:44PM +0300, Baruch Siach wrote: > Hi Yong, > > I managed to get the Frame Done interrupt with the previous version of this > driver on the A33 OLinuXino. No data yet (all zeros). I'm still working on it. > > One comment below. > > On Thu, Jul 27, 2017 at 01:01:35PM

[PATCH] media/extended-controls.rst: fix wrong enum names

2017-07-27 Thread Hans Verkuil
MPEG4 level and profile defines were wrong. Fix this. Signed-off-by: Hans Verkuil Reported-by: Nicolas Dufresne --- diff --git a/Documentation/media/uapi/v4l/extended-controls.rst b/Documentation/media/uapi/v4l/extended-controls.rst index 9acc9cad49e2..667ba882c4cd 100644 --- a/Documentation/me

[ragnatech:media-tree] BUILD SUCCESS da48c948c263c9d87dfc64566b3373a858cc8aa2

2017-07-27 Thread kbuild test robot
git://git.ragnatech.se/linux media-tree da48c948c263c9d87dfc64566b3373a858cc8aa2 media: fix warning on v4l2_subdev_call() result interpreted as bool elapsed time: 1130m configs tested: 153 The following configs have been built successfully. More configs may be tested in the coming days. x86_

Re: [PATCH 1/2] staging: greybus: light: Don't leak memory for no gain

2017-07-27 Thread Rui Miguel Silva
Hi, On Wed, Jul 26, 2017 at 08:32:08PM +0200, Pavel Machek wrote: > Hi! > > > On Tue, Jul 25, 2017 at 02:30:31PM +0200, Johan Hovold wrote: > > > [ +CC: Rui and Greg ] > > > > Thanks Johan. I only got this because of you. > > > > > return ret; > > > > } > > > > > > And while it's fine

Re: [PATCHv3 6/6] media: drop use of MEDIA_API_VERSION

2017-07-27 Thread Laurent Pinchart
Hi Hans, On Saturday 22 Jul 2017 13:30:57 Hans Verkuil wrote: > From: Hans Verkuil > > Set media_version to LINUX_VERSION_CODE, just as we did for > driver_version. > > Nobody ever rememebers to update the version number, but > LINUX_VERSION_CODE will always be updated. > > Move the MEDIA_API_

Re: [PATCH v2 1/2] platform: Add Amlogic Meson AO CEC Controller driver

2017-07-27 Thread Neil Armstrong
On 07/25/2017 03:45 PM, Hans Verkuil wrote: > On 07/25/17 14:34, Neil Armstrong wrote: >> Hi Hans, > +static int meson_ao_cec_probe(struct platform_device *pdev) +{ + struct meson_ao_cec_device *ao_cec; + struct platform_device *hdmi_dev; + struct device_node *np;

Re: [PATCH v2 1/2] platform: Add Amlogic Meson AO CEC Controller driver

2017-07-27 Thread Neil Armstrong
On 07/27/2017 04:43 PM, Neil Armstrong wrote: > On 07/25/2017 03:45 PM, Hans Verkuil wrote: >> On 07/25/17 14:34, Neil Armstrong wrote: >>> Hi Hans, >> > +static int meson_ao_cec_probe(struct platform_device *pdev) > +{ > + struct meson_ao_cec_device *ao_cec; > + struct platform_dev

[PATCH v3 1/2] platform: Add Amlogic Meson AO CEC Controller driver

2017-07-27 Thread Neil Armstrong
The Amlogic SoC embeds a standalone CEC controller, this patch adds a driver for such controller. The controller does not need HPD to be active, and could support up to max 5 logical addresses, but only 1 is handled since the Suspend firmware can make use of this unique logical address to wake up t

[PATCH v3 2/2] dt-bindings: media: Add Amlogic Meson AO-CEC bindings

2017-07-27 Thread Neil Armstrong
The Amlogic SoCs embeds a standalone CEC Controller, this patch adds this device bindings. Acked-by: Rob Herring Signed-off-by: Neil Armstrong --- .../devicetree/bindings/media/meson-ao-cec.txt | 28 ++ 1 file changed, 28 insertions(+) create mode 100644 Documentation/d

[PATCH v3 0/2] media: Add Amlogic Meson AO CEC Controller support

2017-07-27 Thread Neil Armstrong
The Amlogic SoC embeds a standalone CEC controller, this patch adds a driver for such controller. The controller does not need HPD to be active, and could support up to max 5 logical addresses, but only 1 is handled since the Suspend firmware can make use of this unique logical address to wake up t

[PATCH] v4l2-tpg-core.c: fix typo in bt2020_full matrix

2017-07-27 Thread Hans Verkuil
My eye fell on this wrong coefficient in the bt2020_full matrix. The bt2020 matrix (limited range) is OK. Signed-off-by: Hans Verkuil --- diff --git a/drivers/media/common/v4l2-tpg/v4l2-tpg-core.c b/drivers/media/common/v4l2-tpg/v4l2-tpg-core.c index 3dd22da7e17d..a772976cfe26 100644 --- a/drive

Re: [PATCH v3 02/12] intel-ipu3: mmu: implement driver

2017-07-27 Thread Robin Murphy
On 20/07/17 22:49, Sakari Ailus wrote: > Hi Robin, > > On Wed, Jul 19, 2017 at 02:37:12PM +0100, Robin Murphy wrote: > ... >>> +static int ipu3_mmu_map(struct iommu_domain *domain, unsigned long iova, >>> + phys_addr_t paddr, size_t size, int prot) >>> +{ >>> + struct ipu3_mmu_

[PATCH] staging: media: davinci_vpfe: use __func__ for function names

2017-07-27 Thread Diwakar Sharma
Checkpatch reported warnings for use of embedded function names. Use __func__ instead of embedded function names. Signed-off-by: Diwakar Sharma --- drivers/staging/media/davinci_vpfe/dm365_ipipe.c | 10 +- drivers/staging/media/davinci_vpfe/vpfe_mc_capture.c | 8 2 files ch

Re: [PATCH RESEND 02/14] [media] ddbridge: split code into multiple files

2017-07-27 Thread kbuild test robot
Hi Daniel, [auto build test ERROR on linuxtv-media/master] [also build test ERROR on next-20170727] [cannot apply to v4.13-rc2] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Daniel-Scheller

Re: [PATCH RESEND 03/14] [media] ddbridge: bump ddbridge code to version 0.9.29

2017-07-27 Thread kbuild test robot
Hi Daniel, [auto build test ERROR on linuxtv-media/master] [also build test ERROR on next-20170727] [cannot apply to v4.13-rc2] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Daniel-Scheller

Re: [PATCH v4] uvcvideo: add a metadata device node

2017-07-27 Thread Laurent Pinchart
Hi Guennadi, On Tuesday 25 Jul 2017 15:27:24 Guennadi Liakhovetski wrote: > On Fri, 21 Jul 2017, Laurent Pinchart wrote: > > Hi Guennadi, > > > > Thank you for the patch. > > > >> Some UVC video cameras contain metadata in their payload headers. This > >> patch extracts that data, adding more cl

cron job: media_tree daily build: ERRORS

2017-07-27 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: Fri Jul 28 05:00:28 CEST 2017 media-tree git hash:da48c948c263c9d87dfc64566b3373a858cc8aa2 media_build gi