cron job: media_tree daily build: ERRORS

2018-11-27 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 Nov 28 05:00:12 CET 2018 media-tree git hash:708d75fe1c7c6e9abc5381b6fcc32b49830383d0 media_build git

[PATCH v4 1/4] dt-bindings: media: i2c: Add bindings for Maxim Integrated MAX9286

2018-11-27 Thread Kieran Bingham
+Wolfram, Hi Luca, On 14/11/2018 02:04, Luca Ceresoli wrote: > Hi Kieran, > > On 14/11/18 00:12, Kieran Bingham wrote: >> Hi Luca, >> >> On 13/11/2018 14:42, Luca Ceresoli wrote: >>> Hi Kieran, All, >>> >>> sorry for joining this late... See below my considerations. >> >> I'd say you're on time

[PATCH v2] v4l2-ioctl: Zero v4l2_plane_pix_format reserved fields

2018-11-27 Thread Ezequiel Garcia
Make the core set the reserved fields to zero in vv4l2_pix_format_mplane.4l2_plane_pix_format, for _MPLANE queue types. Moving this to the core avoids having to do so in each and every driver. Suggested-by: Tomasz Figa Signed-off-by: Ezequiel Garcia -- v2: * Drop unneeded clear in g_fmt.

Re: [PATCH v5 0/9] Asynchronous UVC

2018-11-27 Thread Laurent Pinchart
Hi Pavel, On Tuesday, 27 November 2018 22:17:30 EET Pavel Machek wrote: > On Tue 2018-11-06 21:27:11, Kieran Bingham wrote: > > From: Kieran Bingham > > > > The Linux UVC driver has long provided adequate performance capabilities > > for web-cams and low data rate video devices in Linux while re

Re: [PATCH v3 6/6] media: mt9m111: allow to setup pixclk polarity

2018-11-27 Thread Sakari Ailus
On Tue, Nov 27, 2018 at 11:02:53AM +0100, Marco Felsch wrote: > From: Enrico Scholz > > The chip can be configured to output data transitions on the > rising or falling edge of PIXCLK (Datasheet R58:1[9]), default is on the > falling edge. > > Parsing the fw-node is made in a subfunction to bund

Re: [linux-sunxi] [PATCH v2 2/2] media: cedrus: Add H264 decoding support

2018-11-27 Thread Jernej Škrabec
Dne torek, 27. november 2018 ob 17:30:00 CET je Jernej Škrabec napisal(a): > Dne torek, 27. november 2018 ob 16:50:28 CET je Maxime Ripard napisal(a): > > Hi Jernej, > > > > Thanks for your review! > > > > On Sat, Nov 24, 2018 at 09:43:43PM +0100, Jernej Škrabec wrote: > > > > +enum cedrus_h264_s

Re: [PATCH v5 0/9] Asynchronous UVC

2018-11-27 Thread Pavel Machek
On Tue 2018-11-06 21:27:11, Kieran Bingham wrote: > From: Kieran Bingham > > The Linux UVC driver has long provided adequate performance capabilities for > web-cams and low data rate video devices in Linux while resolutions were low. > > Modern USB cameras are now capable of high data rates than

[PATCH v6 2/2] media: platform: Add Aspeed Video Engine driver

2018-11-27 Thread Eddie James
The Video Engine (VE) embedded in the Aspeed AST2400 and AST2500 SOCs can capture and compress video data from digital or analog sources. With the Aspeed chip acting a service processor, the Video Engine can capture the host processor graphics output. Add a V4L2 driver to capture video data and co

[PATCH v6 0/2] media: platform: Add Aspeed Video Engine driver

2018-11-27 Thread Eddie James
The Video Engine (VE) embedded in the Aspeed AST2400 and AST2500 SOCs can capture and compress video data from digital or analog sources. With the Aspeed chip acting as a service processor, the Video Engine can capture the host processor graphics output. This series adds a V4L2 driver for the VE,

[PATCH v6 1/2] dt-bindings: media: Add Aspeed Video Engine binding documentation

2018-11-27 Thread Eddie James
Document the bindings. Signed-off-by: Eddie James Reviewed-by: Rob Herring --- .../devicetree/bindings/media/aspeed-video.txt | 26 ++ 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/aspeed-video.txt diff --git a/Documentatio

Re: [PATCH v5 0/2] media: platform: Add Aspeed Video Engine Driver

2018-11-27 Thread Eddie James
On 11/15/2018 03:20 AM, Hans Verkuil wrote: On 11/12/2018 10:00 PM, Eddie James wrote: From: Eddie James The Video Engine (VE) embedded in the Aspeed AST2400 and AST2500 SOCs can capture and compress video data from digital or analog sources. With the Aspeed chip acting as a service process

Re: [PATCH v5 2/2] media: platform: Add Aspeed Video Engine driver

2018-11-27 Thread Eddie James
On 11/15/2018 02:56 AM, Hans Verkuil wrote: On 11/12/2018 10:00 PM, Eddie James wrote: The Video Engine (VE) embedded in the Aspeed AST2400 and AST2500 SOCs can capture and compress video data from digital or analog sources. With the Aspeed chip acting a service processor, the Video Engine ca

Re: [PATCHv18 01/35] Documentation: v4l: document request API

2018-11-27 Thread Mauro Carvalho Chehab
Em Fri, 23 Nov 2018 13:44:24 +0100 (CET) Thomas Gleixner escreveu: > On Fri, 23 Nov 2018, Mauro Carvalho Chehab wrote: > > Ok, I'll use then the enclosed patch, replacing them by a free > > form license info, adding a TODO at the end, as a reminder. > > LGTM. Thanks for fixing this. Thanks fo

Re: DVB-S PCI card regression on 4.19 / 4.20

2018-11-27 Thread Mauro Carvalho Chehab
Em Tue, 27 Nov 2018 16:58:58 +0100 stakanov escreveu: > In data martedì 27 novembre 2018 13:49:46 CET, Mauro Carvalho Chehab ha > scritto: > > Hi Stakanov, > > > > Em Tue, 27 Nov 2018 11:02:57 +0100 > > > > stakanov escreveu: > > > In data lunedì 26 novembre 2018 14:31:09 CET, Takashi Iwai ha

Re: DVB-S PCI card regression on 4.19 / 4.20

2018-11-27 Thread Mauro Carvalho Chehab
Em Tue, 27 Nov 2018 17:03:22 +0100 Takashi Iwai escreveu: > On Tue, 27 Nov 2018 16:58:58 +0100, > stakanov wrote: > > > > In data martedì 27 novembre 2018 13:49:46 CET, Mauro Carvalho Chehab ha > > scritto: > > > Hi Stakanov, > > > > > > Em Tue, 27 Nov 2018 11:02:57 +0100 > > > > > > stakan

Re: [linux-sunxi] [PATCH v2 1/2] media: uapi: Add H264 low-level decoder API compound controls.

2018-11-27 Thread Jernej Škrabec
Hi! Dne četrtek, 15. november 2018 ob 15:56:49 CET je Maxime Ripard napisal(a): > From: Pawel Osciak > > Stateless video codecs will require both the H264 metadata and slices in > order to be able to decode frames. > > This introduces the definitions for a new pixel format for H264 slices that

Re: [linux-sunxi] [PATCH v2 2/2] media: cedrus: Add H264 decoding support

2018-11-27 Thread Jernej Škrabec
Dne torek, 27. november 2018 ob 16:50:28 CET je Maxime Ripard napisal(a): > Hi Jernej, > > Thanks for your review! > > On Sat, Nov 24, 2018 at 09:43:43PM +0100, Jernej Škrabec wrote: > > > +enum cedrus_h264_sram_off { > > > + CEDRUS_SRAM_H264_PRED_WEIGHT_TABLE = 0x000, > > > + CEDRUS_SRAM_H2

Re: DVB-S PCI card regression on 4.19 / 4.20

2018-11-27 Thread Takashi Iwai
On Tue, 27 Nov 2018 16:58:58 +0100, stakanov wrote: > > In data martedì 27 novembre 2018 13:49:46 CET, Mauro Carvalho Chehab ha > scritto: > > Hi Stakanov, > > > > Em Tue, 27 Nov 2018 11:02:57 +0100 > > > > stakanov escreveu: > > > In data lunedì 26 novembre 2018 14:31:09 CET, Takashi Iwai ha

Re: [PATCH v3 6/6] media: mt9m111: allow to setup pixclk polarity

2018-11-27 Thread Sakari Ailus
On Tue, Nov 27, 2018 at 03:12:29PM +0100, Philipp Zabel wrote: > Hi Sakari, > > On Tue, 2018-11-27 at 15:50 +0200, Sakari Ailus wrote: > > Hi Philipp, > > > > On Tue, Nov 27, 2018 at 02:39:27PM +0100, Philipp Zabel wrote: > > > Hi Sakari, > > > > > > On Tue, 2018-11-27 at 15:19 +0200, Sakari Ail

Re: DVB-S PCI card regression on 4.19 / 4.20

2018-11-27 Thread stakanov
In data martedì 27 novembre 2018 13:49:46 CET, Mauro Carvalho Chehab ha scritto: > Hi Stakanov, > > Em Tue, 27 Nov 2018 11:02:57 +0100 > > stakanov escreveu: > > In data lunedì 26 novembre 2018 14:31:09 CET, Takashi Iwai ha scritto: > > > On Fri, 23 Nov 2018 18:26:25 +0100, > > > > > > Mauro C

Re: [PATCH v3 5/6] dt-bindings: media: mt9m111: add pclk-sample property

2018-11-27 Thread Sakari Ailus
On Tue, Nov 27, 2018 at 03:21:05PM +0100, Marco Felsch wrote: > Hi Sakari, > > On 18-11-27 15:13, Sakari Ailus wrote: > > Hi Marco, > > > > On Tue, Nov 27, 2018 at 11:02:52AM +0100, Marco Felsch wrote: > > > Add the pclk-sample property to the list of optional properties > > > for the mt9m111 cam

Re: [linux-sunxi] [PATCH v2 2/2] media: cedrus: Add H264 decoding support

2018-11-27 Thread Maxime Ripard
Hi Jernej, Thanks for your review! On Sat, Nov 24, 2018 at 09:43:43PM +0100, Jernej Škrabec wrote: > > +enum cedrus_h264_sram_off { > > + CEDRUS_SRAM_H264_PRED_WEIGHT_TABLE = 0x000, > > + CEDRUS_SRAM_H264_FRAMEBUFFER_LIST = 0x100, > > + CEDRUS_SRAM_H264_REF_LIST_0 = 0

Re: [PATCH 5/5] DO NOT MERGE: ARM: dts: bananapi: Add Camera support

2018-11-27 Thread Jagan Teki
On Tue, Nov 27, 2018 at 8:49 PM Maxime Ripard wrote: > > On Tue, Nov 27, 2018 at 04:30:55PM +0530, Jagan Teki wrote: > > > > > +&i2c1 { > > > > > + pinctrl-names = "default"; > > > > > + pinctrl-0 = <&i2c1_pins_a>; > > > > > + status = "okay"; > > > > > + > > > > > + camera

Re: [PATCH 5/5] DO NOT MERGE: ARM: dts: bananapi: Add Camera support

2018-11-27 Thread Maxime Ripard
On Tue, Nov 27, 2018 at 04:30:55PM +0530, Jagan Teki wrote: > > > > +&i2c1 { > > > > + pinctrl-names = "default"; > > > > + pinctrl-0 = <&i2c1_pins_a>; > > > > + status = "okay"; > > > > + > > > > + camera: camera@21 { > > > > + compatible = "ovti,ov5640"; > >

Re: [PATCH 1/5] dt-bindings: media: Add Allwinner A10 CSI binding

2018-11-27 Thread Maxime Ripard
Hi, On Wed, Nov 21, 2018 at 11:56:50PM +0200, Sakari Ailus wrote: > On Thu, Nov 15, 2018 at 08:04:24PM +0100, Maxime Ripard wrote: > > On Tue, Nov 13, 2018 at 10:38:55AM +0200, Sakari Ailus wrote: > > > > + - allwinner,has-isp: Whether the CSI controller has an ISP > > > > +

Re: [PATCH v3 5/6] dt-bindings: media: mt9m111: add pclk-sample property

2018-11-27 Thread Marco Felsch
Hi Sakari, On 18-11-27 15:13, Sakari Ailus wrote: > Hi Marco, > > On Tue, Nov 27, 2018 at 11:02:52AM +0100, Marco Felsch wrote: > > Add the pclk-sample property to the list of optional properties > > for the mt9m111 camera sensor. > > > > Signed-off-by: Marco Felsch > > Reviewed-by: Rob Herring

Re: [PATCH v3 6/6] media: mt9m111: allow to setup pixclk polarity

2018-11-27 Thread Philipp Zabel
Hi Sakari, On Tue, 2018-11-27 at 15:50 +0200, Sakari Ailus wrote: > Hi Philipp, > > On Tue, Nov 27, 2018 at 02:39:27PM +0100, Philipp Zabel wrote: > > Hi Sakari, > > > > On Tue, 2018-11-27 at 15:19 +0200, Sakari Ailus wrote: > > > Hi Marco, > > > > > > On Tue, Nov 27, 2018 at 11:02:53AM +0100,

Re: [PATCH V2] mm: Replace all open encodings for NUMA_NO_NODE

2018-11-27 Thread Vinod Koul
On 26-11-18, 17:56, Anshuman Khandual wrote: > At present there are multiple places where invalid node number is encoded > as -1. Even though implicitly understood it is always better to have macros > in there. Replace these open encodings for an invalid node number with the > global macro NUMA_NO_

Re: [PATCH v3 6/6] media: mt9m111: allow to setup pixclk polarity

2018-11-27 Thread Sakari Ailus
Hi Philipp, On Tue, Nov 27, 2018 at 02:39:27PM +0100, Philipp Zabel wrote: > Hi Sakari, > > On Tue, 2018-11-27 at 15:19 +0200, Sakari Ailus wrote: > > Hi Marco, > > > > On Tue, Nov 27, 2018 at 11:02:53AM +0100, Marco Felsch wrote: > > > From: Enrico Scholz > > > > > > The chip can be configure

Re: [PATCH v3 6/6] media: mt9m111: allow to setup pixclk polarity

2018-11-27 Thread Marco Felsch
Hi Sakari, On 18-11-27 15:19, Sakari Ailus wrote: > Hi Marco, > > On Tue, Nov 27, 2018 at 11:02:53AM +0100, Marco Felsch wrote: > > From: Enrico Scholz > > > > The chip can be configured to output data transitions on the > > rising or falling edge of PIXCLK (Datasheet R58:1[9]), default is on t

Re: [PATCH v4 2/2] dt-bindings: Document the Rockchip RK1608 bindings

2018-11-27 Thread Sakari Ailus
Hi Leo, I found this, and thought of replying. It's an old patch. Feel free to ping if you don't get replies. On Thu, Mar 08, 2018 at 02:38:42PM +0800, Wen Nuan wrote: > From: Leo Wen > > Add DT bindings documentation for Rockchip RK1608. > > Changes V4: > - Revise the comment of node. > - Rev

Re: [PATCH v3 6/6] media: mt9m111: allow to setup pixclk polarity

2018-11-27 Thread Philipp Zabel
Hi Sakari, On Tue, 2018-11-27 at 15:19 +0200, Sakari Ailus wrote: > Hi Marco, > > On Tue, Nov 27, 2018 at 11:02:53AM +0100, Marco Felsch wrote: > > From: Enrico Scholz > > > > The chip can be configured to output data transitions on the > > rising or falling edge of PIXCLK (Datasheet R58:1[9]),

Re: [PATCH] v4l2-ioctl: Zero v4l2_pix_format_mplane reserved fields

2018-11-27 Thread Ezequiel Garcia
On Tue, 2018-11-27 at 16:59 +0900, Tomasz Figa wrote: > On Tue, Nov 27, 2018 at 8:29 AM Ezequiel Garcia > wrote: > > On Mon, 2018-11-26 at 13:14 +0900, Tomasz Figa wrote: > > > Hi Ezequiel, > > > > > > On Sat, Nov 24, 2018 at 2:20 AM Ezequiel Garcia > > > wrote: > > > > Make the core set the r

Re: [PATCH v3 6/6] media: mt9m111: allow to setup pixclk polarity

2018-11-27 Thread Sakari Ailus
Hi Marco, On Tue, Nov 27, 2018 at 11:02:53AM +0100, Marco Felsch wrote: > From: Enrico Scholz > > The chip can be configured to output data transitions on the > rising or falling edge of PIXCLK (Datasheet R58:1[9]), default is on the > falling edge. > > Parsing the fw-node is made in a subfunct

[PATCH] dvb-sat: rename Astra 1E to Astra 19.2 E and move it to beginning

2018-11-27 Thread Mauro Carvalho Chehab
The "European Universal" LNBf was now replaced by the model with also supports the Astra satellites in almost all EU. We're keeping seeing people reporting problems on Kaffeine and other digital TV software due to that. So, in order to make easier for new people that just want to make their Satell

Re: [PATCH v3 5/6] dt-bindings: media: mt9m111: add pclk-sample property

2018-11-27 Thread Sakari Ailus
Hi Marco, On Tue, Nov 27, 2018 at 11:02:52AM +0100, Marco Felsch wrote: > Add the pclk-sample property to the list of optional properties > for the mt9m111 camera sensor. > > Signed-off-by: Marco Felsch > Reviewed-by: Rob Herring > --- > Documentation/devicetree/bindings/media/i2c/mt9m111.txt

Re: [RESEND PATCH 1/1] media: Use common test pattern menu entries

2018-11-27 Thread Sakari Ailus
On Tue, Nov 27, 2018 at 01:11:42PM +0100, Luca Ceresoli wrote: > Hi Sakari, Bingbu, > > On 27/11/18 10:34, Sakari Ailus wrote: > > While the test pattern menu itself is not standardised, many devices > > support the same test patterns. Aligning the menu entries helps the user > > space to use the

Re: DVB-S PCI card regression on 4.19 / 4.20

2018-11-27 Thread Mauro Carvalho Chehab
Hi Stakanov, Em Tue, 27 Nov 2018 11:02:57 +0100 stakanov escreveu: > In data lunedì 26 novembre 2018 14:31:09 CET, Takashi Iwai ha scritto: > > On Fri, 23 Nov 2018 18:26:25 +0100, > > > > Mauro Carvalho Chehab wrote: > > > Takashi, > > > > > > Could you please produce a Kernel for Stakanov t

Re: [RESEND PATCH 1/1] media: Use common test pattern menu entries

2018-11-27 Thread Luca Ceresoli
Hi Sakari, Bingbu, On 27/11/18 10:34, Sakari Ailus wrote: > While the test pattern menu itself is not standardised, many devices > support the same test patterns. Aligning the menu entries helps the user > space to use the interface, and adding macros for the menu entry strings > helps to keep the

[PATCH for v4.20] vb2: skip request checks for VIDIOC_PREPARE_BUF

2018-11-27 Thread Hans Verkuil
VIDIOC_PREPARE_BUF should ignore V4L2_BUF_FLAG_REQUEST_FD since it isn't doing anything with requests. So inform vb2_queue_or_prepare_buf whether it is called from vb2_prepare_buf or vb2_qbuf and just return 0 in the first case. This was found when adding new v4l2-compliance checks. Signed-off-by

Re: [PATCH 1/1] media: Use common test pattern menu entries

2018-11-27 Thread Bingbu Cao
On 11/27/2018 05:33 PM, Sakari Ailus wrote: While the test pattern menu itself is not standardised, many devices support the same test patterns. Aligning the menu entries helps the user space to use the interface, and adding macros for the menu entry strings helps to keep them aligned. I like

Re: [PATCH v2] media: unify some sony camera sensors pattern naming

2018-11-27 Thread Bingbu Cao
On 11/27/2018 05:33 PM, Sakari Ailus wrote: On Tue, Nov 27, 2018 at 05:03:26PM +0800, bingbu@intel.com wrote: From: Bingbu Cao Some Sony camera sensors have same pattern definitions, this patch unify the pattern naming to make it more clear to the userspace. Suggested-by: Sakari Ailus

Re: [PATCH 5/5] DO NOT MERGE: ARM: dts: bananapi: Add Camera support

2018-11-27 Thread Jagan Teki
On Tue, Nov 27, 2018 at 4:01 PM Maxime Ripard wrote: > > On Tue, Nov 27, 2018 at 12:26:09PM +0530, Jagan Teki wrote: > > On Tue, Nov 13, 2018 at 1:54 PM Maxime Ripard > > wrote: > > > > > > Signed-off-by: Maxime Ripard > > > --- > > > arch/arm/boot/dts/sun7i-a20-bananapi.dts | 98 +

Re: [PATCH] media: dvb: fix a missing-check bug

2018-11-27 Thread Sean Young
Hi Wenwen, On Mon, Oct 29, 2018 at 01:46:04PM -0500, Wenwen Wang wrote: > Hello, > > Can anyone confirm this bug? Thanks! > > Wenwen > > On Fri, Oct 19, 2018 at 9:12 AM Wenwen Wang wrote: > > > > In dvb_audio_write(), the first byte of the user-space buffer 'buf' is > > firstly copied and chec

Re: [PATCH dvb v1 4/4] media: dvb_frontend: remove __func__ from dev_dbg()

2018-11-27 Thread Sean Young
On Tue, Oct 30, 2018 at 05:14:51PM +0100, Victor Toso wrote: > From: Victor Toso > > As dynamic debug can be instructed to add the function name to the > debug output using +f switch, we can remove __func__ from all > dev_dbg() calls. If not, a user that sets +f in dynamic debug would > get dupli

Re: [PATCH dvb v1 3/4] media: dvb-usb-v2: remove __func__ from dev_dbg()

2018-11-27 Thread Sean Young
On Tue, Oct 30, 2018 at 05:14:50PM +0100, Victor Toso wrote: > From: Victor Toso > > As dynamic debug can be instructed to add the function name to the > debug output using +f switch, we can remove __func__ from all > dev_dbg() calls. If not, a user that sets +f in dynamic debug would > get dupli

Re: [PATCH 5/5] DO NOT MERGE: ARM: dts: bananapi: Add Camera support

2018-11-27 Thread Maxime Ripard
On Tue, Nov 27, 2018 at 12:26:09PM +0530, Jagan Teki wrote: > On Tue, Nov 13, 2018 at 1:54 PM Maxime Ripard > wrote: > > > > Signed-off-by: Maxime Ripard > > --- > > arch/arm/boot/dts/sun7i-a20-bananapi.dts | 98 +- > > 1 file changed, 98 insertions(+) > > > > diff --git

Re: [PATCH v10 4/4] media: add Rockchip VPU JPEG encoder driver

2018-11-27 Thread Tomasz Figa
On Fri, Nov 23, 2018 at 5:24 AM Ezequiel Garcia wrote: [snip] > > > +const struct rockchip_vpu_variant rk3288_vpu_variant = { > > > + .enc_offset = 0x0, > > > + .enc_fmts = rk3288_vpu_enc_fmts, > > > + .num_enc_fmts = ARRAY_SIZE(rk3288_vpu_enc_fmts), > > > + .codec_ops = rk

Re: [PATCH v3 05/14] media: dt-bindings: marvell,mmp2-ccic: Add Marvell MMP2 camera

2018-11-27 Thread Sakari Ailus
Hi Lubomir, On Tue, Nov 20, 2018 at 11:03:10AM +0100, Lubomir Rintel wrote: > Add Marvell MMP2 camera host interface. > > Signed-off-by: Lubomir Rintel > > --- > Changes since v2: > - Added #clock-cells, clock-names, port > > .../bindings/media/marvell,mmp2-ccic.txt | 37

[PATCH v3 4/6] dt-bindings: media: mt9m111: adapt documentation to be more clear

2018-11-27 Thread Marco Felsch
Replace the vague binding by a more verbose. Remove the remote property from the example since the driver don't support such a property. Also remove the bus-width property from the endpoint since the driver don't take care of it. Signed-off-by: Marco Felsch Reviewed-by: Rob Herring --- Changelo

[PATCH v3 2/6] media: mt9m111: add streaming check to set_fmt

2018-11-27 Thread Marco Felsch
From: Michael Grzeschik Currently set_fmt don't care about the streaming status, so the format can be changed during streaming. This can lead into wrong behaviours. Check if the device is already streaming and return -EBUSY to avoid wrong behaviours. Signed-off-by: Michael Grzeschik Signed-off

[PATCH v3 6/6] media: mt9m111: allow to setup pixclk polarity

2018-11-27 Thread Marco Felsch
From: Enrico Scholz The chip can be configured to output data transitions on the rising or falling edge of PIXCLK (Datasheet R58:1[9]), default is on the falling edge. Parsing the fw-node is made in a subfunction to bundle all (future) dt-parsing / fw-parsing stuff. Signed-off-by: Enrico Scholz

[PATCH v3 1/6] media: mt9m111: add s_stream callback

2018-11-27 Thread Marco Felsch
Add callback to check if we are already streaming. Now other callbacks can check the state and return -EBUSY if we already streaming. Signed-off-by: Marco Felsch --- drivers/media/i2c/mt9m111.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/media/i2c/mt9m111.c b/drivers/

[PATCH v3 5/6] dt-bindings: media: mt9m111: add pclk-sample property

2018-11-27 Thread Marco Felsch
Add the pclk-sample property to the list of optional properties for the mt9m111 camera sensor. Signed-off-by: Marco Felsch Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/media/i2c/mt9m111.txt | 5 + 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindi

[PATCH v3 3/6] media: mt9m111: add support to select formats and fps for {Q,SXGA}

2018-11-27 Thread Marco Felsch
From: Michael Grzeschik This patch implements the framerate selection using the skipping and readout power-modi features. The power-modi cut the framerate by half and each context has an independent selection bit. The same applies to the 2x skipping feature. Signed-off-by: Michael Grzeschik Sig

[PATCH v3 0/6] media: mt9m111 features

2018-11-27 Thread Marco Felsch
Hi, this v3 integrate the review of my v2 [1]. I reordered the series as mentioned by Sakari. The patches are rebased on top of the actual media-tree/master. [1] https://www.mail-archive.com/linux-media@vger.kernel.org/msg135932.html Regards, Marco Enrico Scholz (1): media: mt9m111: allow

[PATCH v4l-utils] v4l2-compliance needs fork

2018-11-27 Thread Fabrice Fontaine
v4l2-compliance uses fork, since https://git.linuxtv.org/v4l-utils.git/commit/utils/v4l2-compliance/?id=79d98edd1a27233667a6bc38d3d7f8958c2ec02c So don't build it if fork is not available Fixes: - http://autobuild.buildroot.org/results/447d792ce21c0e33a36ca9384fee46e099435ed8 Signed-off-by: Fa

[RESEND PATCH 1/1] media: Use common test pattern menu entries

2018-11-27 Thread Sakari Ailus
While the test pattern menu itself is not standardised, many devices support the same test patterns. Aligning the menu entries helps the user space to use the interface, and adding macros for the menu entry strings helps to keep them aligned. Signed-off-by: Sakari Ailus --- Fixed Andy's email.

Re: [PATCH v2] media: unify some sony camera sensors pattern naming

2018-11-27 Thread Sakari Ailus
On Tue, Nov 27, 2018 at 05:03:26PM +0800, bingbu@intel.com wrote: > From: Bingbu Cao > > Some Sony camera sensors have same pattern > definitions, this patch unify the pattern naming > to make it more clear to the userspace. > > Suggested-by: Sakari Ailus > Signed-off-by: Bingbu Cao > Revi

[PATCH 1/1] media: Use common test pattern menu entries

2018-11-27 Thread Sakari Ailus
While the test pattern menu itself is not standardised, many devices support the same test patterns. Aligning the menu entries helps the user space to use the interface, and adding macros for the menu entry strings helps to keep them aligned. Signed-off-by: Sakari Ailus --- drivers/media/i2c/imx

Re: [PATCH 2/2] media: imx355: fix wrong order in test pattern menus

2018-11-27 Thread Sakari Ailus
On Tue, Nov 27, 2018 at 10:45:02AM +0800, Bingbu Cao wrote: > > > On 11/26/2018 04:57 PM, Sakari Ailus wrote: > > Hi Bing Bu, > > > > On Mon, Nov 26, 2018 at 03:43:34PM +0800, bingbu@intel.com wrote: > > > From: Bingbu Cao > > > > > > current imx355 test pattern order in ctrl menu > > > is

Re: [PATCH] media: unify some sony camera sensors pattern naming

2018-11-27 Thread Luca Ceresoli
Hi Bingbu, On 27/11/18 09:55, Bingbu Cao wrote: > > > On 11/27/2018 04:05 PM, Luca Ceresoli wrote: >> Hi Bingbu, >> >> On 27/11/18 05:01, bingbu@intel.com wrote: >>> From: Bingbu Cao >>> >>> Some Sony camera sensors have same test pattern >>> definitions, this patch unify the pattern naming

Re: [PATCH 1/3] media: imx274: don't declare events, they are not implemented

2018-11-27 Thread Sakari Ailus
On Tue, Nov 27, 2018 at 10:09:08AM +0100, Luca Ceresoli wrote: > Hi Sakari, > > On 27/11/18 09:38, Sakari Ailus wrote: > > Hi Luca, > > > > On Tue, Nov 27, 2018 at 09:34:43AM +0100, Luca Ceresoli wrote: > >> The V4L2_SUBDEV_FL_HAS_EVENTS flag should not be set, event are just > >> not implemented

Re: [PATCH 1/3] media: imx274: don't declare events, they are not implemented

2018-11-27 Thread Luca Ceresoli
Hi Sakari, On 27/11/18 09:38, Sakari Ailus wrote: > Hi Luca, > > On Tue, Nov 27, 2018 at 09:34:43AM +0100, Luca Ceresoli wrote: >> The V4L2_SUBDEV_FL_HAS_EVENTS flag should not be set, event are just >> not implemented. >> >> Signed-off-by: Luca Ceresoli > > The driver supports controls, and so

Re: [PATCH] media: unify some sony camera sensors pattern naming

2018-11-27 Thread Sakari Ailus
Hi Luca, On Tue, Nov 27, 2018 at 09:05:34AM +0100, Luca Ceresoli wrote: > Hi Bingbu, > > On 27/11/18 05:01, bingbu@intel.com wrote: > > From: Bingbu Cao > > > > Some Sony camera sensors have same test pattern > > definitions, this patch unify the pattern naming > > to make it more clear to

Re: [PATCH] media: imx274: fix stack corruption in imx274_read_reg

2018-11-27 Thread Sakari Ailus
On Mon, Nov 26, 2018 at 05:35:07PM +0100, Luca Ceresoli wrote: > imx274_read_reg() takes a u8 pointer ("reg") and casts it to pass it > to regmap_read(), which takes an unsigned int pointer. This results in > a corrupted stack and random crashes. > > Fixes: 0985dd306f72 ("media: imx274: V4l2 drive

[PATCH v2] media: unify some sony camera sensors pattern naming

2018-11-27 Thread bingbu . cao
From: Bingbu Cao Some Sony camera sensors have same pattern definitions, this patch unify the pattern naming to make it more clear to the userspace. Suggested-by: Sakari Ailus Signed-off-by: Bingbu Cao Reviewed-by: l...@lucaceresoli.net --- drivers/media/i2c/imx258.c | 6 +++--- drivers/media

Re: [PATCH] media: unify some sony camera sensors pattern naming

2018-11-27 Thread Bingbu Cao
On 11/27/2018 04:05 PM, Luca Ceresoli wrote: Hi Bingbu, On 27/11/18 05:01, bingbu@intel.com wrote: From: Bingbu Cao Some Sony camera sensors have same test pattern definitions, this patch unify the pattern naming to make it more clear to the userspace. Suggested-by: Sakari Ailus Sign

Re: [PATCH 1/3] media: imx274: don't declare events, they are not implemented

2018-11-27 Thread Sakari Ailus
Hi Luca, On Tue, Nov 27, 2018 at 09:34:43AM +0100, Luca Ceresoli wrote: > The V4L2_SUBDEV_FL_HAS_EVENTS flag should not be set, event are just > not implemented. > > Signed-off-by: Luca Ceresoli The driver supports controls, and so control events can be subscribed and received by the user. Ther

[PATCH 2/3] media: imx274: declare the correct number of controls

2018-11-27 Thread Luca Ceresoli
v4l2_ctrl_handler_init() expects a hint of how many controls this handler is expected to refer to. Since this number here is always 4, let's pass exactly 4. Signed-off-by: Luca Ceresoli --- drivers/media/i2c/imx274.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/med

[PATCH 3/3] media: imx274: select REGMAP_I2C

2018-11-27 Thread Luca Ceresoli
The imx274 driver uses regmap and the build will fail without it. Fixes: drivers/media/i2c/imx274.c:142:21: error: variable ‘imx274_regmap_config’ has initializer but incomplete type static const struct regmap_config imx274_regmap_config = { ^ drivers/me

[PATCH 1/3] media: imx274: don't declare events, they are not implemented

2018-11-27 Thread Luca Ceresoli
The V4L2_SUBDEV_FL_HAS_EVENTS flag should not be set, event are just not implemented. Signed-off-by: Luca Ceresoli --- drivers/media/i2c/imx274.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/i2c/imx274.c b/drivers/media/i2c/imx274.c index 95a0e7d9851a..78746c

Re: [PATCH] arm64: dts: sdm845: add video nodes

2018-11-27 Thread Stanimir Varbanov
Hi Alex, On 11/27/18 9:31 AM, Alexandre Courbot wrote: > On Tue, Nov 20, 2018 at 7:08 PM Malathi Gottam wrote: >> >> This adds video nodes to sdm845 based on the examples >> in the bindings. >> >> Signed-off-by: Malathi Gottam >> --- >> arch/arm64/boot/dts/qcom/sdm845.dtsi | 34

Re: [PATCH v3] media: venus: amend buffer size for bitstream plane

2018-11-27 Thread Tomasz Figa
On Tue, Nov 27, 2018 at 1:41 AM Hans Verkuil wrote: > > On 11/26/2018 05:07 PM, Tomasz Figa wrote: > > On Tue, Nov 27, 2018 at 1:00 AM Hans Verkuil wrote: > >> > >> On 11/26/2018 04:44 PM, Tomasz Figa wrote: > >>> Hi Hans, > >>> > >>> On Tue, Nov 27, 2018 at 12:24 AM Hans Verkuil wrote: > >

Re: [PATCH v2 2/2] media: cedrus: Add HEVC/H.265 decoding support

2018-11-27 Thread Maxime Ripard
Hi! On Fri, Nov 23, 2018 at 02:02:09PM +0100, Paul Kocialkowski wrote: > This introduces support for HEVC/H.265 to the Cedrus VPU driver, with > both uni-directional and bi-directional prediction modes supported. > > Field-coded (interlaced) pictures, custom quantization matrices and > 10-bit out

Re: [PATCH v3] media: venus: amend buffer size for bitstream plane

2018-11-27 Thread Alexandre Courbot
Hi Hans, On Tue, Nov 27, 2018 at 1:41 AM Hans Verkuil wrote: > > On 11/26/2018 05:07 PM, Tomasz Figa wrote: > > On Tue, Nov 27, 2018 at 1:00 AM Hans Verkuil wrote: > >> > >> On 11/26/2018 04:44 PM, Tomasz Figa wrote: > >>> Hi Hans, > >>> > >>> On Tue, Nov 27, 2018 at 12:24 AM Hans Verkuil wrote

Re: [PATCH] media: unify some sony camera sensors pattern naming

2018-11-27 Thread Luca Ceresoli
Hi Bingbu, On 27/11/18 05:01, bingbu@intel.com wrote: > From: Bingbu Cao > > Some Sony camera sensors have same test pattern > definitions, this patch unify the pattern naming > to make it more clear to the userspace. > > Suggested-by: Sakari Ailus > Signed-off-by: Bingbu Cao > --- > dri