cron job: media_tree daily build: WARNINGS

2019-09-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 Sep 7 05:00:12 CEST 2019 media-tree git hash:6f51fdfd8229d5358c2d6e272cf73478866e8ddc media_build gi

[PATCH v4l-utils] ir-ctl: support sending protocols decoded by BPF decoders

2019-09-06 Thread Sean Young
Encode keymaps using xbox-dvd, pulse_distance, pulse_length and manchester BPF decoders. The kernel has no idea how to encode them so this must be done in userspace. Signed-off-by: Sean Young --- utils/common/ir-encode.c | 26 ++- utils/common/keymap.c | 1 + utils/ir-ctl/Makefile.

[PATCH] cec-compliance: system information give features

2019-09-06 Thread Jiunn Chang
For devices on a HDMI ARC link, sinks can only support transmitter devices and sources can only support receiver devices. Add two checks: - Playback devices can only have has_arc_rx - TVs can only have has_arc_tx Signed-off-by: Jiunn Chang --- utils/cec-compliance/cec-test.cpp | 4 1 fil

Re:Servus. alles gut bei dir?

2019-09-06 Thread Newsy Paper
Eine Chance. die man nicht verstreichen lassen sollte! http://knocrallire1986.blogspot.am/ ___ Lass dich nicht unterkriegen Newsy Paper

[PATCH 0/2] rcar-vin: Add support for outputting NV12

2019-09-06 Thread Niklas Söderlund
Hi, This series adds support for storing captures in NV12 pixel format on most Gen3 SoCs. It is based on top of latest media-tree and tested on Gen2 and Gen3 with out any regressions. Patch 1/2 prepares for the admonition of NV12 support by defining which Gen3 SoCs supports the output format.

[PATCH 1/2] rcar-vin: Define which hardware supports NV12

2019-09-06 Thread Niklas Söderlund
Most but not all Gen3 boards support outputting NV12, add a flag to indicate which boards. Signed-off-by: Niklas Söderlund --- drivers/media/platform/rcar-vin/rcar-core.c | 6 ++ drivers/media/platform/rcar-vin/rcar-vin.h | 2 ++ 2 files changed, 8 insertions(+) diff --git a/drivers/media/

[PATCH 2/2] rcar-vin: Add support for outputting NV12

2019-09-06 Thread Niklas Söderlund
Most Gen3 boards can output frames in NV12 format, add support for this with a runtime check that the running hardware support it. Signed-off-by: Niklas Söderlund --- drivers/media/platform/rcar-vin/rcar-dma.c | 5 ++- drivers/media/platform/rcar-vin/rcar-v4l2.c | 39 + 2 f

[PATCH] rcar-vin: Do not enumerate unsupported pixel formats

2019-09-06 Thread Niklas Söderlund
If a pixel format is not supported by the hardware NULL is returned by rvin_format_from_pixel() for that fourcc. Verify that the pixel format is supported using this or skip it when enumerating. Signed-off-by: Niklas Söderlund --- drivers/media/platform/rcar-vin/rcar-v4l2.c | 12 +++- 1

[PATCH v1] [media] mceusb: fix out of bounds read in MCE receiver buffer

2019-09-06 Thread A Sun
Fix multiple cases of out of bounds (OOB) read associated with MCE device receive/input data handling. In reference for the OOB cases below, the incoming/read (byte) data format when the MCE device responds to a command is: { cmd_prefix, subcmd, data0, data1, ... } where cmd_prefix are:

Re: [PATCH v2] media: mc-device.c: fix memleak in media_device_register_entity

2019-09-06 Thread Sakari Ailus
On Fri, Sep 06, 2019 at 01:36:02PM +0300, Laurent Pinchart wrote: > Hi Sakari, > > On Fri, Sep 06, 2019 at 01:11:34PM +0300, Sakari Ailus wrote: > > On Fri, Sep 06, 2019 at 12:12:03PM +0300, Laurent Pinchart wrote: > > > On Mon, Aug 19, 2019 at 09:51:30AM +0800, zhengbin wrote: > > > > In media_de

Re: [PATCH v2] media: mc-device.c: fix memleak in media_device_register_entity

2019-09-06 Thread Laurent Pinchart
Hi Sakari, On Fri, Sep 06, 2019 at 01:11:34PM +0300, Sakari Ailus wrote: > On Fri, Sep 06, 2019 at 12:12:03PM +0300, Laurent Pinchart wrote: > > On Mon, Aug 19, 2019 at 09:51:30AM +0800, zhengbin wrote: > > > In media_device_register_entity, if media_graph_walk_init fails, > > > need to free the p

Re: [PATCH 2/2] rcar-vin: Add support for V4L2_FIELD_SEQ_{TB,BT}

2019-09-06 Thread Sergei Shtylyov
On 06.09.2019 0:49, Niklas Söderlund wrote: The hardware do not support capturing the field types V4L2_FIELD_SEQ_TB s/do/does/. Just one typo. :-) and V4L2_FIELD_SEQ_BT. To capture in these formats the driver needs to adjust the offset of the capture buffer and capture twice to each vb2 b

[RFC PATCH V3 3/3] platform: mtk-isp: Add Mediatek FD driver

2019-09-06 Thread Jerry-ch Chen
From: Jerry-ch Chen This patch adds the driver of Face Detection (FD) unit in Mediatek camera system, providing face detection function. The mtk-isp directory will contain drivers for multiple IP blocks found in Mediatek ISP system. It will include ISP Pass 1 driver (CAM), sensor interface drive

[RFC PATCH V3 1/3] dt-bindings: mt8183: Added FD dt-bindings

2019-09-06 Thread Jerry-ch Chen
From: Jerry-ch Chen This patch adds DT binding documentation for the Face Detection (FD) unit of the Mediatek's mt8183 SoC. Signed-off-by: Jerry-ch Chen --- .../bindings/media/mediatek,mt8183-fd.txt | 34 +++ 1 file changed, 34 insertions(+) create mode 100644 Documentati

[RFC PATCH V3 2/3] dts: arm64: mt8183: Add FD nodes

2019-09-06 Thread Jerry-ch Chen
From: Jerry-ch Chen This patch adds nodes for Face Detection (FD) unit. FD is embedded in Mediatek SoCs and works with the co-processor to perform face detection on the input data and image and output detected face result. Signed-off-by: Jerry-ch Chen --- arch/arm64/boot/dts/mediatek/mt8183.dt

[RFC PATCH V3 0/3] media: platform: Add support for Face Detection (FD) on mt8183 SoC

2019-09-06 Thread Jerry-ch Chen
Hello, This RFC patch series is adding Face Detection (FD) driver on Mediatek mt8183 SoC. It belongs to the first Mediatek's camera driver series based on V4L2 and media controller framework. I posted the main part of the FD driver as RFC to discuss first and would like some review comments.

Re: [PATCH v2] media: mc-device.c: fix memleak in media_device_register_entity

2019-09-06 Thread Sakari Ailus
On Fri, Sep 06, 2019 at 12:12:03PM +0300, Laurent Pinchart wrote: > Hello Zhengbin, > > On Mon, Aug 19, 2019 at 09:51:30AM +0800, zhengbin wrote: > > In media_device_register_entity, if media_graph_walk_init fails, > > need to free the previously memory. > > > > Reported-by: Hulk Robot > > Signe

Re: [PATCH v2] media: mc-device.c: fix memleak in media_device_register_entity

2019-09-06 Thread Laurent Pinchart
Hello Zhengbin, On Mon, Aug 19, 2019 at 09:51:30AM +0800, zhengbin wrote: > In media_device_register_entity, if media_graph_walk_init fails, > need to free the previously memory. > > Reported-by: Hulk Robot > Signed-off-by: zhengbin This looks good to me. Reviewed-by: Laurent Pinchart and a