cron job: media_tree daily build: ERRORS

2019-04-22 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 23 05:00:11 CEST 2019 media-tree git hash:a4dfc8a24796ff312d1d307e11f26f8ca466e938 media_build gi

[ragnatech:media-tree] BUILD SUCCESS a4dfc8a24796ff312d1d307e11f26f8ca466e938

2019-04-22 Thread kbuild test robot
tree/branch: git://git.ragnatech.se/linux media-tree branch HEAD: a4dfc8a24796ff312d1d307e11f26f8ca466e938 media: MAINTAINERS: Update AO CEC with ao-cec-g12a driver elapsed time: 133m configs tested: 164 The following configs have been built successfully. More configs may be tested in the com

[PATCH] spi: IR LED: add missing of table registration

2019-04-22 Thread Daniel Gomez
MODULE_DEVICE_TABLE(of, should be called to complete DT OF mathing mechanism and register it. Before this patch: modinfo drivers/media/rc/ir-spi.ko | grep alias After this patch: modinfo drivers/media/rc/ir-spi.ko | grep alias alias: of:N*T*Cir-spi-ledC* alias: of:N*T*Cir-spi

Re: [GIT PULL for v5.2] Venus updates

2019-04-22 Thread Mauro Carvalho Chehab
Hi Stanimir, Em Mon, 1 Apr 2019 11:18:17 +0300 Stanimir Varbanov escreveu: > Hi Mauro, > > Here are two patches, one fix and one which makes gstreamer happy with h265. > > Please pull. > > > The following changes since commit 3e11851d16ea7eff1cfa66b1cb7b35967876dd1e: > > media: venus: A

Re: [GIT PULL FOR v5.2] cedrus: add H.264 support

2019-04-22 Thread Mauro Carvalho Chehab
Hi Hans, Em Fri, 12 Apr 2019 14:07:45 +0200 Hans Verkuil escreveu: > The following changes since commit 1c3ec30bb23023d738b538e64ac3028902d53692: > > media: index.rst: exclude Indexes section from latex/pdf output (2019-03-30 > 09:42:35 -0400) > > are available in the Git repository at: >

Re: [PATCH v3 14/15] rockchip/vpu: Add support for MPEG-2 decoding

2019-04-22 Thread Jonas Karlman
On 2019-04-22 17:12, Boris Brezillon wrote: > On Mon, 22 Apr 2019 14:59:17 + > Jonas Karlman wrote: > >> On 2019-04-22 10:08, Boris Brezillon wrote: >>> From: Ezequiel Garcia >> Please restore my commit authorship, it seems to have changed in v3. > Oops, sorry about that, it was not intenti

Re: [PATCH v3 14/15] rockchip/vpu: Add support for MPEG-2 decoding

2019-04-22 Thread Boris Brezillon
On Mon, 22 Apr 2019 14:59:17 + Jonas Karlman wrote: > On 2019-04-22 10:08, Boris Brezillon wrote: > > From: Ezequiel Garcia > > Please restore my commit authorship, it seems to have changed in v3. Oops, sorry about that, it was not intentional. > > I would appreciate if you can pick th

Re: [PATCH v3 14/15] rockchip/vpu: Add support for MPEG-2 decoding

2019-04-22 Thread Jonas Karlman
On 2019-04-22 10:08, Boris Brezillon wrote: > From: Ezequiel Garcia Please restore my commit authorship, it seems to have changed in v3. I would appreciate if you can pick the fixups from [1] and [2] to sync rk3288/rk3399 code. Please also squash both MPEG-2 commits, that is closer to the origi

Zdravstvuyte! Vas interesuyut kliyentskiye bazy dannykh?

2019-04-22 Thread linux-media
Zdravstvuyte! Vas interesuyut kliyentskiye bazy dannykh?

[PATCH v3 07/15] rockchip/vpu: Rename rockchip_vpu_common.h into rockchip_vpu_v4l2.h

2019-04-22 Thread Boris Brezillon
We're about to add prototypes for the vb2/v4l2 helpers shared by the encoder/decoder logic in this file, so let's pick a name that reflects that (rockchip_vpu_common.h was a bit to generic). Suggested-by: Ezequiel Garcia Signed-off-by: Boris Brezillon --- Changes from v2: * New patch --- driver

[PATCH v3 14/15] rockchip/vpu: Add support for MPEG-2 decoding

2019-04-22 Thread Boris Brezillon
From: Ezequiel Garcia Add MPEG-2 decoding, only on RK3399. Other SoCs and support for other codecs will be added in the future. Signed-off-by: Jonas Karlman Signed-off-by: Ezequiel Garcia Signed-off-by: Boris Brezillon -- Changes from v2: * Remove uneeded check from rockchip_vpu_get_ctrl. * U

[PATCH v3 11/15] rockchip/vpu: Prepare things to support decoders

2019-04-22 Thread Boris Brezillon
The code in rockchip_vpu_v4l2 was hardcoded for encoder support. Modify it more generic to support the decoder case so that we can re-use the same vb2/v4l2 ops for both devices. Co-developed-by: Ezequiel Garcia Signed-off-by: Ezequiel Garcia Signed-off-by: Boris Brezillon --- Changes from v2: *

[PATCH v3 09/15] rockchip/vpu: Move encoder logic to a common place

2019-04-22 Thread Boris Brezillon
The V4L2/VB2 implementation for the encoder and decoder logic are very similar, so let's rename rockchip_vpu_enc.c file into rockchip_vpu_v4l2.c and remove the _enc_ part in objects/functions exposed in rockchip_vpu_v4l2.h. We also rename the enc_queue_init() function (in rockchip_vpu_drv.c) queue_

[PATCH v3 12/15] rockchip/vpu: Add decoder boilerplate

2019-04-22 Thread Boris Brezillon
From: Ezequiel Garcia This commit adds the needed boilerplate code to support the VPU in decoding operation. Two v4l2 interfaces are exposed, one for encoding and one for decoding, but a single m2m device is shared by them, so jobs are properly serialized. Signed-off-by: Ezequiel Garcia Signed-

[PATCH v3 10/15] rockchip/vpu: Provide a helper to reset both src and dst formats

2019-04-22 Thread Boris Brezillon
When initializing a context, the core wants to reset both src and dst formats. Right now the order doesn't matter, but if we want to have a valid default width/height on the non-coded/raw format side (src in case of encoders, dst in case of decoders), we need to reset those formats in the right ord

[PATCH v3 04/15] rockchip/vpu: Cleanup JPEG bounce buffer management

2019-04-22 Thread Boris Brezillon
From: Ezequiel Garcia In order to make the code more generic, introduce a pair of start/stop codec operations, and use them to allocate and release the JPEG bounce buffer. Signed-off-by: Ezequiel Garcia Signed-off-by: Boris Brezillon --- Changes from v2: * Reword bounce buffer comment, so it'

[PATCH v3 15/15] rockchip/vpu: Add support for MPEG-2 decoding on RK3288

2019-04-22 Thread Boris Brezillon
From: Jonas Karlman Add necessary bits to support MPEG2 decoding on RK3288. Signed-off-by: Jonas Karlman Signed-off-by: Boris Brezillon --- Changes from v2: * New patch --- drivers/staging/media/rockchip/vpu/Makefile | 3 +- .../media/rockchip/vpu/rk3288_vpu_hw.c| 59 +++- .../ro

[PATCH v3 13/15] rockchip/vpu: Add support for non-standard controls

2019-04-22 Thread Boris Brezillon
From: Ezequiel Garcia Rework the way controls are registered by the driver, so it can support non-standard controls, such as those used by stateless codecs. Signed-off-by: Ezequiel Garcia Signed-off-by: Boris Brezillon -- Changes from v2: * Got rid of unused ctrls related fields. * Removed unn

[PATCH v3 05/15] rockchip/vpu: Open-code media controller register

2019-04-22 Thread Boris Brezillon
From: Ezequiel Garcia In preparation to support decoders, using a single memory-to-memory device, we need to roll our own media controller entities registration. Signed-off-by: Ezequiel Garcia Signed-off-by: Boris Brezillon -- Changes from v2: * Use kvasprintf instead of kmalloc and snprintf.

[PATCH v3 00/15] Add MPEG-2 decoding to Rockchip VPU

2019-04-22 Thread Boris Brezillon
This series introduces the decoding infrastructure that will be used to add support for other codecs such as VP8, VP9 and H.264. As explained in the cover letter for the v1 patchset, the driver is now exposing two video device nodes. The VPU encoder is exposed on /dev/video0, and the VPU decoder i

[PATCH v3 02/15] rockchip/vpu: Use v4l2_m2m_buf_copy_metadata

2019-04-22 Thread Boris Brezillon
From: Ezequiel Garcia Use the recently introduced v4l2_m2m_buf_copy_metadata helper and get rid of some code. Signed-off-by: Ezequiel Garcia Signed-off-by: Boris Brezillon --- Changes from v2: - None --- drivers/staging/media/rockchip/vpu/rockchip_vpu_drv.c | 9 + 1 file changed, 1 in

[PATCH v3 06/15] rockchip/vpu: Support the Request API

2019-04-22 Thread Boris Brezillon
From: Ezequiel Garcia Introduce support for the Request API. Although the JPEG encoder does not mandate using the Request API, it's perfectly possible to use it, if the application wants to. Signed-off-by: Ezequiel Garcia Signed-off-by: Boris Brezillon -- Changes from v2: * Drop unrelated mdev

[PATCH v3 03/15] rockchip/vpu: Cleanup macroblock alignment

2019-04-22 Thread Boris Brezillon
From: Ezequiel Garcia We need to make the macrobock alignment generic, in order to support multiple codecs. Signed-off-by: Ezequiel Garcia Signed-off-by: Boris Brezillon --- Changes from v2: - None --- .../media/rockchip/vpu/rockchip_vpu_enc.c | 20 --- 1 file changed, 8 i

[PATCH v3 01/15] rockchip/vpu: Use pixel format helpers

2019-04-22 Thread Boris Brezillon
From: Ezequiel Garcia Now that we've introduced the pixel format helpers, use them in vpu driver, and get rid of the internal helpers. Signed-off-by: Ezequiel Garcia Signed-off-by: Boris Brezillon --- Changes from v2: - None --- .../media/rockchip/vpu/rockchip_vpu_enc.c | 91 +

[PATCH v3 08/15] rockchip/vpu: Remove a useless test

2019-04-22 Thread Boris Brezillon
vdev is guaranteed to be equal to vpu->vfd_enc thanks a test done a few lines above. Remove this useless test. Signed-off-by: Boris Brezillon --- Changes from v2: * New patch --- drivers/staging/media/rockchip/vpu/rockchip_vpu_drv.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) di

[PATCH v1] media: ov8856: modify register to fix test pattern

2019-04-22 Thread Shawnx Tu
modify registers to fix bayer order in test pattern mode --- drivers/media/i2c/ov8856.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/media/i2c/ov8856.c b/drivers/media/i2c/ov8856.c index dbf1095..cd347d6 100644 --- a/drivers/media/i2c/ov8856.c +++ b/driv