cron job: media_tree daily build: WARNINGS

2018-03-17 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: Sun Mar 18 05:00:14 CET 2018 media-tree git hash:e68854a2588a923b31eebce348f8020374843f8e media_build

Re: [PATCH] [media] ddbridge, cxd2099: include guard, fix unneeded NULL init, strings

2018-03-17 Thread Jasmin J.
THX for the patch! Acked-by: Jasmin Jessich

[PATCH v2] media: ov2685: Remove owner assignment from i2c_driver

2018-03-17 Thread Fabio Estevam
From: Fabio Estevam Structure i2c_driver does not need to set the owner field, as this will be populated by the driver core. Generated by scripts/coccinelle/api/platform_no_drv_owner.cocci. Signed-off-by: Fabio Estevam --- Changes since v1: -

[PATCH v1 5/5] media: staging: tegra-vde: Correct included header

2018-03-17 Thread Dmitry Osipenko
This is Open Firmware driver, hence 'of_device.h' should be included instead of 'platform_device.h'. Right now OF headers happen to be included indirectly and this may break in the future, so let's correct the header. Signed-off-by: Dmitry Osipenko ---

[PATCH v1 0/5] Tegra Video Decoder patches for 4.17

2018-03-17 Thread Dmitry Osipenko
Hello media maintainers, I've been postponing sending out these patches for awhile because I was waiting for a review for the Tegra memory controller patches that would allow to reset VDE HW properly and was hoping that they will get into 4.17, but it's getting quite late now and seems 4.18 is

[PATCH v1 1/5] media: staging: tegra-vde: Align bitstream size to 16K

2018-03-17 Thread Dmitry Osipenko
I've noticed that decoding fails sometime if size of bitstream buffer isn't aligned to 16K, probably because HW fetches data from memory in a 16K granularity and if the last chunk of data isn't aligned, HW reads garbage data beyond the dmabuf and tries to parse it. Signed-off-by: Dmitry Osipenko

[PATCH v1 3/5] media: staging: tegra-vde: Correct minimum size of U/V planes

2018-03-17 Thread Dmitry Osipenko
Stride of U/V planes must be aligned to 16 bytes (2 macroblocks). This needs to be taken into account, otherwise it is possible to get a silent memory corruption if dmabuf size is less than the size of decoded video frame. Signed-off-by: Dmitry Osipenko ---

[PATCH v1 2/5] media: staging: tegra-vde: Silence some of checkpatch warnings

2018-03-17 Thread Dmitry Osipenko
Make all strings single line to make them grep'able and add a comment to the memory barrier. Signed-off-by: Dmitry Osipenko --- drivers/staging/media/tegra-vde/tegra-vde.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git

[PATCH v1 4/5] media: staging: tegra-vde: Do not handle spurious interrupts

2018-03-17 Thread Dmitry Osipenko
Do not handle interrupts if we haven't asked for them, potentially that could happen if HW wasn't programmed properly. Signed-off-by: Dmitry Osipenko --- drivers/staging/media/tegra-vde/tegra-vde.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

[PATCH] [media] ddbridge, cxd2099: include guard, fix unneeded NULL init, strings

2018-03-17 Thread Daniel Scheller
From: Daniel Scheller Three really tiny minors in this single commit which all on their own would just clutter up the commit history unnecessarily: * ddbridge-regs.h is lacking an include guard. Add it. * Fix an unnecessary NULL initialisation in ddbridge-ci. The declaration

Re: [PATCH][RFC] kernel.h: provide array iterator

2018-03-17 Thread Kieran Bingham
Hi Rasmus, On 16/03/18 16:27, Rasmus Villemoes wrote: > On 2018-03-15 11:00, Kieran Bingham wrote: >> Simplify array iteration with a helper to iterate each entry in an array. >> Utilise the existing ARRAY_SIZE macro to identify the length of the array >> and pointer arithmetic to process each

Re: [PATCH][RFC] kernel.h: provide array iterator

2018-03-17 Thread Kieran Bingham
Hi Joe, On 16/03/18 19:45, Joe Perches wrote: > On Fri, 2018-03-16 at 16:27 +0100, Rasmus Villemoes wrote: >> On 2018-03-15 11:00, Kieran Bingham wrote: >>> Simplify array iteration with a helper to iterate each entry in an array. >>> Utilise the existing ARRAY_SIZE macro to identify the length