cron job: media_tree daily build: OK

2019-06-04 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: Wed Jun 5 05:00:12 CEST 2019 media-tree git hash:0864c9ce8fe83eadfd21b08e98997111d091660c media_build gi

[RFC 1/1] v4l2-subdev: Rework subdev format and selection macros to work without MC

2019-06-04 Thread Sakari Ailus
Rework the macros for accessing subdev try formats to work meaningfully and relatively safely without V4L2 sub-device uAPI (and without MC). This is done by simply reverting to accessing the pad number zero if CONFIG_VIDEO_V4L2_SUBDEV_API isn't enabled, and emitting a kernel warning if the pad is n

Re: [v8] media: imx: add mem2mem device

2019-06-04 Thread Sven Van Asbroeck
Hi Robin, On Tue, Jun 4, 2019 at 4:51 AM Robin Gong wrote: > > Hi Sven, > I saw similar kernel crash issue on the latest linux-next during > kernel boot up, but not on > the 'Linux 5.2-rc1 ' tag. Will do bisect later. But v5.0 should be okay, > could you help double check? Of course. M

Re: [RFC] Documentation clarifications

2019-06-04 Thread Mauro Carvalho Chehab
Em Tue, 4 Jun 2019 18:41:44 +0200 Marc Gonzalez escreveu: > Not sure about these changes, hence the RFC (some are quite trivial) Looks ok to me. You should submit it as a patch, though, with your SOB. See https://linuxtv.org/wiki/index.php/Development:_How_to_submit_patches. > > diff --git a/

[RFC] Documentation clarifications

2019-06-04 Thread Marc Gonzalez
Not sure about these changes, hence the RFC (some are quite trivial) diff --git a/Documentation/media/kapi/dtv-core.rst b/Documentation/media/kapi/dtv-core.rst index ac005b46f23e..9a74b8ba64b7 100644 --- a/Documentation/media/kapi/dtv-core.rst +++ b/Documentation/media/kapi/dtv-core.rst @@ -11,8

Re: [PATCH 5/7 RESEND] touchscreen/sur40: set device_caps in struct video_device

2019-06-04 Thread Dmitry Torokhov
Hi Hans, On Tue, Jun 04, 2019 at 02:36:27PM +0200, Hans Verkuil wrote: > Instead of filling in the struct v4l2_capability device_caps > field, fill in the struct video_device device_caps field. > > That way the V4L2 core knows what the capabilities of the > video device are. > > But this only re

[ragnatech:media-tree] BUILD INCOMPLETE 0864c9ce8fe83eadfd21b08e98997111d091660c

2019-06-04 Thread kbuild test robot
tree/branch: git://git.ragnatech.se/linux media-tree branch HEAD: 0864c9ce8fe83eadfd21b08e98997111d091660c media: dt-bindings: Fix vendor-prefixes YAML TIMEOUT after 1460m Sorry we cannot finish the testset for your branch within a reasonable time. It's our fault -- either some build server i

[PATCH] media: dvb: tag deprecated DVB APIs as such

2019-06-04 Thread Mauro Carvalho Chehab
There are three headers at DVB that should not be used on future projects: audio.h, osd.h and video.h. While this is already clear at the docs, make clear also at the headers that those files should not be used on future drivers. Signed-off-by: Mauro Carvalho Chehab --- include/uapi/linux/dvb/a

Re: [PATCH RFC 5/6] media: cedrus: Make the slice_params array size limitation more explicit

2019-06-04 Thread Nicolas Dufresne
Le mardi 04 juin 2019 à 10:12 +0200, Thierry Reding a écrit : > On Mon, Jun 03, 2019 at 07:55:48PM -0400, Nicolas Dufresne wrote: > > Le lundi 03 juin 2019 à 23:48 +0200, Jernej Škrabec a écrit : > > > Dne ponedeljek, 03. junij 2019 ob 13:09:45 CEST je Boris Brezillon > > > napisal(a): > > > > The

Re: [PATCH v6 2/2] media: v4l2: Get rid of ->vidioc_enum_fmt_vid_{cap,out}_mplane

2019-06-04 Thread Boris Brezillon
On Tue, 4 Jun 2019 09:06:25 +0200 Boris Brezillon wrote: > Support for multiplanar and singleplanar formats is mutually exclusive, > at least in practice. In our attempt to unify support for support for s/support for support for/support for/ > mplane and !mplane

Re: [PATCH v6 2/2] media: v4l2: Get rid of ->vidioc_enum_fmt_vid_{cap,out}_mplane

2019-06-04 Thread Sylwester Nawrocki
On 6/4/19 09:06, Boris Brezillon wrote: > Support for multiplanar and singleplanar formats is mutually exclusive, > at least in practice. In our attempt to unify support for support for > mplane and !mplane in v4l, let's get rid of the > ->vidioc_enum_fmt_{vid,out}_cap_mplane() hooks and call > ->v

Re: [PATCH v6 1/2] media: v4l2: Make sure all drivers set _MPLANE caps in vdev->device_caps

2019-06-04 Thread Sylwester Nawrocki
On 6/4/19 09:06, Boris Brezillon wrote: > This is needed if we want the core to be able to check _MPLANE support > without having to call the ->vdioc_querycap() hook. > > Signed-off-by: Boris Brezillon For: drivers/media/platform/exynos-gsc drivers/media/platform/exynos4-is drivers/media/plat

Re: [PATCH 4/7] usb/gadget/f_uvc: set device_caps in struct video_device

2019-06-04 Thread Felipe Balbi
Hi, Laurent Pinchart writes: > Hi Hans, > > Thank you for the patch. > > On Tue, Jun 04, 2019 at 01:19:55PM +0200, Hans Verkuil wrote: >> Instead of filling in the struct v4l2_capability device_caps >> field, fill in the struct video_device device_caps field. >> >> That way the V4L2 core know

[PATCH 5/7 RESEND] touchscreen/sur40: set device_caps in struct video_device

2019-06-04 Thread Hans Verkuil
Instead of filling in the struct v4l2_capability device_caps field, fill in the struct video_device device_caps field. That way the V4L2 core knows what the capabilities of the video device are. But this only really works if all drivers use this, so convert this touchscreen driver accordingly. S

Re: [PATCH v6 1/2] media: v4l2: Make sure all drivers set _MPLANE caps in vdev->device_caps

2019-06-04 Thread Laurent Pinchart
Hi Boris, Thank you for the patch. On Tue, Jun 04, 2019 at 09:06:24AM +0200, Boris Brezillon wrote: > This is needed if we want the core to be able to check _MPLANE support > without having to call the ->vdioc_querycap() hook. > > Signed-off-by: Boris Brezillon > --- > Changes in v6: > - None >

Re: [PATCH 4/7] usb/gadget/f_uvc: set device_caps in struct video_device

2019-06-04 Thread Laurent Pinchart
Hi Hans, Thank you for the patch. On Tue, Jun 04, 2019 at 01:19:55PM +0200, Hans Verkuil wrote: > Instead of filling in the struct v4l2_capability device_caps > field, fill in the struct video_device device_caps field. > > That way the V4L2 core knows what the capabilities of the > video device

Re: [PATCH 7/7] staging/media: set device_caps in struct video_device

2019-06-04 Thread Laurent Pinchart
Hi Hans, Thank you for the patch. On Tue, Jun 04, 2019 at 01:22:26PM +0200, Hans Verkuil wrote: > From 5e271dce24e2a0e3bad026fff4f8d7485d97aa71 Mon Sep 17 00:00:00 2001 > From: Hans Verkuil > Date: Tue, 4 Jun 2019 11:39:41 +0200 > Subject: [PATCH 7/7] staging/media: set device_caps in struct vid

Re: [PATCH 6/7] vc04_services/bcm2835-camera: set device_caps in struct video_device

2019-06-04 Thread Greg Kroah-Hartman
On Tue, Jun 04, 2019 at 01:19:57PM +0200, Hans Verkuil wrote: > Instead of filling in the struct v4l2_capability device_caps > field, fill in the struct video_device device_caps field. > > That way the V4L2 core knows what the capabilities of the > video device are. > > But this only really works

[linux-next:master 3228/4211] htmldocs: /bin/bash: ./scripts/sphinx-pre-install: No such file or directory

2019-06-04 Thread kbuild test robot
Hi Mauro, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 56b697c6c13b51887a0c66c8bcbd10cd537476fa commit: 9b88ad5464af1bf7228991f1c46a9a13484790a4 [3228/4211] scripts/sphinx-pre-install: always check if version is

[PATCH 7/7] staging/media: set device_caps in struct video_device

2019-06-04 Thread Hans Verkuil
>From 5e271dce24e2a0e3bad026fff4f8d7485d97aa71 Mon Sep 17 00:00:00 2001 From: Hans Verkuil Date: Tue, 4 Jun 2019 11:39:41 +0200 Subject: [PATCH 7/7] staging/media: set device_caps in struct video_device Instead of filling in the struct v4l2_capability device_caps field, fill in the struct video_d

Re: [RFC v2 4/4] media: platform: mtk-mdp3: Add Mediatek MDP3 driver

2019-06-04 Thread Tomasz Figa
Hi Daoyuan, On Thu, May 16, 2019 at 11:23:32AM +0800, Daoyuan Huang wrote: > From: daoyuan huang > > This patch adds driver for Media Data Path 3 (MDP3). > Each modules' related operation control is sited in mtk-mdp3-comp.c > Each modules' register table is defined in file with "mdp_reg_" > and

[PATCH 2/7] media/usb: set device_caps in struct video_device

2019-06-04 Thread Hans Verkuil
Instead of filling in the struct v4l2_capability device_caps field, fill in the struct video_device device_caps field. That way the V4L2 core knows what the capabilities of the video device are. But this only really works if all drivers use this, so convert all usb drivers in this patch. Signed-

[PATCH 5/7] touchscreen/sur40: set device_caps in struct video_device

2019-06-04 Thread Hans Verkuil
Instead of filling in the struct v4l2_capability device_caps field, fill in the struct video_device device_caps field. That way the V4L2 core knows what the capabilities of the video device are. But this only really works if all drivers use this, so convert this touchscreen driver accordingly. S

[PATCH 4/7] usb/gadget/f_uvc: set device_caps in struct video_device

2019-06-04 Thread Hans Verkuil
Instead of filling in the struct v4l2_capability device_caps field, fill in the struct video_device device_caps field. That way the V4L2 core knows what the capabilities of the video device are. But this only really works if all drivers use this, so convert this UVC gadget driver. Signed-off-by:

[PATCH 6/7] vc04_services/bcm2835-camera: set device_caps in struct video_device

2019-06-04 Thread Hans Verkuil
Instead of filling in the struct v4l2_capability device_caps field, fill in the struct video_device device_caps field. That way the V4L2 core knows what the capabilities of the video device are. But this only really works if all drivers use this, so convert this driver accordingly. Signed-off-by

[PATCH 1/7] media/radio: set device_caps in struct video_device

2019-06-04 Thread Hans Verkuil
Instead of filling in the struct v4l2_capability device_caps field, fill in the struct video_device device_caps field. That way the V4L2 core knows what the capabilities of the video device are. But this only really works if all drivers use this, so convert all radio drivers in this patch. Signe

[PATCH 0/7] media: set device_caps in struct video_device

2019-06-04 Thread Hans Verkuil
Instead of filling in the struct v4l2_capability device_caps field, fill in the struct video_device device_caps field. That way the V4L2 core knows what the capabilities of the video device are. But this only really works if all drivers use this, so this series converts all except pci and platfor

[PATCH 3/7] rtl2832_sdr: set device_caps in struct video_device

2019-06-04 Thread Hans Verkuil
Instead of filling in the struct v4l2_capability device_caps field, fill in the struct video_device device_caps field. That way the V4L2 core knows what the capabilities of the video device are. But this only really works if all drivers use this, so convert this SDR driver in this patch. Signed-

[PATCH] media: ttpci: use rc-core for the IR receiver

2019-06-04 Thread Sean Young
The IR protocol can be set via the rc protocols sysfs file rather than via module parameters and a custom procfs file. So, it is no longer necessary to periodically check for protocol changes. The IR_RCMM protocol does not match the Philips RC-MM protocol (12, 24 or 32 bit variants) so this is mar

Re: Proposed updates and guidelines for MPEG-2, H.264 and H.265 stateless support

2019-06-04 Thread Jonas Karlman
On 2019-06-04 11:38, Boris Brezillon wrote: > On Tue, 4 Jun 2019 09:15:28 + > Jonas Karlman wrote: > >> On 2019-06-04 11:06, Thierry Reding wrote: >>> On Tue, Jun 04, 2019 at 10:49:21AM +0200, Boris Brezillon wrote: On Tue, 4 Jun 2019 10:31:57 +0200 Thierry Reding wrote: >>

Re: [PATCH v3 08/10] media: hantro: add initial i.MX8MQ support

2019-06-04 Thread Hans Verkuil
On 6/3/19 10:02 PM, Boris Brezillon wrote: > On Mon, 3 Jun 2019 14:45:37 +0200 > Hans Verkuil wrote: > >> On 5/31/19 10:55 AM, Philipp Zabel wrote: >>> For now this just enables MPEG-2 decoding on the Hantro G1 on i.MX8MQ. >>> >>> Signed-off-by: Philipp Zabel >>> --- >>> Changes since v2 [1]: >>

Re: Proposed updates and guidelines for MPEG-2, H.264 and H.265 stateless support

2019-06-04 Thread Boris Brezillon
On Tue, 4 Jun 2019 09:15:28 + Jonas Karlman wrote: > On 2019-06-04 11:06, Thierry Reding wrote: > > On Tue, Jun 04, 2019 at 10:49:21AM +0200, Boris Brezillon wrote: > >> On Tue, 4 Jun 2019 10:31:57 +0200 > >> Thierry Reding wrote: > >> > >>> - Using flags > >>> > >>> The curr

Re: Proposed updates and guidelines for MPEG-2, H.264 and H.265 stateless support

2019-06-04 Thread Paul Kocialkowski
Hi, On Tue, 2019-06-04 at 09:15 +, Jonas Karlman wrote: > On 2019-06-04 11:06, Thierry Reding wrote: > > On Tue, Jun 04, 2019 at 10:49:21AM +0200, Boris Brezillon wrote: > > > On Tue, 4 Jun 2019 10:31:57 +0200 > > > Thierry Reding wrote: > > > > > > > > > > > - Using flags > > > > > > > > >

Re: Proposed updates and guidelines for MPEG-2, H.264 and H.265 stateless support

2019-06-04 Thread Jonas Karlman
On 2019-06-04 11:06, Thierry Reding wrote: > On Tue, Jun 04, 2019 at 10:49:21AM +0200, Boris Brezillon wrote: >> On Tue, 4 Jun 2019 10:31:57 +0200 >> Thierry Reding wrote: >> >>> - Using flags >>> >>> The current MPEG-2 controls have lots of u8 values that can be >>> represented as

Re: Proposed updates and guidelines for MPEG-2, H.264 and H.265 stateless support

2019-06-04 Thread Paul Kocialkowski
Hi, On Tue, 2019-06-04 at 11:05 +0200, Boris Brezillon wrote: > On Tue, 4 Jun 2019 10:55:03 +0200 > Thierry Reding wrote: > > > On Mon, Jun 03, 2019 at 02:52:44PM -0400, Nicolas Dufresne wrote: > > [...] > > > There is one thing that come up though, if we enable per-frame decoding > > > on top o

Re: Proposed updates and guidelines for MPEG-2, H.264 and H.265 stateless support

2019-06-04 Thread Thierry Reding
On Tue, Jun 04, 2019 at 10:49:21AM +0200, Boris Brezillon wrote: > On Tue, 4 Jun 2019 10:31:57 +0200 > Thierry Reding wrote: > > > > > > > - Using flags > > > > > > > > > > > > The current MPEG-2 controls have lots of u8 values that can be > > > > > > represented as flags. Using flags also helps

Re: Proposed updates and guidelines for MPEG-2, H.264 and H.265 stateless support

2019-06-04 Thread Boris Brezillon
On Tue, 4 Jun 2019 10:55:03 +0200 Thierry Reding wrote: > On Mon, Jun 03, 2019 at 02:52:44PM -0400, Nicolas Dufresne wrote: > [...] > > There is one thing that come up though, if we enable per-frame decoding > > on top of per-slice decoder (like Cedrus), won't we force userspace to > > always com

Re: Proposed updates and guidelines for MPEG-2, H.264 and H.265 stateless support

2019-06-04 Thread Thierry Reding
On Mon, Jun 03, 2019 at 02:52:44PM -0400, Nicolas Dufresne wrote: [...] > There is one thing that come up though, if we enable per-frame decoding > on top of per-slice decoder (like Cedrus), won't we force userspace to > always compute l0/l1 even though the HW might be handling that ? Shall > we in

RE: [v8] media: imx: add mem2mem device

2019-06-04 Thread Robin Gong
Hi Sven, I saw similar kernel crash issue on the latest linux-next during kernel boot up, but not on the 'Linux 5.2-rc1 ' tag. Will do bisect later. But v5.0 should be okay, could you help double check? > -Original Message- > From: Sven Van Asbroeck > Sent: 2019年6月1日 5:59 > Hi R

Re: Proposed updates and guidelines for MPEG-2, H.264 and H.265 stateless support

2019-06-04 Thread Thierry Reding
On Mon, Jun 03, 2019 at 02:52:44PM -0400, Nicolas Dufresne wrote: > Le lundi 03 juin 2019 à 13:24 +0200, Thierry Reding a écrit : > > On Wed, May 15, 2019 at 12:09:45PM +0200, Paul Kocialkowski wrote: > > > Hi, > > > > > > With the Rockchip stateless VPU driver in the works, we now have a > > > be

Re: Proposed updates and guidelines for MPEG-2, H.264 and H.265 stateless support

2019-06-04 Thread Boris Brezillon
On Tue, 4 Jun 2019 10:31:57 +0200 Thierry Reding wrote: > > > > > - Using flags > > > > > > > > > > The current MPEG-2 controls have lots of u8 values that can be > > > > > represented as flags. Using flags also helps with padding. > > > > > It's unlikely that we'll get more than 64 flags, so us

Re: Proposed updates and guidelines for MPEG-2, H.264 and H.265 stateless support

2019-06-04 Thread Thierry Reding
On Mon, Jun 03, 2019 at 09:41:17PM +0200, Boris Brezillon wrote: > On Mon, 03 Jun 2019 14:52:44 -0400 > Nicolas Dufresne wrote: > > > > > - Dropping the DPB concept in H.264/H.265 > > > > > > > > As far as I could understand, the decoded picture buffer (DPB) is a > > > > concept that only makes

Re: [PATCH RFC 5/6] media: cedrus: Make the slice_params array size limitation more explicit

2019-06-04 Thread Boris Brezillon
On Tue, 4 Jun 2019 10:12:10 +0200 Thierry Reding wrote: > On Mon, Jun 03, 2019 at 07:55:48PM -0400, Nicolas Dufresne wrote: > > Le lundi 03 juin 2019 à 23:48 +0200, Jernej Škrabec a écrit : > > > Dne ponedeljek, 03. junij 2019 ob 13:09:45 CEST je Boris Brezillon > > > napisal(a): > > > > The

Re: [PATCH RFC 2/6] media: uapi: h264: Add the concept of decoding mode

2019-06-04 Thread Thierry Reding
On Mon, Jun 03, 2019 at 05:37:11PM +0200, Boris Brezillon wrote: > On Mon, 3 Jun 2019 16:05:26 +0200 > Thierry Reding wrote: > > > On Mon, Jun 03, 2019 at 02:51:13PM +0200, Boris Brezillon wrote: > > > +Maxime > > > > > > Oops, just realized Maxime was not Cc-ed on this series. > > > > > > On M

Re: [PATCH RFC 5/6] media: cedrus: Make the slice_params array size limitation more explicit

2019-06-04 Thread Thierry Reding
On Mon, Jun 03, 2019 at 07:55:48PM -0400, Nicolas Dufresne wrote: > Le lundi 03 juin 2019 à 23:48 +0200, Jernej Škrabec a écrit : > > Dne ponedeljek, 03. junij 2019 ob 13:09:45 CEST je Boris Brezillon > > napisal(a): > > > The driver only supports per-slice decoding, and in that mode > > > decode_

Придобивки за персонала

2019-06-04 Thread Radoslav Dobrev
Здравейте! Нуждаете ли се от мотивационен пакет за персонала, който е удобен и привлекателен, както за работодателя, така и за служителите? В такъв случай Ви препоръчваме да обмислите използването на все по-популярните ваучери за храна - работодателят осигурява ваучери за определена сума, а сл

Re: [PATCH v5 2/2] media: v4l2: Get rid of ->vidioc_enum_fmt_vid_{cap,out}_mplane

2019-06-04 Thread Boris Brezillon
On Tue, 4 Jun 2019 09:02:56 +0200 Hans Verkuil wrote: > On 6/3/19 3:58 PM, Boris Brezillon wrote: > > Support for multiplanar and singleplanar formats is mutually exclusive, > > at least in practice. In our attempt to unify support for support for > > mplane and !mplane in v4l, let's get rid of t

[PATCH v6 2/2] media: v4l2: Get rid of ->vidioc_enum_fmt_vid_{cap,out}_mplane

2019-06-04 Thread Boris Brezillon
Support for multiplanar and singleplanar formats is mutually exclusive, at least in practice. In our attempt to unify support for support for mplane and !mplane in v4l, let's get rid of the ->vidioc_enum_fmt_{vid,out}_cap_mplane() hooks and call ->vidioc_enum_fmt_{vid,out}_cap() instead. Signed-of

[PATCH v6 1/2] media: v4l2: Make sure all drivers set _MPLANE caps in vdev->device_caps

2019-06-04 Thread Boris Brezillon
This is needed if we want the core to be able to check _MPLANE support without having to call the ->vdioc_querycap() hook. Signed-off-by: Boris Brezillon --- Changes in v6: - None Changes in v5: - Drop the fimc-lite and fimc-isp-video hack Changes in v4: - Add a hack in fimc-lite and fimc-isp-v

Re: [PATCH v5 2/2] media: v4l2: Get rid of ->vidioc_enum_fmt_vid_{cap,out}_mplane

2019-06-04 Thread Boris Brezillon
On Tue, 4 Jun 2019 09:02:56 +0200 Hans Verkuil wrote: > On 6/3/19 3:58 PM, Boris Brezillon wrote: > > Support for multiplanar and singleplanar formats is mutually exclusive, > > at least in practice. In our attempt to unify support for support for > > mplane and !mplane in v4l, let's get rid of t

Re: [PATCH v5 2/2] media: v4l2: Get rid of ->vidioc_enum_fmt_vid_{cap,out}_mplane

2019-06-04 Thread Hans Verkuil
On 6/3/19 3:58 PM, Boris Brezillon wrote: > Support for multiplanar and singleplanar formats is mutually exclusive, > at least in practice. In our attempt to unify support for support for > mplane and !mplane in v4l, let's get rid of the > ->vidioc_enum_fmt_{vid,out}_cap_mplane() hooks and call > -