Re: [RFC,V2,2/2] media: i2c: Add Omnivision OV02A10 camera sensor driver

2019-08-16 Thread Dongchun Zhu
Hi Bingbu, On Tue, 2019-07-08 at 15:52 +0800, Bingbu Cao wrote: > -Original Message- > From: Linux-mediatek [mailto:linux-mediatek-boun...@lists.infradead.org] On > Behalf Of Bingbu Cao > Sent: Monday, July 08, 2019 3:53 PM > To: Dongchun Zhu (朱东春) ; mche...@kernel.org; > robh...@kerne

Re: [RFC,V2,1/2] media: dt-bindings: media: i2c: Add bindings for OV02A10

2019-08-16 Thread Dongchun Zhu
Hi Rob, On Mon, 2019-07-22 at 18:49 -0500, Rob Herring wrote: > > On Thu, Jul 04, 2019 at 04:46:50PM +0800, dongchun@mediatek.com wrote: > > From: Dongchun Zhu > > > > Add device tree binding documentation for the OV02A10 camera sensor. > > > > Signed-off-by: Dongchun Zhu > > --- > > ...

cron job: media_tree daily build: ERRORS

2019-08-16 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: Sat Aug 17 05:00:12 CEST 2019 media-tree git hash:31d5d15dfc3418a57cfab419a353d8dc5f5698b5 media_build gi

Re: [RFC,V2,1/2] media: dt-bindings: media: i2c: Add bindings for OV02A10

2019-08-16 Thread Dongchun Zhu
Hi Sakari, On Tue, 2019-07-23 at 10:41 +0300, Sakari Ailus wrote: > > Hi Dongchun, > > On Thu, Jul 04, 2019 at 04:46:50PM +0800, dongchun@mediatek.com wrote: > > From: Dongchun Zhu > > > > Add device tree binding documentation for the OV02A10 camera sensor. > > > > Signed-off-by: Dongchun

[PATCH] msi2500: assign SPI bus number dynamically

2019-08-16 Thread Antti Palosaari
SPI bus number must be assigned dynamically for each device, otherwise it will crash when multiple devices are plugged to system. Cc: sta...@vger.kernel.org Reported-and-tested-by: syzbot+c60ddb60b685777d9...@syzkaller.appspotmail.com Signed-off-by: Antti Palosaari --- drivers/media/usb/msi2500/

Re: [PATCH v9] media: imx: add csc/scaler mem2mem device

2019-08-16 Thread Steve Longerbeam
Hi Philipp, If you haven't already, can you please test rotation with this version, with both non-tiled and tiled scaling conversions. I found rotation was broken in v8. Steve On 8/14/19 5:24 AM, Philipp Zabel wrote: Add a single imx-media mem2mem video device that uses the IPU IC PP (imag

Re: [PATCH v7 06/13] media: dt-bindings: tvp5150: Add input port connectors DT bindings

2019-08-16 Thread Rob Herring
On Thu, Aug 15, 2019 at 01:57:40PM +0200, Marco Felsch wrote: > The TVP5150/1 decoders support different video input sources to their > AIP1A/B pins. > > Possible configurations are as follows: > - Analog Composite signal connected to AIP1A. > - Analog Composite signal connected to AIP1B. >

Re: [PATCH v2] v4l: rcar-fcp: Read IP version register at probe time

2019-08-16 Thread Laurent Pinchart
Hi Geert, On Fri, Aug 16, 2019 at 10:21:42AM +0200, Geert Uytterhoeven wrote: > On Wed, Aug 14, 2019 at 4:55 PM Laurent Pinchart wrote: > > This helps identifying the IP core version, for debugging purpose only > > for now. > > > > Signed-off-by: Laurent Pinchart > > > --- a/drivers/media/platfo

Re: [PATCH v2] v4l: rcar-fcp: Read IP version register at probe time

2019-08-16 Thread Laurent Pinchart
Hi Kieran, On Fri, Aug 16, 2019 at 09:07:14AM +0100, Kieran Bingham wrote: > On 14/08/2019 15:54, Laurent Pinchart wrote: > > This helps identifying the IP core version, for debugging purpose only > > for now. > > > > Signed-off-by: Laurent Pinchart > > --- > > Changes since v1: > > > > - Use d

Re: [PATCH] media: mc-device.c: fix memleak in media_device_register_entity

2019-08-16 Thread kbuild test robot
/commits/zhengbin/media-mc-device-c-fix-memleak-in-media_device_register_entity/20190816-191628 base: git://linuxtv.org/media_tree.git master config: sparc64-allmodconfig (attached as .config) compiler: sparc64-linux-gcc (GCC) 7.4.0 reproduce: wget https://raw.githubusercontent.com/intel

Re: [PATCHv2 04/12] media: s5p_mfc_dec: set flags for OUTPUT coded formats

2019-08-16 Thread Tomasz Figa
Hi Marek, On Fri, Aug 16, 2019 at 8:37 PM Marek Szyprowski wrote: > > Hi Tomasz, > > On 2019-08-15 12:14, Tomasz Figa wrote: > > Hi Hans, > > > > On Mon, Aug 12, 2019 at 8:05 PM Hans Verkuil > > wrote: > >> From: Maxime Jourdan > >> > >> Tag all the coded formats where the s5p_mfc decoder supp

Re: [PATCHv2 04/12] media: s5p_mfc_dec: set flags for OUTPUT coded formats

2019-08-16 Thread Marek Szyprowski
Hi Tomasz, On 2019-08-15 12:14, Tomasz Figa wrote: > Hi Hans, > > On Mon, Aug 12, 2019 at 8:05 PM Hans Verkuil wrote: >> From: Maxime Jourdan >> >> Tag all the coded formats where the s5p_mfc decoder supports dynamic >> resolution switching or has a bytestream parser. >> > I believe it depends o

Re: [PATCH v7 10/13] media: dt-bindings: tvp5150: cleanup bindings stlye

2019-08-16 Thread Hans Verkuil
Typo in subject: stlye -> style. Regards, Hans On 8/15/19 1:57 PM, Marco Felsch wrote: > Use underlines to highlight optional and required properties. This is > quite common for all bindings. Align descriptions and start sentence > with uppercase letter. Also reword the usage of the requ

Re: [PATCH v7 07/13] media: tvp5150: add FORMAT_TRY support for get/set selection handlers

2019-08-16 Thread Hans Verkuil
On 8/15/19 1:57 PM, Marco Felsch wrote: > Since commit 10d5509c8d50 ("[media] v4l2: remove g/s_crop from video ops") > the 'which' field for set/get_selection must be FORMAT_ACTIVE. There is > no way to try different selections. The patch adds a helper function to > select the correct selection mem

[PATCH] doc-rst: add more info for resolution change blocks in ipu3

2019-08-16 Thread bingbu . cao
From: Bingbu Cao This patch add more details for the resolution change blocks It can help the developer to understand the main resolution change blocks in ImgU. Signed-off-by: Bingbu Cao --- Documentation/media/v4l-drivers/ipu3.rst | 52 - Documentation/media/v4l-drivers/ipu3_rcb.svg

Re: [PATCH v7 01/13] dt-bindings: connector: analog: add tv norms property

2019-08-16 Thread Hans Verkuil
On 8/15/19 1:57 PM, Marco Felsch wrote: > Some connectors no matter if in- or output supports only a limited > range of tv norms. It doesn't matter if the hardware behind that > connector supports more than the listed formats since the users are > restriced by a label e.g. to plug only a camera int

Re: [PATCH v7 02/13] media: v4l2-fwnode: add v4l2_fwnode_connector

2019-08-16 Thread Hans Verkuil
On 8/15/19 1:57 PM, Marco Felsch wrote: > Currently every driver needs to parse the connector endpoints by it self. > This is the initial work to make this generic. A generic connector has > common members and connector specific members. The common members are: > - type > - label (optional) >

Re: [PATCH] media: staging: imgu: make imgu work on low frequency for low input

2019-08-16 Thread Bingbu Cao
On 8/16/19 3:07 PM, Tomasz Figa wrote: > On Fri, Aug 16, 2019 at 3:52 PM Bingbu Cao wrote: >> >> Hi, Tomasz >> >> Thanks for your review. >> >> On 8/16/19 2:10 PM, Tomasz Figa wrote: >>> Hi Bingbu, >>> >>> On Fri, Aug 16, 2019 at 12:25 PM wrote: From: Bingbu Cao Currently,

[PATCH v2] media: staging: imgu: make imgu work on low frequency for low input

2019-08-16 Thread bingbu . cao
From: Bingbu Cao Currently, imgu is working on 450MHz for all cases, however in some cases (input frame less than 2048x1152), the imgu did not need work in high frequency. This patch make imgu work on 200MHz if the imgu input frame is less than 2048x1152 to save power. Signed-off-by: Bingbu Cao

Re: [PATCH] media: mc-device.c: fix memleak in media_device_register_entity

2019-08-16 Thread Sakari Ailus
Hi Zhenbin, On Fri, Aug 16, 2019 at 11:33:02AM +0800, zhengbin wrote: > In media_device_register_entity, if media_graph_walk_init fails, > need to free the previously memory. > > Reported-by: Hulk Robot > Signed-off-by: zhengbin > --- > drivers/media/mc/mc-device.c | 1 + > 1 file changed, 1 i

Re: [ANN] Topics for a media summit in Lyon in October

2019-08-16 Thread Mauro Carvalho Chehab
Em Fri, 16 Aug 2019 10:06:30 +0200 Hans Verkuil escreveu: > Rather then discussing topics for a meeting under the subject 'Lisbon' > let's start a new thread referring to the right place :-) > > I will try to organize a room, either during the ELCE or (if that doesn't > work) perhaps on the Thur

Re: [PATCH] videobuf2-core: avoid buffer operations while in stop_streaming

2019-08-16 Thread Mauro Carvalho Chehab
Em Thu, 15 Aug 2019 14:28:02 +0200 Hans Verkuil escreveu: > The stop_streaming callback is called with the queue lock held. > > But some drivers (vivid being one of them) need to stop a kernel thread > in stop_streaming, and if that kernel thread takes the same queue lock, > then stop_streaming

Re: [ANN] Topics for a media summit in Lyon in October

2019-08-16 Thread Hans Verkuil
On 8/16/19 10:22 AM, Tomasz Figa wrote: > On Fri, Aug 16, 2019 at 5:10 PM Hans Verkuil wrote: >> >> On 8/16/19 10:06 AM, Hans Verkuil wrote: >>> Rather then discussing topics for a meeting under the subject 'Lisbon' >>> let's start a new thread referring to the right place :-) >>> >>> I will try t

Re: [ANN] Topics for a media summit in Lyon in October

2019-08-16 Thread Tomasz Figa
On Fri, Aug 16, 2019 at 5:10 PM Hans Verkuil wrote: > > On 8/16/19 10:06 AM, Hans Verkuil wrote: > > Rather then discussing topics for a meeting under the subject 'Lisbon' > > let's start a new thread referring to the right place :-) > > > > I will try to organize a room, either during the ELCE or

Re: [PATCH v2] v4l: rcar-fcp: Read IP version register at probe time

2019-08-16 Thread Geert Uytterhoeven
Hi Laurent, On Wed, Aug 14, 2019 at 4:55 PM Laurent Pinchart wrote: > This helps identifying the IP core version, for debugging purpose only > for now. > > Signed-off-by: Laurent Pinchart > --- a/drivers/media/platform/rcar-fcp.c > +++ b/drivers/media/platform/rcar-fcp.c > @@ -138,6 +167,18 @@

Re: [ANN] Topics for a media summit in Lyon in October

2019-08-16 Thread Hans Verkuil
On 8/16/19 10:06 AM, Hans Verkuil wrote: > Rather then discussing topics for a meeting under the subject 'Lisbon' > let's start a new thread referring to the right place :-) > > I will try to organize a room, either during the ELCE or (if that doesn't > work) perhaps on the Thursday afterwards. If

Re: [PATCH v2] v4l: rcar-fcp: Read IP version register at probe time

2019-08-16 Thread Kieran Bingham
Hi Laurent, On 14/08/2019 15:54, Laurent Pinchart wrote: > This helps identifying the IP core version, for debugging purpose only > for now. > > Signed-off-by: Laurent Pinchart > --- > Changes since v1: > > - Use devm_platform_ioremap_resource() > --- > drivers/media/platform/rcar-fcp.c | 41 +

[ANN] Topics for a media summit in Lyon in October

2019-08-16 Thread Hans Verkuil
Rather then discussing topics for a meeting under the subject 'Lisbon' let's start a new thread referring to the right place :-) I will try to organize a room, either during the ELCE or (if that doesn't work) perhaps on the Thursday afterwards. If that's going to be a problem for someone, please l

Re: [PATCH] media: video-i2c: add mlx90640 subpage data to output

2019-08-16 Thread Hans Verkuil
On 8/15/19 8:23 AM, Matt Ranostay wrote: > On Mon, Aug 12, 2019 at 6:05 AM Hans Verkuil wrote: >> >> Hi Matt, >> >> On 8/11/19 9:10 AM, Matt Ranostay wrote: >>> Add current subpage data via the status register to the video >>> frame in the last word of data, which seems to be unused >>> undocument

Re: [ANN] Media summit in Lisbon at September

2019-08-16 Thread Tomasz Figa
On Fri, Aug 16, 2019 at 4:29 PM Jacopo Mondi wrote: > > Hi Alexandre, > > On Fri, Aug 16, 2019 at 02:52:13PM +0900, Alexandre Courbot wrote: > > On Wed, Aug 14, 2019 at 6:40 PM Laurent Pinchart > > wrote: > > > > > > On Wed, Aug 14, 2019 at 05:35:48PM +0900, Alexandre Courbot wrote: > > > > That

Re: [ANN] Media summit in Lisbon at September

2019-08-16 Thread Jacopo Mondi
Hi Alexandre, On Fri, Aug 16, 2019 at 02:52:13PM +0900, Alexandre Courbot wrote: > On Wed, Aug 14, 2019 at 6:40 PM Laurent Pinchart > wrote: > > > > On Wed, Aug 14, 2019 at 05:35:48PM +0900, Alexandre Courbot wrote: > > > That could be nice. Of course something more informal is also fine. > > > A

Re: [PATCHv2 11/12] media: docs-rst: Document m2m stateless video decoder interface

2019-08-16 Thread Alexandre Courbot
On Fri, Aug 16, 2019 at 3:59 PM Hans Verkuil wrote: > > On 8/16/19 7:49 AM, Alexandre Courbot wrote: > > On Mon, Aug 12, 2019 at 8:07 PM Hans Verkuil > > wrote: > >> > >> From: Alexandre Courbot > >> > >> Documents the protocol that user-space should follow when > >> communicating with stateles

Re: [PATCH] media: staging: imgu: make imgu work on low frequency for low input

2019-08-16 Thread Tomasz Figa
On Fri, Aug 16, 2019 at 3:52 PM Bingbu Cao wrote: > > Hi, Tomasz > > Thanks for your review. > > On 8/16/19 2:10 PM, Tomasz Figa wrote: > > Hi Bingbu, > > > > On Fri, Aug 16, 2019 at 12:25 PM wrote: > >> > >> From: Bingbu Cao > >> > >> Currently, imgu is working on 450MHz for all cases, however

Re: [PATCH] videobuf2-core: avoid buffer operations while in stop_streaming

2019-08-16 Thread Hans Verkuil
On 8/15/19 2:28 PM, Hans Verkuil wrote: > The stop_streaming callback is called with the queue lock held. > > But some drivers (vivid being one of them) need to stop a kernel thread > in stop_streaming, and if that kernel thread takes the same queue lock, > then stop_streaming may have to unlock t