cron job: media_tree daily build: WARNINGS

2017-04-03 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: Tue Apr 4 05:00:15 CEST 2017 media-tree git hash:c3d4fb0fb41f4b5eafeee51173c14e50be12f839 media_build

Re: [PATCH] [media] lirc_dev: fix regression in feature check logic in ioctl

2017-04-03 Thread Andi Shyti
Hi Alexey, this has been already fixed in commit bd291208d7f5 ("[media] lirc_dev: LIRC_{G,S}ET_REC_MODE do not work") by Sean. You need to update your kernel or cherry-pick this patch. In any case, for future patches of this kind, some notes through the lines: On Tue, Apr 04, 2017 at

[PATCH] [media] lirc_dev: fix regression in feature check logic in ioctl

2017-04-03 Thread Alexey Ignatov
Commit 273b902a5b1bfd6977a73c4de3eb96db3cb103cb removed inversion in features check conditionals (by accident, perhaps). That change resulted in erroneous reporting that device can't receive while actually it can. Fix this. Signed-off-by: Alexey Ignatov ---

[PATCH v9] [media] vimc: Virtual Media Controller core, capture and sensor

2017-04-03 Thread Helen Koike
First version of the Virtual Media Controller. Add a simple version of the core of the driver, the capture and sensor nodes in the topology, generating a grey image in a hardcoded format. Signed-off-by: Helen Koike --- Patch based in media/master tree, and available

Re: [RFC 00/10] V4L2 explicit synchronization support

2017-04-03 Thread Shuah Khan
Hi Gustavo, On Mon, Apr 3, 2017 at 1:46 PM, Javier Martinez Canillas wrote: > Hello Mauro and Gustavo, > > On 04/03/2017 07:16 AM, Mauro Carvalho Chehab wrote: >> Hi Gustavo, >> >> Em Mon, 13 Mar 2017 16:20:25 -0300 >> Gustavo Padovan escreveu: >>

Re: [RFC 00/10] V4L2 explicit synchronization support

2017-04-03 Thread Javier Martinez Canillas
Hello Mauro and Gustavo, On 04/03/2017 07:16 AM, Mauro Carvalho Chehab wrote: > Hi Gustavo, > > Em Mon, 13 Mar 2017 16:20:25 -0300 > Gustavo Padovan escreveu: > >> From: Gustavo Padovan >> >> Hi, >> >> This RFC adds support for Explicit

Re: [PULL] Synopsys Media Formats

2017-04-03 Thread Mauro Carvalho Chehab
Em Mon, 3 Apr 2017 12:35:44 -0400 Sean Paul escreveu: > Hi Mauro, > > Here's the pull for Neil's new media formats. We're using a topic branch in > drm-misc, so it will not change. Once you have acked, we'll pull this in and > apply the rest of Neil's set. Thanks!

Re: [PATCH 8/9] iio: gyro: mpu3050: stop double error reporting

2017-04-03 Thread Jonathan Cameron
On 03/04/17 18:56, Linus Walleij wrote: > On Mon, Apr 3, 2017 at 10:38 AM, Peter Rosin wrote: > >> i2c_mux_add_adapter already logs a message on failure. >> >> Signed-off-by: Peter Rosin > > Reviewed-by: Linus Walleij Applied to the

[PATCHv3 01/22] cma: Store a name in the cma structure

2017-04-03 Thread Laura Abbott
Frameworks that may want to enumerate CMA heaps (e.g. Ion) will find it useful to have an explicit name attached to each region. Store the name in each CMA structure. Signed-off-by: Laura Abbott --- v3: Added default name suggestion per Sumit. Fixup powerpc call site. ---

[PATCHv3 02/22] cma: Introduce cma_for_each_area

2017-04-03 Thread Laura Abbott
Frameworks (e.g. Ion) may want to iterate over each possible CMA area to allow for enumeration. Introduce a function to allow a callback. Signed-off-by: Laura Abbott --- include/linux/cma.h | 2 ++ mm/cma.c| 14 ++ 2 files changed, 16 insertions(+)

[PATCHv3 07/22] staging: android: ion: Remove page faulting support

2017-04-03 Thread Laura Abbott
The new method of syncing with dma_map means that the page faulting sync implementation is no longer applicable. Remove it. Signed-off-by: Laura Abbott --- drivers/staging/android/ion/ion.c | 117 -- 1 file changed, 117 deletions(-) diff

[PATCHv3 03/22] staging: android: ion: Remove dmap_cnt

2017-04-03 Thread Laura Abbott
The reference counting of dma_map calls was removed. Remove the associated counter field as well. Signed-off-by: Laura Abbott --- drivers/staging/android/ion/ion_priv.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/android/ion/ion_priv.h

[PATCHv3 06/22] staging: android: ion: Call dma_map_sg for syncing and mapping

2017-04-03 Thread Laura Abbott
Technically, calling dma_buf_map_attachment should return a buffer properly dma_mapped. Add calls to dma_map_sg to begin_cpu_access to ensure this happens. As a side effect, this lets Ion buffers take advantage of the dma_buf sync ioctls. Signed-off-by: Laura Abbott ---

[PATCHv3 04/22] staging: android: ion: Remove alignment from allocation field

2017-04-03 Thread Laura Abbott
The align field was supposed to be used to specify the alignment of the allocation. Nobody actually does anything with it except to check if the alignment specified is out of bounds. Since this has no effect on the actual allocation, just remove it. Signed-off-by: Laura Abbott

[PATCHv3 10/22] staging: android: ion: Remove import interface

2017-04-03 Thread Laura Abbott
With the expansion of dma-buf and the move for Ion to be come just an allocator, the import mechanism is mostly useless. There isn't a kernel component to Ion anymore and handles are private to Ion. Remove this interface. Signed-off-by: Laura Abbott ---

[PATCHv3 13/22] staging: android: ion: Use CMA APIs directly

2017-04-03 Thread Laura Abbott
When CMA was first introduced, its primary use was for DMA allocation and the only way to get CMA memory was to call dma_alloc_coherent. This put Ion in an awkward position since there was no device structure readily available and setting one up messed up the coherency model. These days, CMA can

[PATCHv3 09/22] staging: android: ion: Remove custom ioctl interface

2017-04-03 Thread Laura Abbott
Ion is now moving towards a unified interfact. This makes the custom ioctl interface unneeded. Remove it. Signed-off-by: Laura Abbott --- drivers/staging/android/ion/compat_ion.c | 40 -- drivers/staging/android/ion/ion-ioctl.c| 11

[PATCHv3 19/22] staging: android: ion: Drop ion_map_kernel interface

2017-04-03 Thread Laura Abbott
Nobody uses this interface externally. Drop it. Signed-off-by: Laura Abbott --- drivers/staging/android/ion/ion.c | 59 --- 1 file changed, 59 deletions(-) diff --git a/drivers/staging/android/ion/ion.c

[PATCHv3 14/22] staging: android: ion: Stop butchering the DMA address

2017-04-03 Thread Laura Abbott
Now that we have proper caching, stop setting the DMA address manually. It should be set after properly calling dma_map. Signed-off-by: Laura Abbott --- drivers/staging/android/ion/ion.c | 17 + 1 file changed, 1 insertion(+), 16 deletions(-) diff --git

[PATCHv3 22/22] staging/android: Update Ion TODO list

2017-04-03 Thread Laura Abbott
Most of the items have been taken care of by a clean up series. Remove the completed items and add a few new ones. Signed-off-by: Laura Abbott --- drivers/staging/android/TODO | 21 - 1 file changed, 4 insertions(+), 17 deletions(-) diff --git

[PATCHv3 20/22] staging: android: ion: Remove ion_handle and ion_client

2017-04-03 Thread Laura Abbott
ion_handle was introduced as an abstraction to represent a reference to a buffer via an ion_client. As frameworks outside of Ion evolved, the dmabuf emerged as the preferred standard for use in the kernel. This has made the ion_handle an unnecessary abstraction and prone to race conditions.

[PATCHv3 21/22] staging: android: ion: Set query return value

2017-04-03 Thread Laura Abbott
This never got set in the ioctl. Properly set a return value of 0 on success. Signed-off-by: Laura Abbott --- drivers/staging/android/ion/ion.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/android/ion/ion.c b/drivers/staging/android/ion/ion.c index

[PATCHv3 15/22] staging: android: ion: Break the ABI in the name of forward progress

2017-04-03 Thread Laura Abbott
Several of the Ion ioctls were designed in such a way that they necessitate compat ioctls. We're breaking a bunch of other ABIs and cleaning stuff up anyway so let's follow the ioctl guidelines and clean things up while everyone is busy converting things over anyway. As part of this, also remove

[PATCHv3 08/22] staging: android: ion: Remove crufty cache support

2017-04-03 Thread Laura Abbott
Now that we call dma_map in the dma_buf API callbacks there is no need to use the existing cache APIs. Remove the sync ioctl and the existing bad dma_sync calls. Explicit caching can be handled with the dma_buf sync API. Signed-off-by: Laura Abbott ---

[PATCHv3 12/22] staging: android: ion: Remove old platform support

2017-04-03 Thread Laura Abbott
Device specific platform support has been haphazard for Ion. There have been several independent attempts and there are still objections to what bindings exist right now. Just remove everything for a fresh start. Signed-off-by: Laura Abbott ---

[PATCHv3 17/22] staging: android: ion: Collapse internal header files

2017-04-03 Thread Laura Abbott
Ion current has ion_priv.h and ion.h as header files. ion.h was intended to be used for public APIs but Ion never ended up really having anything public. Combine the two headers so there is only one internal header. Signed-off-by: Laura Abbott ---

[PATCHv3 18/22] staging: android: ion: Rework heap registration/enumeration

2017-04-03 Thread Laura Abbott
The current model of Ion heap registration is based on the outdated model of board files. The replacement for board files (devicetree) isn't a good replacement for what Ion wants to do. In actuality, Ion wants to show what memory is available in the system for something else to figure out what to

[PATCHv3 16/22] staging: android: ion: Get rid of ion_phys_addr_t

2017-04-03 Thread Laura Abbott
Once upon a time, phys_addr_t was not everywhere in the kernel. These days it is used enough places that having a separate Ion type doesn't make sense. Remove the extra type and just use phys_addr_t directly. Signed-off-by: Laura Abbott --- drivers/staging/android/ion/ion.h

[PATCHv3 11/22] staging: android: ion: Remove duplicate ION_IOC_MAP

2017-04-03 Thread Laura Abbott
ION_IOC_MAP is the same as ION_IOC_SHARE. We really don't need two identical interfaces. Remove it. Signed-off-by: Laura Abbott --- drivers/staging/android/ion/compat_ion.c | 1 - drivers/staging/android/ion/ion-ioctl.c | 1 - drivers/staging/android/uapi/ion.h | 10

[PATCHv3 00/22] Ion clean up in preparation in moving out of staging

2017-04-03 Thread Laura Abbott
Hi, This is v3 of the series to do some serious Ion cleanup in preparation for moving out of staging. I didn't hear much on v2 so I'm going to assume people are okay with the series as is. I know there were still some open questions about moving away from /dev/ion but in the interest of small

[PATCHv3 05/22] staging: android: ion: Duplicate sg_table

2017-04-03 Thread Laura Abbott
Ion currently returns a single sg_table on each dma_map call. This is incorrect for later usage. Signed-off-by: Laura Abbott --- drivers/staging/android/ion/ion.c | 30 +- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git

Re: [RFC 03/10] [media] vb2: add in-fence support to QBUF

2017-04-03 Thread Javier Martinez Canillas
Hello Gustavo, On 03/13/2017 04:20 PM, Gustavo Padovan wrote: [snip] > > int vb2_qbuf(struct vb2_queue *q, struct v4l2_buffer *b) > { > + struct dma_fence *fence = NULL; > int ret; > > if (vb2_fileio_is_active(q)) { > @@ -565,7 +567,17 @@ int vb2_qbuf(struct vb2_queue *q,

Re: [PATCH 8/9] iio: gyro: mpu3050: stop double error reporting

2017-04-03 Thread Linus Walleij
On Mon, Apr 3, 2017 at 10:38 AM, Peter Rosin wrote: > i2c_mux_add_adapter already logs a message on failure. > > Signed-off-by: Peter Rosin Reviewed-by: Linus Walleij Yours, Linus Walleij

Re: [PATCHv6 05/10] s5p-cec.txt: document the HDMI controller phandle

2017-04-03 Thread Rob Herring
On Fri, Mar 31, 2017 at 02:20:31PM +0200, Hans Verkuil wrote: > From: Hans Verkuil > > Update the bindings documenting the new hdmi phandle. > > Signed-off-by: Hans Verkuil > Acked-by: Krzysztof Kozlowski > CC:

[PULL] Synopsys Media Formats

2017-04-03 Thread Sean Paul
Hi Mauro, Here's the pull for Neil's new media formats. We're using a topic branch in drm-misc, so it will not change. Once you have acked, we'll pull this in and apply the rest of Neil's set. Thanks, Sean The following changes since commit a71c9a1c779f2499fb2afc0553e543f18aff6edf: Linux

Re: [PATCH] dma-buf: align debugfs output

2017-04-03 Thread Sumit Semwal
Hi Russell, On 31 March 2017 at 15:33, Russell King wrote: > Align the heading with the values output from debugfs. > > Signed-off-by: Russell King Thanks for your patch; applied to drm-misc-next. > --- > drivers/dma-buf/dma-buf.c | 3

Re: [PATCH v2 1/8] dt-bindings: Document STM32 DCMI bindings

2017-04-03 Thread Rob Herring
On Thu, Mar 30, 2017 at 05:27:40PM +0200, Hugues Fruchet wrote: > This adds documentation of device tree bindings for the STM32 DCMI > (Digital Camera Memory Interface). > > Signed-off-by: Hugues Fruchet > --- > .../devicetree/bindings/media/st,stm32-dcmi.txt| 85 >

Re: [PATCH] uvcvideo: Fix empty packet statistic

2017-04-03 Thread Laurent Pinchart
Hi Kieran, Thank you for the patch. On Monday 03 Apr 2017 12:25:32 Kieran Bingham wrote: > From: Kieran Bingham > > The frame counters are inadvertently counting packets with content as > empty. > > Fix it by correcting the logic expression > > Fixes:

Re: [PATCH] uvcvideo: don't recode timespec_sub

2017-04-03 Thread Laurent Pinchart
Hi Kieran, Thank you for the patch. On Monday 03 Apr 2017 12:25:31 Kieran Bingham wrote: > From: Kieran Bingham > > The statistics function subtracts two timespecs manually. A helper is > provided by the kernel to do this. > > Replace the implementation, using

Re: Conditional sys/sysmacros.h inclusion

2017-04-03 Thread Ingo Feinerer
On Mon, Apr 03, 2017 at 11:28:30AM +0200, Hans Verkuil wrote: > I was about to commit this when I noticed that you didn't add a > Signed-off-by line in your email. We need that for v4l-utils. > > See section 11 here: > >

Re: [PATCH v6 02/39] [media] dt-bindings: Add bindings for i.MX media driver

2017-04-03 Thread Russell King - ARM Linux
On Mon, Apr 03, 2017 at 09:07:43AM -0500, Rob Herring wrote: > On Tue, Mar 28, 2017 at 05:35:52PM -0700, Steve Longerbeam wrote: > > I assume if there's another binding doc in progress, it means > > someone is working on another Synopsys DW CSI-2 subdevice driver. > > Yes. see

Re: [PATCH RFC 1/2] [media] v4l2: add V4L2_INPUT_TYPE_DEFAULT

2017-04-03 Thread Helen Koike
Hi, On 2017-03-31 06:57 AM, Mauro Carvalho Chehab wrote: Em Fri, 31 Mar 2017 10:29:04 +0200 Hans Verkuil escreveu: On 30/03/17 18:02, Helen Koike wrote: Add V4L2_INPUT_TYPE_DEFAULT and helpers functions for input ioctls to be used when no inputs are available in the

Re: [PATCH v6 02/39] [media] dt-bindings: Add bindings for i.MX media driver

2017-04-03 Thread Russell King - ARM Linux
On Mon, Apr 03, 2017 at 09:11:35AM -0500, Rob Herring wrote: > On Wed, Mar 29, 2017 at 09:39:05AM +0100, Russell King - ARM Linux wrote: > > On Tue, Mar 28, 2017 at 07:21:34PM -0500, Rob Herring wrote: > > > On Mon, Mar 27, 2017 at 7:40 PM, Steve Longerbeam > > > wrote: >

[PATCH] MAINTAINERS: update atmel-isi.c path

2017-04-03 Thread Hans Verkuil
The driver moved to drivers/media/platform/atmel. Signed-off-by: Hans Verkuil --- After the atmel-isi v6 patch series this atmel-isi entry is no longer correct. Fixed. Songjun, I don't think Ludovic is still maintainer of this driver. Should that be changed to you? (And

[PATCH v6 1/6] drm: bridge: dw-hdmi: Extract PHY interrupt setup to a function

2017-04-03 Thread Neil Armstrong
From: Laurent Pinchart In preparation for adding PHY operations to handle RX SENSE and HPD, group all the PHY interrupt setup code in a single location and extract it to a separate function. Signed-off-by: Laurent Pinchart

[PATCH v6 2/6] media: uapi: Add RGB and YUV bus formats for Synopsys HDMI TX Controller

2017-04-03 Thread Neil Armstrong
In order to describe the RGB and YUV bus formats used to feed the Synopsys DesignWare HDMI TX Controller, add missing formats to the list of Bus Formats. Documentation for these formats is added in a separate patch. Reviewed-by: Archit Taneja Reviewed-by: Jose Abreu

[PATCH v6 0/6] drm: bridge: dw-hdmi: Add support for Custom PHYs

2017-04-03 Thread Neil Armstrong
The Amlogic GX SoCs implements a Synopsys DesignWare HDMI TX Controller in combination with a very custom PHY. Thanks to Laurent Pinchart's changes, the HW report the following : Detected HDMI TX controller v2.01a with HDCP (meson_dw_hdmi_phy) The following differs from common PHY integration

[PATCH v6 3/6] documentation: media: Add documentation for new RGB and YUV bus formats

2017-04-03 Thread Neil Armstrong
Add documentation for added Bus Formats to describe RGB and YUV formats used as input to the Synopsys DesignWare HDMI TX Controller. Acked-by: Hans Verkuil Reviewed-by: Archit Taneja Acked-by: Mauro Carvalho Chehab

[PATCH v6 5/6] drm: bridge: dw-hdmi: Add Documentation on supported input formats

2017-04-03 Thread Neil Armstrong
This patch adds a new DRM documentation entry and links to the input format table added in the dw_hdmi header. Reviewed-by: Archit Taneja Signed-off-by: Neil Armstrong --- Documentation/gpu/bridge/dw-hdmi.rst | 15 +++

[PATCH v6 6/6] drm: bridge: dw-hdmi: Move HPD handling to PHY operations

2017-04-03 Thread Neil Armstrong
The HDMI TX controller support HPD and RXSENSE signaling from the PHY via it's STAT0 PHY interface, but some vendor PHYs can manage these signals independently from the controller, thus these STAT0 handling should be moved to PHY specific operations and become optional. The existing STAT0 HPD and

[PATCH v6 4/6] drm: bridge: dw-hdmi: Switch to V4L bus format and encodings

2017-04-03 Thread Neil Armstrong
Some display pipelines can only provide non-RBG input pixels to the HDMI TX Controller, this patch takes the pixel format from the plat_data if provided. Reviewed-by: Jose Abreu Reviewed-by: Archit Taneja Signed-off-by: Neil Armstrong

Re: [PATCHv6 06/14] atmel-isi: update device tree bindings documentation

2017-04-03 Thread Rob Herring
On Tue, Mar 28, 2017 at 10:23:39AM +0200, Hans Verkuil wrote: > From: Hans Verkuil > > The original bindings documentation was incomplete (missing pinctrl-names, > missing endpoint node properties) and the example was out of date. > > Add the missing information and tidy

答复:linming8617 ★6月2-4日★【中国(广州)国际汽车零部件及用品展】 (Gyd3/C50-mF)

2017-04-03 Thread xxupx
  【中文名称】 2017第十五届中国(广州)国际汽车零部件及用品展览会 【英文名称】 The 15th China (Guangzhou) International Auto Parts Expo,2017 (CAPE 2017)   【展会日期】 2017年06月02—04日 【展会场馆】 广州琶洲保利世贸博览馆   【展会简介】 本届CAPE预计展会面积67000平方米,标准展位3000多个,参观观众65330多人;其中,专业买家3多人,终端消费者25000多人,国外采购商7551多人。 【参展情况】 目前仅剩少量展位,请即刻登陆官网报名。机不可失!   【参展联系】

Re: [PATCH v6 03/39] [media] dt/bindings: Add bindings for OV5640

2017-04-03 Thread Rob Herring
On Mon, Mar 27, 2017 at 05:40:20PM -0700, Steve Longerbeam wrote: > Add device tree binding documentation for the OV5640 camera sensor. > > Signed-off-by: Steve Longerbeam > --- > .../devicetree/bindings/media/i2c/ov5640.txt | 45 > ++ > 1

Re: [PATCH v6 01/39] [media] dt-bindings: Add bindings for video-multiplexer device

2017-04-03 Thread Rob Herring
On Mon, Mar 27, 2017 at 05:40:18PM -0700, Steve Longerbeam wrote: > From: Philipp Zabel > > Add bindings documentation for the video multiplexer device. > > Signed-off-by: Sascha Hauer > Signed-off-by: Philipp Zabel >

[PATCH v8 0/2] OV5645 camera sensor driver

2017-04-03 Thread Todor Tomov
Resending the OV5645 camera sensor driver patchset to include devicet...@vger.kernel.org too. As there are two one-line changes (agreed on linux-media) I've also increased the patchset version to 8th. Changes since verion 7: - "unsigned int i" changed to "int i" in ov5645_find_nearest_mode(); -

[PATCH v8 2/2] media: Add a driver for the ov5645 camera sensor.

2017-04-03 Thread Todor Tomov
The ov5645 sensor from Omnivision supports up to 2592x1944 and CSI2 interface. The driver adds support for the following modes: - 1280x960 - 1920x1080 - 2592x1944 Output format is packed 8bit UYVY. Signed-off-by: Todor Tomov Reviewed-by: Laurent Pinchart

[PATCH v8 1/2] media: i2c/ov5645: add the device tree binding document

2017-04-03 Thread Todor Tomov
Add the document for ov5645 device tree binding. Signed-off-by: Todor Tomov Reviewed-by: Laurent Pinchart --- .../devicetree/bindings/media/i2c/ov5645.txt | 54 ++ 1 file changed, 54 insertions(+) create mode

Re: [PATCH v6 02/39] [media] dt-bindings: Add bindings for i.MX media driver

2017-04-03 Thread Rob Herring
On Wed, Mar 29, 2017 at 09:39:05AM +0100, Russell King - ARM Linux wrote: > On Tue, Mar 28, 2017 at 07:21:34PM -0500, Rob Herring wrote: > > On Mon, Mar 27, 2017 at 7:40 PM, Steve Longerbeam > > wrote: > > > Add bindings documentation for the i.MX media driver. > > > > > >

Re: [PATCH v6 02/39] [media] dt-bindings: Add bindings for i.MX media driver

2017-04-03 Thread Rob Herring
On Tue, Mar 28, 2017 at 05:35:52PM -0700, Steve Longerbeam wrote: > > > On 03/28/2017 05:21 PM, Rob Herring wrote: > > On Mon, Mar 27, 2017 at 7:40 PM, Steve Longerbeam > > wrote: > > > Add bindings documentation for the i.MX media driver. > > > > > > > > > + > > >

Re: [Patch v3 07/11] Documentation: v4l: Documentation for HEVC v4l2 definition

2017-04-03 Thread Smitha T Murthy
On Mon, 2017-04-03 at 14:12 +0200, Hans Verkuil wrote: > On 04/03/2017 02:12 PM, Smitha T Murthy wrote: > > On Mon, 2017-04-03 at 10:10 +0200, Hans Verkuil wrote: > >> On 03/31/2017 11:06 AM, Smitha T Murthy wrote: > >>> Add V4L2 definition for HEVC compressed format > >>> > >>> Signed-off-by:

Re: [Patch v3 10/11] [media] s5p-mfc: Add support for HEVC encoder

2017-04-03 Thread Smitha T Murthy
On Mon, 2017-04-03 at 10:59 +0200, Andrzej Hajda wrote: > On 31.03.2017 11:06, Smitha T Murthy wrote: > > Add HEVC encoder support and necessary registers, V4L2 CIDs, > > and hevc encoder parameters > > > > Signed-off-by: Smitha T Murthy > > --- > >

Re: [Patch v3 09/11] [media] v4l2: Add v4l2 control IDs for HEVC encoder

2017-04-03 Thread Smitha T Murthy
On Mon, 2017-04-03 at 10:22 +0200, Hans Verkuil wrote: > On 03/31/2017 11:06 AM, Smitha T Murthy wrote: > > Add v4l2 controls for HEVC encoder > > > > Signed-off-by: Smitha T Murthy > > Reviewed-by: Andrzej Hajda > > --- > >

Re: [Patch v3 07/11] Documentation: v4l: Documentation for HEVC v4l2 definition

2017-04-03 Thread Hans Verkuil
On 04/03/2017 02:12 PM, Smitha T Murthy wrote: > On Mon, 2017-04-03 at 10:10 +0200, Hans Verkuil wrote: >> On 03/31/2017 11:06 AM, Smitha T Murthy wrote: >>> Add V4L2 definition for HEVC compressed format >>> >>> Signed-off-by: Smitha T Murthy >>> Reviewed-by: Andrzej Hajda

Re: [Patch v3 06/11] [media] s5p-mfc: Add support for HEVC decoder

2017-04-03 Thread Smitha T Murthy
On Mon, 2017-04-03 at 10:13 +0200, Hans Verkuil wrote: > On 03/31/2017 11:06 AM, Smitha T Murthy wrote: > > Add support for codec definition and corresponding buffer > > requirements for HEVC decoder. > > > > Signed-off-by: Smitha T Murthy > > Reviewed-by: Andrzej Hajda

Re: [Patch v3 05/11] [media] videodev2.h: Add v4l2 definition for HEVC

2017-04-03 Thread Smitha T Murthy
On Mon, 2017-04-03 at 10:11 +0200, Hans Verkuil wrote: > On 03/31/2017 11:06 AM, Smitha T Murthy wrote: > > Add V4L2 definition for HEVC compressed format > > > > Signed-off-by: Smitha T Murthy > > Reviewed-by: Andrzej Hajda > > --- > >

Re: [Patch v3 07/11] Documentation: v4l: Documentation for HEVC v4l2 definition

2017-04-03 Thread Smitha T Murthy
On Mon, 2017-04-03 at 10:10 +0200, Hans Verkuil wrote: > On 03/31/2017 11:06 AM, Smitha T Murthy wrote: > > Add V4L2 definition for HEVC compressed format > > > > Signed-off-by: Smitha T Murthy > > Reviewed-by: Andrzej Hajda > > --- > >

Re: [Patch v3 04/11] [media] s5p-mfc: Support MFCv10.10 buffer requirements

2017-04-03 Thread Smitha T Murthy
On Mon, 2017-04-03 at 09:41 +0200, Andrzej Hajda wrote: > On 31.03.2017 11:06, Smitha T Murthy wrote: > > Aligning the luma_dpb_size, chroma_dpb_size, mv_size and me_buffer_size > > for MFCv10.10. > > > > Signed-off-by: Smitha T Murthy > > Reviewed-by: Andrzej Hajda

[PATCH v4l-utils] buildsystem: do not assume building in source tree.

2017-04-03 Thread Ismo Puustinen
Use $(top_srcdir) as reference for include paths and buildtime scripts. Otherwise compilation outside of project root directory will fail because header and script paths are wrong. To reproduce: mkdir b; cd b; ../configure; make Signed-off-by: Ismo Puustinen ---

Re: [PATCH 0/9] Unify i2c_mux_add_adapter error reporting

2017-04-03 Thread Peter Rosin
On 2017-04-03 12:27, Wolfram Sang wrote: > On Mon, Apr 03, 2017 at 10:38:29AM +0200, Peter Rosin wrote: >> Hi! >> >> Many users of the i2c_mux_add_adapter interface log a message >> on failure, but the function already logs such a message. One >> or two of those users actually add more information

[PATCH] uvcvideo: don't recode timespec_sub

2017-04-03 Thread Kieran Bingham
From: Kieran Bingham The statistics function subtracts two timespecs manually. A helper is provided by the kernel to do this. Replace the implementation, using the helper. Signed-off-by: Kieran Bingham ---

[PATCH] uvcvideo: Fix empty packet statistic

2017-04-03 Thread Kieran Bingham
From: Kieran Bingham The frame counters are inadvertently counting packets with content as empty. Fix it by correcting the logic expression Fixes: 7bc5edb00bbd [media] uvcvideo: Extract video stream statistics Signed-off-by: Kieran Bingham

Re: [RFC 00/10] V4L2 explicit synchronization support

2017-04-03 Thread Mauro Carvalho Chehab
Hi Gustavo, Em Mon, 13 Mar 2017 16:20:25 -0300 Gustavo Padovan escreveu: > From: Gustavo Padovan > > Hi, > > This RFC adds support for Explicit Synchronization of shared buffers in V4L2. > It uses the Sync File Framework[1] as vector to

Re: [PATCH 9/9] [media] cx231xx: stop double error reporting

2017-04-03 Thread Peter Rosin
On 2017-04-03 12:26, Wolfram Sang wrote: > On Mon, Apr 03, 2017 at 10:38:38AM +0200, Peter Rosin wrote: >> i2c_mux_add_adapter already logs a message on failure. >> >> Signed-off-by: Peter Rosin >> --- >> drivers/media/usb/cx231xx/cx231xx-i2c.c | 15 --- >> 1 file

Re: [PATCH] subdev-formats.rst: remove spurious '-'

2017-04-03 Thread Sakari Ailus
On Mon, Apr 03, 2017 at 12:05:45PM +0200, Hans Verkuil wrote: > Remove spurious duplicate '-' in the Bayer Formats description. This resulted > in a > weird dot character that also caused the row to be double-height. > > The - character was probably used originally as indicator of an unused bit,

Re: [PATCH v2 2/8] [media] stm32-dcmi: STM32 DCMI camera interface driver

2017-04-03 Thread Hans Verkuil
On 03/30/2017 05:27 PM, Hugues Fruchet wrote: > This V4L2 subdev driver enables Digital Camera Memory Interface (DCMI) > of STMicroelectronics STM32 SoC series. > > Signed-off-by: Yannick Fertre > Signed-off-by: Hugues Fruchet > --- >

Re: [PATCH 0/9] Unify i2c_mux_add_adapter error reporting

2017-04-03 Thread Wolfram Sang
On Mon, Apr 03, 2017 at 10:38:29AM +0200, Peter Rosin wrote: > Hi! > > Many users of the i2c_mux_add_adapter interface log a message > on failure, but the function already logs such a message. One > or two of those users actually add more information than already > provided by the central failure

Re: [PATCH 9/9] [media] cx231xx: stop double error reporting

2017-04-03 Thread Wolfram Sang
On Mon, Apr 03, 2017 at 10:38:38AM +0200, Peter Rosin wrote: > i2c_mux_add_adapter already logs a message on failure. > > Signed-off-by: Peter Rosin > --- > drivers/media/usb/cx231xx/cx231xx-i2c.c | 15 --- > 1 file changed, 4 insertions(+), 11 deletions(-) > >

[PATCH] subdev-formats.rst: remove spurious '-'

2017-04-03 Thread Hans Verkuil
Remove spurious duplicate '-' in the Bayer Formats description. This resulted in a weird dot character that also caused the row to be double-height. The - character was probably used originally as indicator of an unused bit, but as the number of columns was increased it was never used for the

Re: [RFC 01/10] [media] vb2: add explicit fence user API

2017-04-03 Thread Philipp Zabel
Hi Gustavo, On Mon, 2017-03-13 at 16:20 -0300, Gustavo Padovan wrote: > From: Gustavo Padovan > > Turn the reserved2 field into fence_fd that we will use to send > an in-fence to the kernel return an out-fence from the kernel to > userspace. > > Two new flags

[GIT PULL FOR v4.12] Various fixes

2017-04-03 Thread Hans Verkuil
Fixes, documentation clarifications. Regards, Hans The following changes since commit c3d4fb0fb41f4b5eafeee51173c14e50be12f839: [media] rc: sunxi-cir: simplify optional reset handling (2017-03-24 08:30:03 -0300) are available in the git repository at:

Re: [PATCH] v4l2-ctrls.c: fix RGB quantization range control menu

2017-04-03 Thread Sakari Ailus
On Mon, Apr 03, 2017 at 10:21:07AM +0200, Hans Verkuil wrote: > All control menus use the english capitalization rules of titles. > > The only menu not following these rules is the RGB Quantization Range control > menu. Fix this. > > Signed-off-by: Hans Verkuil

Re: Conditional sys/sysmacros.h inclusion

2017-04-03 Thread Hans Verkuil
Hi Ingo, I was about to commit this when I noticed that you didn't add a Signed-off-by line in your email. We need that for v4l-utils. See section 11 here: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?id=HEAD for details

Re: [Patch v3 10/11] [media] s5p-mfc: Add support for HEVC encoder

2017-04-03 Thread Andrzej Hajda
On 31.03.2017 11:06, Smitha T Murthy wrote: > Add HEVC encoder support and necessary registers, V4L2 CIDs, > and hevc encoder parameters > > Signed-off-by: Smitha T Murthy > --- > drivers/media/platform/s5p-mfc/regs-mfc-v10.h | 28 +- >

Re: [PATCH v4 1/2] Documentation: Intel SR300 Depth camera INZI format

2017-04-03 Thread Hans Verkuil
On 03/03/2017 12:43 AM, evgeni.raik...@intel.com wrote: > From: eraikhel > > Provide the frame structure and data layout of V4L2-PIX-FMT-INZI > format utilized by Intel SR300 Depth camera. > > Signed-off-by: Evgeni Raikhel > Reviewed-by:

cron job: media_tree daily build: ERRORS

2017-04-03 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 3 09:43:35 CEST 2017 media-tree git hash:c3d4fb0fb41f4b5eafeee51173c14e50be12f839 media_build

RE: [PATCH v4 0/2] Intel Depth Formats for SR300 Camera

2017-04-03 Thread Raikhel, Evgeni
Hi Laurent, Can you please update on the status of the submission? The last version has been reviewed a month ago. Is there any estimate on when it is going to be staged/triaged/merged into media tree? Please advise, Evgeni -Original Message- From: Raikhel, Evgeni Sent: Friday, March

Re: [PATCH v5.1 0/6] drm: bridge: dw-hdmi: Add support for Custom PHYs

2017-04-03 Thread Archit Taneja
Hi, On 03/31/2017 07:55 PM, Neil Armstrong wrote: The Amlogic GX SoCs implements a Synopsys DesignWare HDMI TX Controller in combination with a very custom PHY. Thanks to Laurent Pinchart's changes, the HW report the following : Detected HDMI TX controller v2.01a with HDCP (meson_dw_hdmi_phy)

[PATCH 1/9] i2c: mux: provide more info on failure in i2c_mux_add_adapter

2017-04-03 Thread Peter Rosin
No callers then need to report any further info, thus reducing both the amount of code and the log noise. Signed-off-by: Peter Rosin --- drivers/i2c/i2c-mux.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/i2c/i2c-mux.c

[PATCH 3/9] i2c: mux: gpio: stop double error reporting

2017-04-03 Thread Peter Rosin
i2c_mux_add_adapter already logs a message on failure. Signed-off-by: Peter Rosin --- drivers/i2c/muxes/i2c-mux-gpio.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/i2c/muxes/i2c-mux-gpio.c b/drivers/i2c/muxes/i2c-mux-gpio.c index

[PATCH 2/9] i2c: arb: gpio-challenge: stop double error reporting

2017-04-03 Thread Peter Rosin
i2c_mux_add_adapter already logs a message on failure. Signed-off-by: Peter Rosin --- drivers/i2c/muxes/i2c-arb-gpio-challenge.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/i2c/muxes/i2c-arb-gpio-challenge.c

[PATCH 5/9] i2c: mux: pca954x: stop double error reporting

2017-04-03 Thread Peter Rosin
i2c_mux_add_adapter already logs a message on failure. Signed-off-by: Peter Rosin --- drivers/i2c/muxes/i2c-mux-pca954x.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/i2c/muxes/i2c-mux-pca954x.c b/drivers/i2c/muxes/i2c-mux-pca954x.c index

[PATCH 4/9] i2c: mux: pca9541: stop double error reporting

2017-04-03 Thread Peter Rosin
i2c_mux_add_adapter already logs a message on failure. Signed-off-by: Peter Rosin --- drivers/i2c/muxes/i2c-mux-pca9541.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/i2c/muxes/i2c-mux-pca9541.c b/drivers/i2c/muxes/i2c-mux-pca9541.c index

[PATCH 9/9] [media] cx231xx: stop double error reporting

2017-04-03 Thread Peter Rosin
i2c_mux_add_adapter already logs a message on failure. Signed-off-by: Peter Rosin --- drivers/media/usb/cx231xx/cx231xx-i2c.c | 15 --- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/drivers/media/usb/cx231xx/cx231xx-i2c.c

[PATCH 7/9] i2c: mux: reg: stop double error reporting

2017-04-03 Thread Peter Rosin
i2c_mux_add_adapter already logs a message on failure. Signed-off-by: Peter Rosin --- drivers/i2c/muxes/i2c-mux-reg.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/i2c/muxes/i2c-mux-reg.c b/drivers/i2c/muxes/i2c-mux-reg.c index

[PATCH 6/9] i2c: mux: pinctrl: stop double error reporting

2017-04-03 Thread Peter Rosin
i2c_mux_add_adapter already logs a message on failure. Signed-off-by: Peter Rosin --- drivers/i2c/muxes/i2c-mux-pinctrl.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/i2c/muxes/i2c-mux-pinctrl.c b/drivers/i2c/muxes/i2c-mux-pinctrl.c index

[PATCH 8/9] iio: gyro: mpu3050: stop double error reporting

2017-04-03 Thread Peter Rosin
i2c_mux_add_adapter already logs a message on failure. Signed-off-by: Peter Rosin --- drivers/iio/gyro/mpu3050-i2c.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/iio/gyro/mpu3050-i2c.c b/drivers/iio/gyro/mpu3050-i2c.c index

[PATCH 0/9] Unify i2c_mux_add_adapter error reporting

2017-04-03 Thread Peter Rosin
Hi! Many users of the i2c_mux_add_adapter interface log a message on failure, but the function already logs such a message. One or two of those users actually add more information than already provided by the central failure message. So, first fix the central error reporting to provide as much

Re: [PATCH] [media] vcodec: mediatek: Remove double parentheses

2017-04-03 Thread Hans Verkuil
On 04/01/2017 01:58 AM, Matthias Kaehlcke wrote: > El Fri, Mar 17, 2017 at 02:01:33PM -0700 Matthias Kaehlcke ha dit: > >> The extra pairs of parentheses are not needed and cause clang >> warnings like this: >> >> drivers/media/platform/mtk-vcodec/venc/venc_vp8_if.c:158:32: error: equality >>

Re: [PATCH 0/6] [media] fix missing endpoint sanity checks

2017-04-03 Thread Johan Hovold
On Mon, Mar 13, 2017 at 01:53:53PM +0100, Johan Hovold wrote: > This series fixes a number of NULL-pointer dereferences (and related > issues) due to missing endpoint sanity checks that can be triggered by a > malicious USB device. > Johan Hovold (6): > [media] dib0700: fix NULL-deref at probe

  1   2   >