cron job: media_tree daily build: ERRORS

2018-08-02 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: Fri Aug 3 05:00:11 CEST 2018 media-tree git hash:2c3449fb95c318920ca8dc645d918d408db219ac media_build

RE: [RESEND PATCH v4] media: imx208: Add imx208 camera sensor driver

2018-08-02 Thread Chen, Ping-chung
Hi Tomasz, >On Fri, Aug 3, 2018 at 11:57 AM Ping-chung Chen >wrote: > > From: "Chen, Ping-chung" > > Add a V4L2 sub-device driver for the Sony IMX208 image sensor. > This is a camera sensor using the I2C bus for control and the > CSI-2 bus for data. > > Signed-off-by: Ping-Chung Chen > --- >

Re: [RESEND PATCH v4] media: imx208: Add imx208 camera sensor driver

2018-08-02 Thread Tomasz Figa
On Fri, Aug 3, 2018 at 11:57 AM Ping-chung Chen wrote: > > From: "Chen, Ping-chung" > > Add a V4L2 sub-device driver for the Sony IMX208 image sensor. > This is a camera sensor using the I2C bus for control and the > CSI-2 bus for data. > > Signed-off-by: Ping-Chung Chen > --- > since v1: > --

[RESEND PATCH v4] media: imx208: Add imx208 camera sensor driver

2018-08-02 Thread Ping-chung Chen
From: "Chen, Ping-chung" Add a V4L2 sub-device driver for the Sony IMX208 image sensor. This is a camera sensor using the I2C bus for control and the CSI-2 bus for data. Signed-off-by: Ping-Chung Chen --- since v1: -- Update the function media_entity_pads_init for upstreaming. -- Change the

[PATCH v4] media: imx208: Add imx208 camera sensor driver

2018-08-02 Thread Ping-chung Chen
From: "Chen, Ping-chung" Add a V4L2 sub-device driver for the Sony IMX208 image sensor. This is a camera sensor using the I2C bus for control and the CSI-2 bus for data. Signed-off-by: Ping-Chung Chen --- since v1: -- Update the function media_entity_pads_init for upstreaming. -- Change the

edit your photos

2018-08-02 Thread Sam
As a boutique team, we work personally with our clients to ensure the good results. Having over a decade of hands-on experience in photography and retouching, we have been inspired to expand our services to the public. We are team of artists who have excelled in fields such as art, photography,

[PATCH v4 3/6] v4l2-mem2mem: Avoid v4l2_m2m_prepare_buf from scheduling a job

2018-08-02 Thread Ezequiel Garcia
There is no need for v4l2_m2m_prepare_buf to try to schedule a job, as it only prepares a buffer, but does not queue or changes the state of the queue. Remove the call to v4l2_m2m_try_schedule from v4l2_m2m_prepare_buf. Signed-off-by: Ezequiel Garcia --- drivers/media/v4l2-core/v4l2-mem2mem.c

[PATCH v4 5/6] v4l2-mem2mem: Avoid calling .device_run in v4l2_m2m_job_finish

2018-08-02 Thread Ezequiel Garcia
v4l2_m2m_job_finish() is typically called in interrupt context. Some implementation of .device_run might sleep, and so it's desirable to avoid calling it directly from v4l2_m2m_job_finish(), thus avoiding .device_run from running in interrupt context. Implement a deferred context that calls

[PATCH v4 6/6] selftests: media_tests: Add a memory-to-memory concurrent stress test

2018-08-02 Thread Ezequiel Garcia
Add a test for the memory-to-memory framework, to exercise the scheduling of concurrent jobs, using multiple contexts. This test needs to be run using the vim2m virtual driver, and so needs no hardware. While here, rework the media_tests suite in order to make it useful for automatic tools.

[PATCH v4 4/6] v4l2-mem2mem: Simplify exiting the function in __v4l2_m2m_try_schedule

2018-08-02 Thread Ezequiel Garcia
From: Sakari Ailus The __v4l2_m2m_try_schedule function acquires and releases multiple spinlocks. Simplify unlocking the job lock by adding labels to unlock the lock and exit the function. Signed-off-by: Sakari Ailus Signed-off-by: Ezequiel Garcia --- drivers/media/v4l2-core/v4l2-mem2mem.c |

[PATCH v4 2/6] v4l2-ioctl.c: simplify locking for m2m devices

2018-08-02 Thread Ezequiel Garcia
Now that the mutexes for output and capture vb2 queues match, it is possible to refer to the context q_lock as the m2m lock for a given m2m context. Remove the output/capture lock selection. Signed-off-by: Ezequiel Garcia --- drivers/media/v4l2-core/v4l2-ioctl.c | 47

[PATCH v4 1/6] mem2mem: Require capture and output mutexes to match

2018-08-02 Thread Ezequiel Garcia
Currently, all the mem2mem driver either use a single mutex to lock the capture and output videobuf2 queues, or don't set any mutex. This means the mutexes match, and so the mem2mem framework is able to set the m2m context lock. Enforce this by making it mandatory for drivers to set the same

[PATCH v4 0/6] Make sure .device_run is always called in non-atomic context

2018-08-02 Thread Ezequiel Garcia
v4: * Add patches and 1 and 2, to make q_lock mandatory, in other words, require output and capture locks to match. * Add WARN_ON if the lock is not held in v4l2_m2m_try_schedule, and also document the requirement. * Add a comment explaining why the job is scheduled. This series

[PATCH v2 2/6] ARM: dts: rockchip: add VPU device node for RK3288

2018-08-02 Thread Ezequiel Garcia
Add the Video Processing Unit node for RK3288 SoC. Also, enable the VPU IOMMU node, as it's needed for any user that wants to use the VPU with the IOMMU. Signed-off-by: Ezequiel Garcia --- arch/arm/boot/dts/rk3288.dtsi | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff

[PATCH v2 1/6] dt-bindings: Document the Rockchip VPU bindings

2018-08-02 Thread Ezequiel Garcia
Add devicetree binding documentation for Rockchip Video Processing Unit IP. Signed-off-by: Ezequiel Garcia --- .../bindings/media/rockchip-vpu.txt | 30 +++ 1 file changed, 30 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/rockchip-vpu.txt

[PATCH v2 6/6] media: add Rockchip VPU driver

2018-08-02 Thread Ezequiel Garcia
Add a mem2mem driver for the VPU available on Rockchip SoCs. Currently only JPEG encoding is supported, for RK3399 and RK3288 platforms. Signed-off-by: Ezequiel Garcia --- MAINTAINERS | 7 + drivers/media/platform/Kconfig| 13 +

[PATCH v2 5/6] media: Add controls for jpeg quantization tables

2018-08-02 Thread Ezequiel Garcia
From: Shunqian Zheng Add V4L2_CID_JPEG_LUMA/CHROMA_QUANTIZATION controls to allow userspace configure the JPEG quantization tables. Signed-off-by: Shunqian Zheng Signed-off-by: Ezequiel Garcia --- Documentation/media/uapi/v4l/extended-controls.rst | 9 +

[PATCH v2 3/6] arm64: dts: rockchip: add VPU device node for RK3399

2018-08-02 Thread Ezequiel Garcia
Add the Video Processing Unit node for the RK3399 SoC. Signed-off-by: Ezequiel Garcia --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index

[PATCH v2 4/6] media: Add JPEG_RAW format

2018-08-02 Thread Ezequiel Garcia
From: Shunqian Zheng Add V4L2_PIX_FMT_JPEG_RAW format that does not contain JPEG header in the output frame. Signed-off-by: Shunqian Zheng Signed-off-by: Ezequiel Garcia --- Documentation/media/uapi/v4l/pixfmt-compressed.rst | 9 + drivers/media/v4l2-core/v4l2-ioctl.c |

[PATCH v2 0/6] Add Rockchip VPU JPEG encoder

2018-08-02 Thread Ezequiel Garcia
This series adds support for JPEG encoding via the VPU block present in Rockchip platforms. Currently, support for RK3288 and RK3399 is included. The hardware produces a Raw JPEG format (i.e. works as a JPEG accelerator). It requires quantization tables provided by the application, and uses

Re: [PATCH 3/3] media: add Rockchip VPU driver

2018-08-02 Thread Ezequiel Garcia
On Thu, 2018-08-02 at 09:30 +0200, Hans Verkuil wrote: > On 07/27/2018 07:13 PM, Ezequiel Garcia wrote: > > Hi Hans, > > > > Thanks a lot for the review. > > > > On Wed, 2018-07-18 at 11:58 +0200, Hans Verkuil wrote: > > > > > > > > + > > > > +static int > > > > +queue_init(void *priv, struct

Re: [RFC 1/4] media: meson: add v4l2 m2m video decoder driver

2018-08-02 Thread Maxime Jourdan
2018-08-02 12:30 GMT+02:00 Jerome Brunet : > > Ouch! > > Your architecture seems pretty modular. Maybe you could split this patch a > little ? One patch of the 'backbone' then one for each codec ? Hehe, it's a big baby. Sure I'll split it codec by codec. > > I suppose this will go away with : >

Re: [PATCH v6 07/13] media: dt-bindings: add bindings for i.MX7 media driver

2018-08-02 Thread Rui Miguel Silva
Hi Sakari, Thanks for the review. I will take this in account when preparing the v7, all your comments bellow look reasonable to me. --- Cheers, Rui On Thu 02 Aug 2018 at 14:00, Sakari Ailus wrote: Hi Rui, On Tue, May 22, 2018 at 03:52:39PM +0100, Rui Miguel Silva wrote: Add

Re: [PATCH v6 00/13] media: staging/imx7: add i.MX7 media driver

2018-08-02 Thread Rui Miguel Silva
Hi Hans, On Thu 02 Aug 2018 at 13:37, Hans Verkuil wrote: Hi Rui, On 05/22/18 16:52, Rui Miguel Silva wrote: Hi, This series introduces the Media driver to work with the i.MX7 SoC. it uses the already existing imx media core drivers but since the i.MX7, contrary to i.MX5/6, do not have an

Re: [PATCH v3 3/4] v4l2-mem2mem: Avoid calling .device_run in v4l2_m2m_job_finish

2018-08-02 Thread Ezequiel Garcia
On Thu, 2018-08-02 at 10:02 +0200, Hans Verkuil wrote: > On 08/01/2018 11:50 PM, Ezequiel Garcia wrote: > > v4l2_m2m_job_finish() is typically called in interrupt context. > > > > Some implementation of .device_run might sleep, and so it's > > desirable to avoid calling it directly from > >

Re: [PATCH 16/22] [media] tvp5150: add querystd

2018-08-02 Thread Mauro Carvalho Chehab
Em Thu, 2 Aug 2018 12:16:41 +0200 Marco Felsch escreveu: > > > Did you drop the DT of_graph support patch? It was there on your first > > > tvp5150 branch. > > > > Yes. As discussed, I'm waiting for a replacement patch from you. So, > > after testing, I removed it, in order to make simpler

Re: [PATCH v5 08/11] media: vsp1: Add support for extended display list headers

2018-08-02 Thread Laurent Pinchart
Hi Kieran, Thank you for the patch. On Tuesday, 17 July 2018 23:35:50 EEST Kieran Bingham wrote: > From: Kieran Bingham > > Extended display list headers allow pre and post command lists to be > executed by the VSP pipeline. This provides the base support for > features such as AUTO_FLD (for

your photos need edit

2018-08-02 Thread Sam
As a boutique team, we work personally with our clients to ensure the good results. Having over a decade of hands-on experience in photography and retouching, we have been inspired to expand our services to the public. We are team of artists who have excelled in fields such as art, photography,

for the retouching

2018-08-02 Thread Sam
As a boutique team, we work personally with our clients to ensure the good results. Having over a decade of hands-on experience in photography and retouching, we have been inspired to expand our services to the public. We are team of artists who have excelled in fields such as art, photography,

Re: [PATCH v6 07/13] media: dt-bindings: add bindings for i.MX7 media driver

2018-08-02 Thread Sakari Ailus
Hi Rui, On Tue, May 22, 2018 at 03:52:39PM +0100, Rui Miguel Silva wrote: > Add bindings documentation for i.MX7 media drivers. > The imx7 MIPI CSI2 and imx7 CMOS Sensor Interface. > > Signed-off-by: Rui Miguel Silva > --- > .../devicetree/bindings/media/imx7-csi.txt| 44 ++ >

Re: [RFC 0/4] media: meson: add video decoder driver

2018-08-02 Thread Maxime Jourdan
Hi Jerome, Neil, Hans, Thanks a lot for all the insights. 2018-08-02 8:59 GMT+02:00 Hans Verkuil : >> fail: >> ../../../v4l-utils-1.12.3/utils/v4l2-compliance/v4l2-test-buffers.cpp(571): >> q.has_expbuf(node) >> test VIDIOC_EXPBUF: FAIL > > Not sure, might well be a knock-on result

Re: [RFC 4/4] dt-bindings: media: add Amlogic Meson Video Decoder Bindings

2018-08-02 Thread Maxime Jourdan
Hi Martin & Jerome, 2018-08-02 12:33 GMT+02:00 Jerome Brunet : > Maxime, when formatting your patchset, remember to put the bindings > documentation before actually using them. This patch could be the first one of > your series. Noted, thanks. 2018-08-01 22:13 GMT+02:00 Martin Blumenstingl : >>

Re: [PATCH] media: imx258: remove test pattern map from driver

2018-08-02 Thread Sakari Ailus
Hi Jason, On Thu, Aug 02, 2018 at 04:17:00PM +0800, jasonx.z.c...@intel.com wrote: > From: "Chen, JasonX Z" > > Test Pattern mode be picked at HAL instead of driver. > do a FLIP when userspace use test pattern mode. > add entity_ops for validating imx258 link. Hmm. I think this would be

Re: [PATCH v6 00/13] media: staging/imx7: add i.MX7 media driver

2018-08-02 Thread Hans Verkuil
Hi Rui, On 05/22/18 16:52, Rui Miguel Silva wrote: > Hi, > This series introduces the Media driver to work with the i.MX7 SoC. it uses > the > already existing imx media core drivers but since the i.MX7, contrary to > i.MX5/6, do not have an IPU and because of that some changes in the imx media

Re: [PATCH 3/3] media: add Rockchip VPU driver

2018-08-02 Thread Ezequiel Garcia
On 2 August 2018 at 05:54, Hans Verkuil wrote: > On 08/01/18 23:07, Ezequiel Garcia wrote: >> Add a mem2mem driver for the VPU available on Rockchip SoCs. >> Currently only JPEG encoding is supported, for RK3399 and RK3288 >> platforms. >> >> Signed-off-by: Ezequiel Garcia [..] > > I stop

Re: [PATCH 16/22] [media] tvp5150: add querystd

2018-08-02 Thread Marco Felsch
Hi Ian, On 18-08-02 11:54, Ian Arkver wrote: > On 02/08/18 10:49, Mauro Carvalho Chehab wrote: > > Em Thu, 2 Aug 2018 10:01:01 +0200 > > Marco Felsch escreveu: > > > > > Hi Mauro, > > > > > > On 18-08-01 12:50, Mauro Carvalho Chehab wrote: > > > > Em Wed, 1 Aug 2018 16:49:26 +0200 > > > >

Re: [PATCH 16/22] [media] tvp5150: add querystd

2018-08-02 Thread Ian Arkver
On 02/08/18 10:49, Mauro Carvalho Chehab wrote: Em Thu, 2 Aug 2018 10:01:01 +0200 Marco Felsch escreveu: Hi Mauro, On 18-08-01 12:50, Mauro Carvalho Chehab wrote: Em Wed, 1 Aug 2018 16:49:26 +0200 Marco Felsch escreveu: Hi Mauro, On 18-08-01 11:22, Mauro Carvalho Chehab wrote: Em

Re: [RFC 4/4] dt-bindings: media: add Amlogic Meson Video Decoder Bindings

2018-08-02 Thread Jerome Brunet
On Wed, 2018-08-01 at 21:33 +0200, Maxime Jourdan wrote: > Add documentation for the meson vdec dts node. > > Signed-off-by: Maxime Jourdan > --- > .../bindings/media/amlogic,meson-vdec.txt | 60 +++ > 1 file changed, 60 insertions(+) > create mode 100644 >

Re: [PATCH 16/22] [media] tvp5150: add querystd

2018-08-02 Thread Marco Felsch
Hi Mauro, On 18-08-02 06:49, Mauro Carvalho Chehab wrote: > Em Thu, 2 Aug 2018 10:01:01 +0200 > Marco Felsch escreveu: > > > Hi Mauro, > > > > On 18-08-01 12:50, Mauro Carvalho Chehab wrote: > > > Em Wed, 1 Aug 2018 16:49:26 +0200 > > > Marco Felsch escreveu: > > > > > > > Hi Mauro, > > >

Re: [PATCH 16/22] [media] tvp5150: add querystd

2018-08-02 Thread Mauro Carvalho Chehab
Em Thu, 2 Aug 2018 10:01:01 +0200 Marco Felsch escreveu: > Hi Mauro, > > On 18-08-01 12:50, Mauro Carvalho Chehab wrote: > > Em Wed, 1 Aug 2018 16:49:26 +0200 > > Marco Felsch escreveu: > > > > > Hi Mauro, > > > > > > On 18-08-01 11:22, Mauro Carvalho Chehab wrote: > > > > Em Wed, 1 Aug

Re: [PATCH 00/13] Better handle pads for tuning/decoder part of the devices

2018-08-02 Thread Mauro Carvalho Chehab
Em Thu, 2 Aug 2018 11:12:23 +0200 Hans Verkuil escreveu: > On 08/01/18 17:55, Mauro Carvalho Chehab wrote: > > At PC consumer devices, it is very common that the bridge same driver > > to be attached to different types of tuners and demods. We need a way > > for the Kernel to properly identify

Re: [PATCH 13/13] media: v4l2-mc: get rid of global pad indexes

2018-08-02 Thread Mauro Carvalho Chehab
Em Thu, 2 Aug 2018 11:08:52 +0200 Hans Verkuil escreveu: > On 08/01/18 17:55, Mauro Carvalho Chehab wrote: > > Now that all drivers are using pad signal types, we can get > > rid of the global static definition, as routes are stablished > > using the pad signal type. > > > > The tuner and

Re: [RFC 0/4] media: meson: add video decoder driver

2018-08-02 Thread Jerome Brunet
On Wed, 2018-08-01 at 21:33 +0200, Maxime Jourdan wrote: > This is a Request for Comments for the amlogic (meson) video decoder driver. > It is written around the V4L2 M2M framework without using the Request > API as there are a hardware bitstream parser and firmwares. > > It features decoding

Re: [PATCH 00/13] Better handle pads for tuning/decoder part of the devices

2018-08-02 Thread Hans Verkuil
On 08/01/18 17:55, Mauro Carvalho Chehab wrote: > At PC consumer devices, it is very common that the bridge same driver > to be attached to different types of tuners and demods. We need a way > for the Kernel to properly identify what kind of signal is provided by each > PAD, in order to properly

Re: [PATCH 13/13] media: v4l2-mc: get rid of global pad indexes

2018-08-02 Thread Hans Verkuil
On 08/01/18 17:55, Mauro Carvalho Chehab wrote: > Now that all drivers are using pad signal types, we can get > rid of the global static definition, as routes are stablished > using the pad signal type. > > The tuner and IF-PLL pads are now used only by the tuner core, > so move the definitions

Re: [PATCH 3/3] media: add Rockchip VPU driver

2018-08-02 Thread Hans Verkuil
On 08/01/18 23:07, Ezequiel Garcia wrote: > Add a mem2mem driver for the VPU available on Rockchip SoCs. > Currently only JPEG encoding is supported, for RK3399 and RK3288 > platforms. > > Signed-off-by: Ezequiel Garcia > --- > drivers/media/platform/Kconfig| 12 + >

Re: [RFC 0/4] media: meson: add video decoder driver

2018-08-02 Thread Neil Armstrong
On 01/08/2018 21:33, Maxime Jourdan wrote: > This is a Request for Comments for the amlogic (meson) video decoder driver. > It is written around the V4L2 M2M framework without using the Request > API as there are a hardware bitstream parser and firmwares. > > It features decoding for: > - MPEG

[PATCH] media: imx258: remove test pattern map from driver

2018-08-02 Thread jasonx . z . chen
From: "Chen, JasonX Z" Test Pattern mode be picked at HAL instead of driver. do a FLIP when userspace use test pattern mode. add entity_ops for validating imx258 link. Signed-off-by: Chen, JasonX Z --- drivers/media/i2c/imx258.c | 28 1 file changed, 8

Re: [PATCH v3 3/4] v4l2-mem2mem: Avoid calling .device_run in v4l2_m2m_job_finish

2018-08-02 Thread Hans Verkuil
On 08/01/2018 11:50 PM, Ezequiel Garcia wrote: > v4l2_m2m_job_finish() is typically called in interrupt context. > > Some implementation of .device_run might sleep, and so it's > desirable to avoid calling it directly from > v4l2_m2m_job_finish(), thus avoiding .device_run from running > in

Re: [PATCH 16/22] [media] tvp5150: add querystd

2018-08-02 Thread Marco Felsch
Hi Mauro, On 18-08-01 12:50, Mauro Carvalho Chehab wrote: > Em Wed, 1 Aug 2018 16:49:26 +0200 > Marco Felsch escreveu: > > > Hi Mauro, > > > > On 18-08-01 11:22, Mauro Carvalho Chehab wrote: > > > Em Wed, 1 Aug 2018 15:21:25 +0200 > > > Marco Felsch escreveu: > > > > > > > Hi Mauro, > > >

Re: [PATCH 3/3] media: add Rockchip VPU driver

2018-08-02 Thread Hans Verkuil
On 07/27/2018 07:13 PM, Ezequiel Garcia wrote: > Hi Hans, > > Thanks a lot for the review. > > On Wed, 2018-07-18 at 11:58 +0200, Hans Verkuil wrote: >>> >>> + >>> +static int >>> +queue_init(void *priv, struct vb2_queue *src_vq, struct vb2_queue *dst_vq) >>> +{ >>> + struct rockchip_vpu_ctx

Re: [RFC 0/4] media: meson: add video decoder driver

2018-08-02 Thread Hans Verkuil
Hi Maxime! Thanks for working on this, much appreciated. Some high-level comments below: On 08/01/2018 09:33 PM, Maxime Jourdan wrote: > This is a Request for Comments for the amlogic (meson) video decoder driver. > It is written around the V4L2 M2M framework without using the Request > API as

I have you not received the first message I sent you this morning. We need to talk about something and I'm sure you would like to hear this information.

2018-08-02 Thread Robert Wilson