cron job: media_tree daily build: ERRORS

2016-11-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: Wed Nov 30 05:00:18 CET 2016 media-tree git hash:a000f0d3995f622410d433a01e94fbfb45969e27 media_build

[PATCH v8 4/4] vcodec: mediatek: Add Maintainers entry for Mediatek JPEG driver

2016-11-29 Thread Rick Chang
Signed-off-by: Rick Chang Signed-off-by: Minghsiu Tsai Signed-off-by: Bin Liu --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 93e9f42..6f68fb6 100644 ---

[PATCH v8 3/4] arm: dts: mt2701: Add node for Mediatek JPEG Decoder

2016-11-29 Thread Rick Chang
Signed-off-by: Rick Chang Signed-off-by: Minghsiu Tsai --- This patch depends on: CCF "Add clock support for Mediatek MT2701"[1] iommu and smi "Add the dtsi node of iommu and smi for mt2701"[2] [1]

[PATCH v8 2/4] vcodec: mediatek: Add Mediatek JPEG Decoder Driver

2016-11-29 Thread Rick Chang
Add v4l2 driver for Mediatek JPEG Decoder Signed-off-by: Rick Chang Signed-off-by: Minghsiu Tsai --- drivers/media/platform/Kconfig | 15 + drivers/media/platform/Makefile |2 +

[PATCH v8 1/4] dt-bindings: mediatek: Add a binding for Mediatek JPEG Decoder

2016-11-29 Thread Rick Chang
Add a DT binding documentation for Mediatek JPEG Decoder of MT2701 SoC. Signed-off-by: Rick Chang Signed-off-by: Minghsiu Tsai Acked-by: Rob Herring --- .../bindings/media/mediatek-jpeg-decoder.txt | 37

[PATCH v8 0/4] Add Mediatek JPEG Decoder

2016-11-29 Thread Rick Chang
This series of patches provide a v4l2 driver to control Mediatek JPEG decoder for decoding JPEG image and Motion JPEG bitstream. changes since v7: - Update MAINTAINERS changes since v6: - fix kbuild test fail - Add patch for MAINTAINERS changes since v5: - remove redundant name from struct

[PATCH v2] media: Protect enable_source and disable_source handler code paths

2016-11-29 Thread Shuah Khan
Drivers might try to access and run enable_source and disable_source handlers when the driver that implements these handlers is clearing the handlers during its unregister. Fix the following race condition: process 1 process 2 request video streaming

[PATCH v4 1/4] [media] davinci: vpif_capture: don't lock over s_stream

2016-11-29 Thread Kevin Hilman
Video capture subdevs may be over I2C and may sleep during xfer, so we cannot do IRQ-disabled locking when calling the subdev. Signed-off-by: Kevin Hilman --- drivers/media/platform/davinci/vpif_capture.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

[PATCH v4 3/4] [media] davinci: vpif_capture: get subdevs from DT

2016-11-29 Thread Kevin Hilman
Allow getting of subdevs from DT ports and endpoints. The _get_pdata() function was larely inspired by (i.e. stolen from) am437x-vpfe.c Signed-off-by: Kevin Hilman --- drivers/media/platform/davinci/vpif_capture.c | 138 +-

[PATCH v4 4/4] [media] dt-bindings: add TI VPIF documentation

2016-11-29 Thread Kevin Hilman
Signed-off-by: Kevin Hilman --- .../devicetree/bindings/media/ti,da850-vpif.txt| 67 ++ 1 file changed, 67 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/ti,da850-vpif.txt diff --git

[PATCH v4 0/4] davinci: VPIF: add DT support

2016-11-29 Thread Kevin Hilman
Add DT support, including getting subdevs from DT ports/endpoints. Tested video capture to memory on da850-lcdk board using composite input. Changes since v3: - move to a single VPIF node, DT binding updated accordingly - misc fixes/updates based on reviews from Sakari Changes since v2: - DT

[PATCH v4 2/4] [media] davinci: VPIF: add basic support for DT init

2016-11-29 Thread Kevin Hilman
Add basic support for initialization via DT. Because existing capture and display devices are implemented as separate platform_devices, and in order to preserve that legacy support, during DT boot, manually create capture and display platform devices to initialize capture and display support.

Donation

2016-11-29 Thread Lopez Omar
Hello, My name is Gloria C. Mackenzie, i have a Monetary Donation to make for less privilege and yourself and your organization, am writing you with a friend's email, please contact me on g_macken...@rogers.com -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body

[GIT PULL FOR v4.10] lirc cdev fixes for 4.10

2016-11-29 Thread Sean Young
Hi Mauro, Just one fix to prevent double free or NULL deref in error path. Thanks, Sean The following changes since commit a000f0d3995f622410d433a01e94fbfb45969e27: [media] vivid: Set color_enc on HSV formats (2016-11-29 12:12:32 -0200) are available in the git repository at:

Re: 3A / auto-exposure Region of Interest setting

2016-11-29 Thread Laurent Pinchart
Hi Guennadi, (CC'ing Sakari) On Monday 28 Nov 2016 15:18:03 Guennadi Liakhovetski wrote: > Hi, > > Has anyone already considered supporting 3A (e.g. auto-exposure) Region of > Interest selection? In UVC this is the "Digital Region of Interest (ROI) > Control." Android defines

Re: [PATCH 2/2] media: protect enable and disable source handler checks and calls

2016-11-29 Thread Shuah Khan
On 11/29/2016 02:22 AM, Sakari Ailus wrote: > Hi Shuah, > > On Mon, Nov 28, 2016 at 07:15:14PM -0700, Shuah Khan wrote: >> Protect enable and disable source handler checks and calls from dvb-core >> and v4l2-core. Hold graph_mutex to check if enable and disable source >> handlers are present and

Re: [PATCH] [media] adv7604: Initialize drive strength to default when using DT

2016-11-29 Thread Laurent Pinchart
Hi Lars, Thank you for the patch. On Tuesday 29 Nov 2016 12:23:48 Lars-Peter Clausen wrote: > The adv7604 driver platform data contains fields for configuring the drive > strength of the output pins. When probing the driver through DT these > fields are not explicitly initialized, which means

Re: [PATCH v2.1 1/2] smiapp: Implement power-on and power-off sequences without runtime PM

2016-11-29 Thread Laurent Pinchart
Hi Sakari, Thank you for the patch. On Tuesday 29 Nov 2016 19:28:53 Sakari Ailus wrote: > Power on the sensor when the module is loaded and power it off when it is > removed. > > Signed-off-by: Sakari Ailus > --- > Hi Alan and Laurent, > > I hope this should be

[PATCH v2.1 1/2] smiapp: Implement power-on and power-off sequences without runtime PM

2016-11-29 Thread Sakari Ailus
Power on the sensor when the module is loaded and power it off when it is removed. Signed-off-by: Sakari Ailus --- Hi Alan and Laurent, I hope this should be good then. I'm only enabling runtime PM at the end of probe() when all is well, which reduces need for

Re: [PATCH 0/2] media protect enable and disable source handler paths

2016-11-29 Thread Mauro Carvalho Chehab
Em Tue, 29 Nov 2016 10:07:21 -0700 Shuah Khan escreveu: > On 11/29/2016 02:15 AM, Mauro Carvalho Chehab wrote: > > Em Mon, 28 Nov 2016 19:15:12 -0700 > > Shuah Khan escreveu: > > > >> These two patches fix enable and disable source handler

Re: [PATCH 0/2] media protect enable and disable source handler paths

2016-11-29 Thread Shuah Khan
On 11/29/2016 02:15 AM, Mauro Carvalho Chehab wrote: > Em Mon, 28 Nov 2016 19:15:12 -0700 > Shuah Khan escreveu: > >> These two patches fix enable and disable source handler paths. These >> aren't dependent patches, grouped because they fix similar problems. > > Those

Re: [PATCH v3 4/4] [media] dt-bindings: add TI VPIF documentation

2016-11-29 Thread Rob Herring
On Mon, Nov 28, 2016 at 4:30 PM, Kevin Hilman wrote: > Hi Rob, > > Rob Herring writes: > >> On Tue, Nov 22, 2016 at 07:52:44AM -0800, Kevin Hilman wrote: >>> Signed-off-by: Kevin Hilman >>> --- >>>

[PATCH] [media] adv7604: Initialize drive strength to default when using DT

2016-11-29 Thread Lars-Peter Clausen
The adv7604 driver platform data contains fields for configuring the drive strength of the output pins. When probing the driver through DT these fields are not explicitly initialized, which means they are left at 0. This is a reserved setting for the drive strength configuration though and can

Re: [RFC v3 00/21] Make use of kref in media device, grab references as needed

2016-11-29 Thread Mauro Carvalho Chehab
Hi Sakari, I answered you point to point below, but I suspect that you missed how the current approach works. So, I decided to write a quick summary here. The character devices /dev/media? are created via cdev, with relies on a kobject per device, with has an embedded struct kref inside.

Re: [PATCH] v4l: async: make v4l2 coexists with devicetree nodes in a dt overlay

2016-11-29 Thread Javi Merino
On Fri, Nov 25, 2016 at 10:21:21AM +0200, Sakari Ailus wrote: Hi Sakari, > On Wed, Nov 23, 2016 at 04:15:11PM +, Javi Merino wrote: > > On Wed, Nov 23, 2016 at 05:10:42PM +0200, Sakari Ailus wrote: > > > Hi Javi, > > > > Hi Sakari, > > > > > On Wed, Nov 23, 2016 at 10:09:57AM +, Javi

Re: [PATCH 2/2] media: protect enable and disable source handler checks and calls

2016-11-29 Thread Sakari Ailus
Hi Shuah, On Mon, Nov 28, 2016 at 07:15:14PM -0700, Shuah Khan wrote: > Protect enable and disable source handler checks and calls from dvb-core > and v4l2-core. Hold graph_mutex to check if enable and disable source > handlers are present and invoke them while holding the mutex. This change >

Re: [PATCH 0/2] media protect enable and disable source handler paths

2016-11-29 Thread Mauro Carvalho Chehab
Em Mon, 28 Nov 2016 19:15:12 -0700 Shuah Khan escreveu: > These two patches fix enable and disable source handler paths. These > aren't dependent patches, grouped because they fix similar problems. Those two patches should be fold, as applying just the first patch would