cron job: media_tree daily build: ERRORS

2019-03-13 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: Thu Mar 14 05:00:10 CET 2019 media-tree git hash:15d90a6ae98e6d2c68497b44a491cb9efbb98ab1 media_build git

Re: [PATCH 0/2] media: ov7670: fix regressions caused by "hook s_power onto v4l2 core"

2019-03-13 Thread Sakari Ailus
On Tue, Mar 12, 2019 at 06:16:08PM +0100, Lubomir Rintel wrote: > On Tue, 2019-03-12 at 00:36 +0900, Akinobu Mita wrote: > > This patchset fixes the problems introduced by recent change to ov7670. > > > > Akinobu Mita (2): > > media: ov7670: restore default settings after power-up > > media: o

[PATCH v4l-utils 2/2] lircd2toml: detect NEC if bit 0 and 1 are inverted

2019-03-13 Thread Sean Young
This fixes conversion of: http://lirc.sourceforge.net/remotes/goldstar/VCR Signed-off-by: Sean Young --- contrib/lircd2toml.py | 36 1 file changed, 36 insertions(+) diff --git a/contrib/lircd2toml.py b/contrib/lircd2toml.py index f2f7cdd3..b1aa2403

[PATCH v4l-utils 1/2] lircd2toml: honour pre_data for rc-mm remote definitions

2019-03-13 Thread Sean Young
Signed-off-by: Sean Young --- contrib/lircd2toml.py | 22 +++--- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/contrib/lircd2toml.py b/contrib/lircd2toml.py index 72ee50e3..f2f7cdd3 100755 --- a/contrib/lircd2toml.py +++ b/contrib/lircd2toml.py @@ -349,7 +349,7 @@

Re: [PATCH v5 03/23] cedrus: set requires_requests

2019-03-13 Thread Hans Verkuil
On 3/12/19 4:32 PM, Paul Kocialkowski wrote: > Hi, > > On Wed, 2019-03-06 at 13:13 -0800, Dafna Hirschfeld wrote: >> From: Hans Verkuil >> >> The cedrus stateless decoder requires the use of request, so >> indicate this by setting requires_requests to 1. >> >> Signed-off-by: Hans Verkuil > > No

[PATCH] vicodec: fix g_selection: either handle crop or compose

2019-03-13 Thread Hans Verkuil
The logic of g_selection was wrong: encoders support crop, decoders support compose, but the code allowed both. Signed-off-by: Hans Verkuil --- Note: this patch sits on top of the stateless decoder patch series. --- drivers/media/platform/vicodec/vicodec-core.c | 22 ++- 1 file c

[PATCH] vicodec: remove WARN_ON(1) from get_q_data()

2019-03-13 Thread Hans Verkuil
Some functions like enum_fmt use the buffer type as was passed from userspace, which might cause the switch to fall into the default case. Just drop the WARN_ON(1) to avoid kernel log pollution. Signed-off-by: Hans Verkuil --- drivers/media/platform/vicodec/vicodec-core.c | 1 - 1 file changed,

[PATCH] vicodec: reset last_src/dst_buf based on the IS_OUTPUT

2019-03-13 Thread Hans Verkuil
When start_streaming was called both last_src_buf and last_dst_buf pointers were set to NULL, but this depends on whether the capture or output queue starts streaming. When decoding with resolution changes in between the capture queue has to restart streaming whenever a resolution change occurs. A

[PATCH v5 24/23] v4l2-ioctl.c: add V4L2_PIX_FMT_FWHT_STATELESS to v4l_fill_fmtdesc

2019-03-13 Thread Hans Verkuil
Add V4L2_PIX_FMT_FWHT_STATELESS to the list of pixelformats that v4l_fill_fmtdesc() understands. Signed-off-by: Hans Verkuil --- Note: this patch should come after patch 20/23. --- diff --git a/drivers/media/v4l2-core/v4l2-ioctl.c b/drivers/media/v4l2-core/v4l2-ioctl.c index f6d663934648..10133f

Re: [PATCH v5 21/23] media: vicodec: Register another node for stateless decoder

2019-03-13 Thread Hans Verkuil
On 3/6/19 10:13 PM, Dafna Hirschfeld wrote: > Add stateless decoder instance field to the dev struct and > register another node for the statelsess decoder. > The stateless API for the node will be implemented in further patches. > > Signed-off-by: Dafna Hirschfeld > --- > drivers/media/platform

Re: [PATCH v5 22/23] media: vicodec: Add support for stateless decoder.

2019-03-13 Thread Hans Verkuil
On 3/6/19 10:13 PM, Dafna Hirschfeld wrote: > Implement a stateless decoder for the new node. > > Signed-off-by: Dafna Hirschfeld > --- > +static int vicodec_try_ctrl(struct v4l2_ctrl *ctrl) > +{ > + struct vicodec_ctx *ctx = container_of(ctrl->handler, > + struct vicod

[STATUS UPDATE] test-media regression script status

2019-03-13 Thread Hans Verkuil
Hi all, As you all know I have been working on creating a regression test script to help catch regressions before they get into released kernels. The test-media script is in v4l-utils, contrib/test. It is currently testing with vivid, vim2m and vimc. Once vicodec is stable enough it will be added