Re: [PATCH 4.19 178/273] media: dvb: symbol fixup for dvb_attach()

2023-10-07 Thread Greg Kroah-Hartman
On Thu, Sep 28, 2023 at 01:36:06AM +0200, Ben Hutchings wrote: > On Wed, 2023-09-20 at 13:30 +0200, Greg Kroah-Hartman wrote: > > 4.19-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Greg Kroah-Hartman > > > > commit 86495af1171e1

Re: [PATCH 4.19 178/273] media: dvb: symbol fixup for dvb_attach()

2023-09-27 Thread Ben Hutchings
On Wed, 2023-09-20 at 13:30 +0200, Greg Kroah-Hartman wrote: > 4.19-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Greg Kroah-Hartman > > commit 86495af1171e1feec79faa9b64c05c89f46e41d1 upstream. > > In commit 9011e49d54dc ("modules: on

Re: [PATCH v4 01/11] dt-bindings: video-interfaces: Document 'location' property

2019-10-23 Thread Pavel Machek
Hi! > > I'm skeptical about adding now a property for a device that we don't > > support, because we -now- think it's a good idea. I might be wrong, > > but my assumption is that when someone will want to support an > > 'advanced' device, it's easy to add "movable" or whatever else to the > > list

Re: Logitech C270 webcam floods the log

2019-10-23 Thread Laurent Pinchart
Hi Jean, On Wed, Oct 23, 2019 at 03:18:59PM +0200, Jean Delvare wrote: > Hi all, > > When my Logitech C270 webcam is plugged in, my kernel log gets filled > with this message: > > usb 3-4.1: reset high-speed USB device number 4 using xhci_hcd > > every 5 seconds. I have the same problem on 3 di

Re: V4L2 runs out of memory when OMAP3 ISP parallel pixel clock is high

2019-10-23 Thread Adam Ford
On Sun, Oct 20, 2019 at 2:16 PM Adam Ford wrote: > > On Sun, Oct 20, 2019 at 1:02 PM Laurent Pinchart > wrote: > > > > Hi Adam, > > > > On Sun, Oct 20, 2019 at 09:45:25AM -0500, Adam Ford wrote: > > > I am running a DM3730 connected to an mt9p031 sensor, and the ISP is > > > running in 8-bit para

Re: [PATCH v10 03/14] media: v4l2-fwnode: add initial connector parsing support

2019-10-23 Thread Marco Felsch
Hi Sakari, On 19-10-23 13:57, Sakari Ailus wrote: > Hi Marco, > > Apologies for the delay. No problem. > On Wed, Oct 02, 2019 at 10:07:35AM +0200, Marco Felsch wrote: > > Hi Sakari, > > > > On 19-10-02 10:03, Sakari Ailus wrote: > > > Hi Marco, > > > > > > On Fri, Aug 30, 2019 at 12:16:35PM +

Re: [PATCH v10 03/14] media: v4l2-fwnode: add initial connector parsing support

2019-10-23 Thread Sakari Ailus
Hi Marco, Apologies for the delay. On Wed, Oct 02, 2019 at 10:07:35AM +0200, Marco Felsch wrote: > Hi Sakari, > > On 19-10-02 10:03, Sakari Ailus wrote: > > Hi Marco, > > > > On Fri, Aug 30, 2019 at 12:16:35PM +0200, Marco Felsch wrote: > > > The patch adds the initial connector parsing code, s

Re: [PATCH 0/3] vimc: Allow multiple capture devices to use the same sensor

2019-10-23 Thread Niklas Söderlund
Hi Hans, On 2019-10-23 09:01:40 +0200, Hans Verkuil wrote: > Hi Niklas, > > For one reason or another this series was never reviewed/picked up and > it now no longer applies. > > Combined with the big switch to a monolithic driver I am sure that this > series needs to be redone. So I am marking

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

2019-10-23 Thread Sakari Ailus
Hi Bingbu, On Tue, Oct 08, 2019 at 12:21:27PM +0800, bingbu@intel.com wrote: > 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 Applied wit

Re: [GIT PULL FOR v5.5] vimc fixes and enhancements

2019-10-23 Thread Jenkins
From: buil...@linuxtv.org Pull request: https://patchwork.linuxtv.org/patch/59601/ Build log: https://builder.linuxtv.org/job/patchwork/21656/ Build time: 00:11:57 Link: https://lore.kernel.org/linux-media/a4f86608-3ad9-a57b-e399-ed3f1078a...@xs4all.nl gpg: Signature made Wed 23 Oct 2019 07:37:5

Re: [PATCH v3 2/2] media: vimc: upon streaming, check that the pipeline starts with a source entity

2019-10-23 Thread Hans Verkuil
On 10/9/19 5:53 PM, Dafna Hirschfeld wrote: > Userspace can disable links and create pipelines that > do not start with a source entity. Trying to stream > from such a pipeline should fail with -EPIPE > currently this is not handled and cause kernel crash. > > Reproducing the crash: > media-ctl -d

Re: [GIT PULL v2 FOR v5.5] Add HEVC stateless decoder support

2019-10-23 Thread Jenkins
From: buil...@linuxtv.org Pull request: https://patchwork.linuxtv.org/patch/59600/ Build log: https://builder.linuxtv.org/job/patchwork/21648/ Build time: 00:15:41 Link: https://lore.kernel.org/linux-media/860a9d97-7b8c-abc1-670d-57ea24312...@xs4all.nl gpg: Signature made Wed 23 Oct 2019 06:51:2

Re: [PATCH 0/3] vimc: Allow multiple capture devices to use the same sensor

2019-10-23 Thread Hans Verkuil
Hi Niklas, For one reason or another this series was never reviewed/picked up and it now no longer applies. Combined with the big switch to a monolithic driver I am sure that this series needs to be redone. So I am marking it as "Changes Requested" and it is up to you to decide whether to rebase/

Re: i.MX6Q + ov5640 CSI-2 Framerate (on 5.4-rc3)

2019-10-22 Thread Adam Ford
On Mon, Oct 21, 2019 at 3:48 AM Philipp Zabel wrote: > > Hi Adam, Fabio, > > On Fri, 2019-10-18 at 16:00 -0300, Fabio Estevam wrote: > > Hi Adam, > > > > Adding Steve and Philipp in case they can help. > > > > On Tue, Oct 15, 2019 at 1:52 AM Adam Ford wrote: > > > I have an i.MX6Q with an ov5640

Re: [PATCH v4 01/11] dt-bindings: video-interfaces: Document 'location' property

2019-10-22 Thread Hans Verkuil
On 10/8/19 10:20 AM, Jacopo Mondi wrote: > On Tue, Oct 08, 2019 at 10:06:34AM +0200, Pavel Machek wrote: >> On Tue 2019-10-08 09:58:28, Jacopo Mondi wrote: >>> Pavel, >>> >>> On Tue, Oct 08, 2019 at 09:40:52AM +0200, Pavel Machek wrote: On Mon 2019-10-07 18:29:03, Jacopo Mondi wrote: > Add

Re: [PATCH v4 04/11] media: v4l2-ctrl: Document V4L2_CID_CAMERA_SENSOR_ROTATION

2019-10-22 Thread Hans Verkuil
On 10/7/19 6:29 PM, Jacopo Mondi wrote: > Add documentation for the V4L2_CID_CAMERA_SENSOR_ROTATION camera > control. The newly added read-only control reports the camera device > mounting rotation. > > Signed-off-by: Jacopo Mondi > --- > .../media/uapi/v4l/ext-ctrls-camera.rst | 116 +

Re: [PATCH v10 03/14] media: v4l2-fwnode: add initial connector parsing support

2019-10-22 Thread Marco Felsch
Hi Sakari, gentle ping. On 19-10-02 10:07, Marco Felsch wrote: > Hi Sakari, > > On 19-10-02 10:03, Sakari Ailus wrote: > > Hi Marco, > > > > On Fri, Aug 30, 2019 at 12:16:35PM +0200, Marco Felsch wrote: > > > The patch adds the initial connector parsing code, so we can move from a > > > driver

Re: Userspace support libraries for touch pad devices?

2019-10-21 Thread Hans Verkuil
Ping! Regards, Hans On 10/14/19 11:05 AM, Hans Verkuil wrote: > Hi Florian, Nick, > > You both added V4L2 touch pad drivers to the kernel, but I was wondering > about userspace support for such devices. Is there a library somewhere that > can interpret the data? > > The only link I fou

Re: [GIT PULL FOR v5.5] imon & SPDX patches

2019-10-21 Thread Jenkins
From: buil...@linuxtv.org Pull request: https://patchwork.linuxtv.org/patch/59583/ Build log: https://builder.linuxtv.org/job/patchwork/21404/ Build time: 00:10:03 Link: https://lore.kernel.org/linux-media/20191021141829.ga28...@gofer.mess.org gpg: Signature made Mon 21 Oct 2019 02:13:15 PM UTC g

Re: [RFC PATCH v3 1/6] media: v4l2: Extend pixel formats to unify single/multi-planar handling (and more)

2019-10-21 Thread Hans Verkuil
On 10/21/19 11:48 AM, Tomasz Figa wrote: > On Mon, Oct 21, 2019 at 6:38 PM Hans Verkuil wrote: >> >> On 10/21/19 11:26 AM, Tomasz Figa wrote: >>> On Mon, Oct 21, 2019 at 5:41 PM Hans Verkuil wrote: On 10/8/19 11:11 AM, Boris Brezillon wrote: > This is part of the multiplanar and sin

Re: [RFC PATCH v3 1/6] media: v4l2: Extend pixel formats to unify single/multi-planar handling (and more)

2019-10-21 Thread Tomasz Figa
On Mon, Oct 21, 2019 at 6:38 PM Hans Verkuil wrote: > > On 10/21/19 11:26 AM, Tomasz Figa wrote: > > On Mon, Oct 21, 2019 at 5:41 PM Hans Verkuil wrote: > >> > >> On 10/8/19 11:11 AM, Boris Brezillon wrote: > >>> This is part of the multiplanar and singleplanar unification process. > >>> v4l2_ext

Re: [ANN v2] Media sessions in Lyon in October: future V4L2 work

2019-10-21 Thread Hans Verkuil
On 10/17/19 1:17 PM, Hans Verkuil wrote: > Hi all, > > Since we have three separate half-day sessions for different topics I decided > to split the announcement for this in three emails as well, so these things > can be discussed in separate threads. > > All sessions are in room Terreaux VIP Loun

Re: [RFC PATCH v3 1/6] media: v4l2: Extend pixel formats to unify single/multi-planar handling (and more)

2019-10-21 Thread Hans Verkuil
On 10/21/19 11:26 AM, Tomasz Figa wrote: > On Mon, Oct 21, 2019 at 5:41 PM Hans Verkuil wrote: >> >> On 10/8/19 11:11 AM, Boris Brezillon wrote: >>> This is part of the multiplanar and singleplanar unification process. >>> v4l2_ext_pix_format is supposed to work for both cases. >>> >>> We also add

Re: [RFC PATCH v3 1/6] media: v4l2: Extend pixel formats to unify single/multi-planar handling (and more)

2019-10-21 Thread Tomasz Figa
On Mon, Oct 21, 2019 at 5:41 PM Hans Verkuil wrote: > > On 10/8/19 11:11 AM, Boris Brezillon wrote: > > This is part of the multiplanar and singleplanar unification process. > > v4l2_ext_pix_format is supposed to work for both cases. > > > > We also add the concept of modifiers already employed in

Re: i.MX6Q + ov5640 CSI-2 Framerate (on 5.4-rc3)

2019-10-21 Thread Philipp Zabel
Hi Adam, Fabio, On Fri, 2019-10-18 at 16:00 -0300, Fabio Estevam wrote: > Hi Adam, > > Adding Steve and Philipp in case they can help. > > On Tue, Oct 15, 2019 at 1:52 AM Adam Ford wrote: > > I have an i.MX6Q with an ov5640 connected to the mipi-csi2 interface. > > > > I am routing ov5640 -> i

Re: OMAP3 ISP v4l2 inconsistency on DM3730

2019-10-21 Thread Hans Verkuil
On 10/21/19 10:21 AM, Hans Verkuil wrote: > On 10/20/19 7:39 PM, Laurent Pinchart wrote: >> Hi Hans, >> >> On Sun, Oct 20, 2019 at 07:26:20PM +0200, Hans Verkuil wrote: >>> On 10/20/19 7:35 AM, Laurent Pinchart wrote: On Sat, Oct 19, 2019 at 11:14:03AM -0500, Adam Ford wrote: > On Fri, Oct

Re: [RFC PATCH v3 1/6] media: v4l2: Extend pixel formats to unify single/multi-planar handling (and more)

2019-10-21 Thread Hans Verkuil
On 10/8/19 11:11 AM, Boris Brezillon wrote: > This is part of the multiplanar and singleplanar unification process. > v4l2_ext_pix_format is supposed to work for both cases. > > We also add the concept of modifiers already employed in DRM to expose > HW-specific formats (like tiled or compressed f

Re: OMAP3 ISP v4l2 inconsistency on DM3730

2019-10-21 Thread Hans Verkuil
ed a better solution than this in >>> any case. Compared to the last time I made this statement, we now have >>> one possible solution in view in the form of libcamera ([1]). The >>> project is still young, doesn't support the OMAP3 ISP, and isn't >>> in

Re: [GIT PULL for 5.5] SMIA patches for 5.5

2019-10-21 Thread Jenkins
From: buil...@linuxtv.org Pull request: https://patchwork.linuxtv.org/patch/59575/ Build log: https://builder.linuxtv.org/job/patchwork/21363/ Build time: 00:05:26 Link: https://lore.kernel.org/linux-media/20191021072359.gc...@valkosipuli.retiisi.org.uk gpg: Signature made Mon 21 Oct 2019 07:18:

Re: [GIT PULL for 5.5] Sensor and lens driver patches

2019-10-21 Thread Jenkins
From: buil...@linuxtv.org Pull request: https://patchwork.linuxtv.org/patch/59574/ Build log: https://builder.linuxtv.org/job/patchwork/21362/ Build time: 00:15:34 Link: https://lore.kernel.org/linux-media/20191021071539.gb...@valkosipuli.retiisi.org.uk gpg: Signature made Mon 21 Oct 2019 07:04:

Re: [ANN v2] Media sessions in Lyon in October: libcamera

2019-10-20 Thread Helen Koike
Hello, On 10/20/19 5:13 PM, Ezequiel Garcia wrote: > Hello Hans, > > On Thu, 17 Oct 2019 at 13:16, Hans Verkuil wrote: >> >> (Just updated the attendee list for this meeting, no other changes) >> >> Hi all, >> >> Since we have three separate half-day sessions for different topics I decided >> to

Re: [PATCH 0/4] Add VIN/CSI-2 support

2019-10-20 Thread Niklas Söderlund
Hi Biju, Thanks for your work. On 2019-10-15 11:57:54 +0100, Biju Das wrote: > This patch series add VIN/CSI-2 driver support for RZ/G2N SoC. For the whole series, Reviewed-by: Niklas Söderlund > > Biju Das (4): > media: dt-bindings: rcar-vin: Add R8A774B1 support > media: dt-bindings: r

Re: OMAP3 ISP v4l2 inconsistency on DM3730

2019-10-20 Thread Sakari Ailus
Hi Hans, On Sun, Oct 20, 2019 at 07:26:20PM +0200, Hans Verkuil wrote: > On 10/20/19 7:35 AM, Laurent Pinchart wrote: > > Hi Adam, > > > > On Sat, Oct 19, 2019 at 11:14:03AM -0500, Adam Ford wrote: > >> On Fri, Oct 18, 2019 at 4:17 PM Sakari Ailus wrote: > >>> On Fri, Oct 18, 2019 at 04:10:23PM

Re: [ANN v2] Media sessions in Lyon in October: libcamera

2019-10-20 Thread Ezequiel Garcia
Hello Hans, On Thu, 17 Oct 2019 at 13:16, Hans Verkuil wrote: > > (Just updated the attendee list for this meeting, no other changes) > > Hi all, > > Since we have three separate half-day sessions for different topics I decided > to split the announcement for this in three emails as well, so thes

Re: V4L2 runs out of memory when OMAP3 ISP parallel pixel clock is high

2019-10-20 Thread Adam Ford
On Sun, Oct 20, 2019 at 1:02 PM Laurent Pinchart wrote: > > Hi Adam, > > On Sun, Oct 20, 2019 at 09:45:25AM -0500, Adam Ford wrote: > > I am running a DM3730 connected to an mt9p031 sensor, and the ISP is > > running in 8-bit parallel mode. > > > > I have the sensor endpoint configured as: > > > >

Re: OMAP3 ISP v4l2 inconsistency on DM3730

2019-10-20 Thread Adam Ford
ISP, and isn't > > > integrated with GStreamer, but fixing all that is on our roadmap. > > > > > > What I would like to know is whether libcamera would fit your use cases, > > > or if you have needs that would require a different solution. > > > > > > [1]

Re: V4L2 runs out of memory when OMAP3 ISP parallel pixel clock is high

2019-10-20 Thread Laurent Pinchart
Hi Adam, On Sun, Oct 20, 2019 at 09:45:25AM -0500, Adam Ford wrote: > I am running a DM3730 connected to an mt9p031 sensor, and the ISP is > running in 8-bit parallel mode. > > I have the sensor endpoint configured as: > > mt9p031_out: endpoint { > input-clock-frequency = <2400>; >

Re: OMAP3 ISP v4l2 inconsistency on DM3730

2019-10-20 Thread Laurent Pinchart
g/ > > > >>>>> This also means that there is no way to provide an enumeration of > >>>>> supported > >>>>> formats without knowing the media bus format. There have been proposals > >>>>> to > >>>>

Re: OMAP3 ISP v4l2 inconsistency on DM3730

2019-10-20 Thread Hans Verkuil
ow, the format needs to be simply set using S_FMT. >>>>> >>>>>> >>>>>> Setting pipeline to PAUSED ... >>>>>> Pipeline is live and does not need PREROLL ... >>>>>> Setting pipeline to PLAYING ... >>>>

Re: OMAP3 ISP v4l2 inconsistency on DM3730

2019-10-20 Thread Adam Ford
peline is live and does not need PREROLL ... > > >>>> Setting pipeline to PLAYING ... > > >>>> New clock: GstSystemClock > > >>>> ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: > > >>>> Internal data stream error. >

Re: [ANN v2] Media sessions in Lyon in October: libcamera

2019-10-20 Thread Laurent Pinchart
Hi Hans, Thank you for handling the announcement. On Thu, Oct 17, 2019 at 01:16:20PM +0200, Hans Verkuil wrote: > (Just updated the attendee list for this meeting, no other changes) > > Hi all, > > Since we have three separate half-day sessions for different topics I decided > to split the anno

Re: OMAP3 ISP v4l2 inconsistency on DM3730

2019-10-19 Thread Laurent Pinchart
: > >>>> streaming stopped, reason not-negotiated (-4) > >>>> > >>>> This leads me to believe that v4l2 is trying to set the format to > >>>> something it does not think it is able to negotiate, and it's being > >>>> re

Re: OMAP3 ISP v4l2 inconsistency on DM3730

2019-10-19 Thread Adam Ford
> > > > > > I can even explicitly set the output video format to UYVY with: > > > > > > > > v4l2-ctl -d /dev/video6 > > > > --set-fmt-video=width=480,height=272,pixelformat=UYVY --verbose > > > > > > > > VIDIOC_QUERYCAP:

RE: ADV7180 Capture with i.MX53

2019-10-18 Thread Matthew Starr
> -Original Message- > From: Steve Longerbeam > > On 10/9/19 8:40 AM, Tim Harvey wrote: > > On Tue, Oct 8, 2019 at 4:48 PM Fabio Estevam > wrote: > >> Hi Tim, > >> > >> On Tue, Oct 8, 2019 at 6:01 PM Tim Harvey > wrote: > >> > >>> Ok that's strange indeed. I did recently test 5.3 on a G

Re: OMAP3 ISP v4l2 inconsistency on DM3730

2019-10-18 Thread Sakari Ailus
Pixel Format : 'UYVY' > > > Field : None > > > Bytes per Line: 960 > > > Size Image: 261120 > > > Colorspace: JPEG > > > Transfer Function : Default (maps to sRGB) >

Re: OMAP3 ISP v4l2 inconsistency on DM3730

2019-10-18 Thread Adam Ford
YCbCr/HSV Encoding: Default (maps to ITU-R 601) > > Quantization : Default (maps to Full Range) > > Flags : > > # > > > > This shows me the UYVY format, but upon a follow-up query, it does not > > appear to retain the pixel format of

Re: OMAP3 ISP v4l2 inconsistency on DM3730

2019-10-18 Thread Sakari Ailus
upon a follow-up query, it does not > appear to retain the pixel format of UYVY. > > v4l2-ctl -d /dev/video6 --list-formats-ext > ioctl: VIDIOC_ENUM_FMT > Type: Video Capture > > [0]: 'RGB3' (RGB3, emulated) > [1]: 'BGR3' (BGR3, em

Re: [PATCH v4 01/11] dt-bindings: video-interfaces: Document 'location' property

2019-10-18 Thread Sakari Ailus
Hi Jacopo, (Cc'ing the devicetree list.) On Mon, Oct 07, 2019 at 06:29:03PM +0200, Jacopo Mondi wrote: > Add the 'location' device property, used to specify a device mounting > position. The property is particularly meaningful for mobile devices > with a well defined usage orientation. > > Signe

Re: [PATCH v4 06/11] media: v4l2-fwnode: Add helper to parse device properties

2019-10-18 Thread Sakari Ailus
Hi Jacopo, On Mon, Oct 07, 2019 at 06:29:08PM +0200, Jacopo Mondi wrote: > Add an helper function to parse common device properties in the same > way as v4l2_fwnode_endpoint_parse() parses common endpoint properties. > > Parse the 'rotation' and 'location' properties from the firmware > interface

Re: [PATCH v4 00/11] media: Report camera sensor properties

2019-10-18 Thread Sakari Ailus
Hi Jacopo, On Mon, Oct 07, 2019 at 06:29:02PM +0200, Jacopo Mondi wrote: > Hello, fourth iteration following: > > "media: v4l2-ctrls: Add camera sensor location" > https://patchwork.kernel.org/project/linux-media/list/?series=160901 > "[v2,00/10] media: Report camera sensor properties > https://p

Re: i.MX6Q + ov5640 CSI-2 Framerate (on 5.4-rc3)

2019-10-18 Thread Fabio Estevam
Hi Adam, Adding Steve and Philipp in case they can help. On Tue, Oct 15, 2019 at 1:52 AM Adam Ford wrote: > > I have an i.MX6Q with an ov5640 connected to the mipi-csi2 interface. > > I am routing ov5640 -> ipu1_csi0_mux -> ip1_csi0 -> ip1_csi0 capture. > > I am trying to go through the steps to

Re: [PATCH] media: v4l2-subdev: Don't use __u32 internally

2019-10-18 Thread Sakari Ailus
On Fri, Oct 18, 2019 at 05:31:40PM +0200, Janusz Krzysztofik wrote: > Commit a8fa55078a77 ("media: v4l2-subdev: Verify arguments in > v4l2_subdev_call()") and commit 374d62e7aa50 ("media: v4l2-subdev: > Verify v4l2_subdev_call() pad config argument") introduced a few local > functions, unfortunatel

Re: [PATCH] media: exynos4-is: Fix recursive locking in isp_video_release()

2019-10-18 Thread Sylwester Nawrocki
On 10/18/19 12:20, Seung-Woo Kim wrote: >>From isp_video_release(), &isp->video_lock is held and subsequent > vb2_fop_release() tries to lock vdev->lock which is same with the > previous one. Replace vb2_fop_release() with _vb2_fop_release() to > fix the recursive locking. > > Fixes: 1380f5754cb0

Re: [PATCH v4] venus: venc: Fix enum frameintervals

2019-10-17 Thread Loic Poulain
Hi Stanimir, On Thu, 17 Oct 2019 at 17:47, Stanimir Varbanov wrote: > > Hi Loic, > > On 10/17/19 6:08 PM, Loic Poulain wrote: > > Hi Stanimir, > > > > On Thu, 3 Oct 2019 at 12:15, Stanimir Varbanov > > wrote: > >> > >> I have tested this on db410c with following gst pipeline: > >> > >> gst-launc

Re: [PATCH v4] venus: venc: Fix enum frameintervals

2019-10-17 Thread Stanimir Varbanov
Hi Loic, On 10/17/19 6:08 PM, Loic Poulain wrote: > Hi Stanimir, > > On Thu, 3 Oct 2019 at 12:15, Stanimir Varbanov > wrote: >> >> I have tested this on db410c with following gst pipeline: >> >> gst-launch-1.0 -v videotestsrc ! >> video/x-raw,format=NV12,width=1280,height=960,framerate=24/1 ! >>

Re: [PATCH v4] venus: venc: Fix enum frameintervals

2019-10-17 Thread Loic Poulain
Hi Stanimir, On Thu, 3 Oct 2019 at 12:15, Stanimir Varbanov wrote: > > I have tested this on db410c with following gst pipeline: > > gst-launch-1.0 -v videotestsrc ! > video/x-raw,format=NV12,width=1280,height=960,framerate=24/1 ! > v4l2h264enc > extra-controls="controls,h264_profile=4,h264_level

Re: Logilink VG0022A firmware/si2157 probe

2019-10-17 Thread Antti Palosaari
On 10/17/19 4:46 PM, JP wrote: Hi there, On 10/17/19 2:15 PM, Antti Palosaari wrote: Hello, On 10/17/19 12:08 PM, Sean Young wrote: Hi Antti, I have a Logilink VG0022A device which is an af9035.c type device (with ITE 9xxx frontned). The probe of the si2146 tuner fails and returns 0xffs.

Re: Logilink VG0022A firmware/si2157 probe

2019-10-17 Thread JP
Hi there, On 10/17/19 2:15 PM, Antti Palosaari wrote: Hello, On 10/17/19 12:08 PM, Sean Young wrote: Hi Antti, I have a Logilink VG0022A device which is an af9035.c type device (with ITE 9xxx frontned). The probe of the si2146 tuner fails and returns 0xffs. Now I would like to work on fixi

Re: Logilink VG0022A firmware/si2157 probe

2019-10-17 Thread Antti Palosaari
Hello, On 10/17/19 12:08 PM, Sean Young wrote: Hi Antti, I have a Logilink VG0022A device which is an af9035.c type device (with ITE 9xxx frontned). The probe of the si2146 tuner fails and returns 0xffs. Now I would like to work on fixing this. Mauro suggested the firmware might be incorrect.

Re: [virtio-dev] [PATCH] [RFC RESEND] vdec: Add virtio video decode device specification

2019-10-17 Thread Gerd Hoffmann
> > I doubt you can handle pci memory bars like regular ram when it comes to > > dma and iommu support. There is a reason we have p2pdma in the first > > place ... > > The thing is that such bars would be actually backed by regular host > RAM. Do we really need the complexity of real PCI bar hand

Re: [virtio-dev] [PATCH] [RFC RESEND] vdec: Add virtio video decode device specification

2019-10-17 Thread Gerd Hoffmann
Hi, > That could be still a guest physical address. Like on a bare metal > system with TrustZone, there could be physical memory that is not > accessible to the CPU. Hmm. Yes, maybe. We could use the dma address of the (first page of the) guest buffer. In case of a secure buffer the guest ha

Re: [PATCH v2 2/2] rcar-vin: Add support for outputting NV12

2019-10-17 Thread Jacopo Mondi
Hi Niklas, Laurent, On Tue, Oct 15, 2019 at 01:11:07AM +0300, Laurent Pinchart wrote: > Hi Niklas, > > Thank you for the patch. > > On Mon, Oct 14, 2019 at 02:16:15AM +0200, Niklas Söderlund wrote: > > Most Gen3 boards can output frames in NV12 format, add support for this > > with a runtime check

Re: [virtio-dev] [PATCH] [RFC RESEND] vdec: Add virtio video decode device specification

2019-10-17 Thread Tomasz Figa
On Thu, Oct 17, 2019 at 4:44 PM Gerd Hoffmann wrote: > > Hi, > > > > Also note that the guest manages the address space, so the host can't > > > simply allocate guest page addresses. > > > > Is this really true? I'm not an expert in this area, but on a bare > > metal system it's the hardware or

Re: [virtio-dev] [PATCH] [RFC RESEND] vdec: Add virtio video decode device specification

2019-10-17 Thread Tomasz Figa
On Thu, Oct 17, 2019 at 4:19 PM Gerd Hoffmann wrote: > > Hi, > > > That said, Chrome OS would use a similar model, except that we don't > > use ION. We would likely use minigbm backed by virtio-gpu to allocate > > appropriate secure buffers for us and then import them to the V4L2 > > driver. > >

Re: [virtio-dev] [PATCH] [RFC RESEND] vdec: Add virtio video decode device specification

2019-10-17 Thread Tomasz Figa
On Tue, Oct 15, 2019 at 11:06 PM Dmitry Morozov wrote: > > Hello Gerd, > > On Dienstag, 15. Oktober 2019 09:54:22 CEST Gerd Hoffmann wrote: > > On Mon, Oct 14, 2019 at 03:05:03PM +0200, Dmitry Morozov wrote: > > > On Montag, 14. Oktober 2019 14:34:43 CEST Gerd Hoffmann wrote: > > > > Hi, > > > >

Re: [virtio-dev] [PATCH] [RFC RESEND] vdec: Add virtio video decode device specification

2019-10-17 Thread Gerd Hoffmann
Hi, > > Also note that the guest manages the address space, so the host can't > > simply allocate guest page addresses. > > Is this really true? I'm not an expert in this area, but on a bare > metal system it's the hardware or firmware that sets up the various > physical address allocations on

Re: [GIT PULL FOR v5.5 (v2)] vivid: add metadata capture/output support

2019-10-17 Thread Jenkins
From: buil...@linuxtv.org Pull request: https://patchwork.linuxtv.org/patch/59516/ Build log: https://builder.linuxtv.org/job/patchwork/20785/ Build time: 00:21:46 Link: https://lore.kernel.org/linux-media/1074d944-de6e-7483-3337-ca9acd1b1...@xs4all.nl gpg: Signature made Thu 17 Oct 2019 06:51:0

Re: [virtio-dev] [PATCH] [RFC RESEND] vdec: Add virtio video decode device specification

2019-10-17 Thread Gerd Hoffmann
Hi, > That said, Chrome OS would use a similar model, except that we don't > use ION. We would likely use minigbm backed by virtio-gpu to allocate > appropriate secure buffers for us and then import them to the V4L2 > driver. What exactly is a "secure buffer"? I guess a gem object where read a

Re: [virtio-dev] [PATCH] [RFC RESEND] vdec: Add virtio video decode device specification

2019-10-17 Thread David Stevens
> Hmm, the cross-device buffer sharing framework I have in mind would > basically be a buffer registry. virtio-gpu would create buffers as > usual, create a identifier somehow (details to be hashed out), attach > the identifier to the dma-buf so it can be used as outlined above. Using physical ad

Re: [virtio-dev] [PATCH] [RFC RESEND] vdec: Add virtio video decode device specification

2019-10-16 Thread Tomasz Figa
ndle for the (virtio-gpu) > buffer. Ask the host video decoder driver to import the host dma-buf. > If it all worked fine it can ask the host hardware to decode directly to > the host virtio-gpu resource. > Agreed. > > > Referencing virtio-gpu buffers needs a better plan th

Re: [virtio-dev] [PATCH] [RFC RESEND] vdec: Add virtio video decode device specification

2019-10-16 Thread Tomasz Figa
On Fri, Oct 11, 2019 at 5:54 PM Dmitry Morozov wrote: > > Hi Tomasz, > > On Mittwoch, 9. Oktober 2019 05:55:45 CEST Tomasz Figa wrote: > > On Tue, Oct 8, 2019 at 12:09 AM Dmitry Morozov > > > > wrote: > > > Hi Tomasz, > > > > > > On Montag, 7. Oktober 2019 16:14:13 CEST Tomasz Figa wrote: > > > >

Re: [PATCH] Documentation:media:v4l2:Add vivid metadata doc

2019-10-16 Thread Hans Verkuil
e Documentation License, >>> +.. Version 1.1 or any later version published by the Free Software >>> +.. Foundation, with no Invariant Sections, no Front-Cover Texts >>> +.. and no Back-Cover Texts. A copy of the license is included at >>> +.. Documentation/media

Re: [PATCH] media: imx.rst: Update the imx6-sabreauto ADV7180 instructions

2019-10-16 Thread Fabio Estevam
Hi Steve, On Wed, Oct 16, 2019 at 4:11 PM Steve Longerbeam wrote: > FIM is available on the above nodes (/dev/video0 and /dev/video3), after > enabling links to them. So please try: > > # media-ctl -l "'ipu1_csi0':2 -> 'ipu1_csi0 capture':0[1]" > # v4l2-ctl -d0 --list-ctrls > > # media-ctl -l "

Re: [PATCH] Documentation:media:v4l2:Add vivid metadata doc

2019-10-16 Thread Mauro Carvalho Chehab
ify this > > +.. document under the terms of the GNU Free Documentation License, > > +.. Version 1.1 or any later version published by the Free Software > > +.. Foundation, with no Invariant Sections, no Front-Cover Texts > > +.. and no Back-Cover Texts. A copy of the license

Re: [PATCH] media: imx.rst: Update the imx6-sabreauto ADV7180 instructions

2019-10-16 Thread Steve Longerbeam
On 10/16/19 11:54 AM, Fabio Estevam wrote: On Wed, Oct 16, 2019 at 2:31 PM Steve Longerbeam wrote: If /dev/video2 is the "ipu1_ic_prpvf capture" node, it's because FIM is not yet available on those nodes. The FIM is only available on the "ipuX_csiY capture" nodes. It's on my plate to fix th

Re: [PATCH] media: imx.rst: Update the imx6-sabreauto ADV7180 instructions

2019-10-16 Thread Fabio Estevam
On Wed, Oct 16, 2019 at 2:31 PM Steve Longerbeam wrote: > If /dev/video2 is the "ipu1_ic_prpvf capture" node, it's because FIM is > not yet available on those nodes. The FIM is only available on the > "ipuX_csiY capture" nodes. It's on my plate to fix that. On a 5.3.6 kernel on imx6dl-sabreauto:

Re: [PATCH] media: imx.rst: Update the imx6-sabreauto ADV7180 instructions

2019-10-16 Thread Steve Longerbeam
On 10/16/19 6:04 AM, Fabio Estevam wrote: Hi Steve, On Tue, Oct 15, 2019 at 10:18 PM Steve Longerbeam wrote: Here's a quick example that uses the end-of-frame method to measure fi's (all other FIM controls are left at the default values): v4l2-ctl -d0 --set-ctrl=fim_enable=1 # disable inp

Re: [PATCH] media: uapi: h264: clarify num_ref_idx_l[01]_(default_)active fields

2019-10-16 Thread Philipp Zabel
o you mean by mixing together? Hardware parsing the slices > > always uses num_ref_idx_l[01]_default_active_minus1 from the PPS. > > Hardware not parsing the slices always sets override to 1 and uses > > num_ref_idx_l[01]_active_minus1 from the slice header struct. > > To su

Re: [PATCH 1/3] v4l2-dev/ioctl: Add V4L2_CAP_IO_MC

2019-10-16 Thread Hans Verkuil
On 10/15/19 4:35 PM, Niklas Söderlund wrote: > Add a video device capability flag to indicate that its inputs and/or > outputs are controlled by the Media Controller instead of the V4L2 API. > When this flag is set, ioctls for get, set and enum inputs and outputs > are automatically enabled and pro

Re: [PATCH] media: uapi: h264: clarify num_ref_idx_l[01]_(default_)active fields

2019-10-16 Thread Paul Kocialkowski
> > > > IMHO it would only add further logic to the drivers, because they > > > > > would need to have a conditional block that selects default or > > > > > per-slice value based on the flag. The goal was to be able for the > > > > > driver t

Re: [GIT PULL FOR v5.5] Various fixes/improvements

2019-10-16 Thread Jenkins
From: buil...@linuxtv.org Pull request: https://patchwork.linuxtv.org/patch/59501/ Build log: https://builder.linuxtv.org/job/patchwork/20678/ Build time: 00:09:21 Link: https://lore.kernel.org/linux-media/cb6f7dfe-8e7c-5fa9-e287-22daa356b...@xs4all.nl gpg: Signature made Wed 16 Oct 2019 12:57:4

Re: [PATCH] media: imx.rst: Update the imx6-sabreauto ADV7180 instructions

2019-10-16 Thread Fabio Estevam
Hi Steve, On Tue, Oct 15, 2019 at 10:18 PM Steve Longerbeam wrote: > Here's a quick example that uses the end-of-frame method to measure fi's > (all other FIM controls are left at the default values): > > v4l2-ctl -d0 --set-ctrl=fim_enable=1 > # disable input capture method > v4l2-ctl -d0 --set-

Re: [PATCH] staging: meson: add space to fix check warning

2019-10-16 Thread Hans Verkuil
On 10/16/19 12:34 AM, Jules Irenge wrote: > Fix "alignment should mactch open parenthesis" check. > Issue detected by checkpatch tool > > Signed-off-by: Jules Irenge > --- > drivers/staging/media/meson/vdec/codec_mpeg12.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/

Re: [GIT PULL FOR v5.5] Add slicing support + spec for stateless decoders

2019-10-16 Thread Jenkins
From: buil...@linuxtv.org Pull request: https://patchwork.linuxtv.org/patch/59500/ Build log: https://builder.linuxtv.org/job/patchwork/20670/ Build time: 00:14:23 Link: https://lore.kernel.org/linux-media/02bfac01-d6ba-1eca-efc6-1dbfcc712...@xs4all.nl gpg: Signature made Wed 16 Oct 2019 11:31:2

Re: [GIT PULL FOR v5.5] vivid: add metadata capture/output support

2019-10-16 Thread Jenkins
From: buil...@linuxtv.org Pull request: https://patchwork.linuxtv.org/patch/59498/ Build log: https://builder.linuxtv.org/job/patchwork/20663/ Build time: 00:13:22 Link: https://lore.kernel.org/linux-media/5364cdbc-ccea-addd-3849-c4f9e2602...@xs4all.nl gpg: Signature made Wed 16 Oct 2019 10:27:3

Re: [GIT PULL FOR v5.5] uvcvideo and omap4iss fixes

2019-10-16 Thread Jenkins
From: buil...@linuxtv.org Pull request: https://patchwork.linuxtv.org/patch/59497/ Build log: https://builder.linuxtv.org/job/patchwork/20659/ Build time: 00:03:57 Link: https://lore.kernel.org/linux-media/20191016095738.gb5...@pendragon.ideasonboard.com gpg: Signature made Wed 16 Oct 2019 09:56

Re: [PATCH 3/4] media: rcar-vin: Enable support for R8A774B1

2019-10-16 Thread Geert Uytterhoeven
On Tue, Oct 15, 2019 at 12:58 PM Biju Das wrote: > Add the SoC specific information for RZ/G2N(R8A774B1) SoC. > The VIN module of RZ/G2N is similar to R-Car M3-N. > > Signed-off-by: Biju Das Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoev

Re: [PATCH 2/4] media: dt-bindings: rcar-csi2: Add R8A774B1 support

2019-10-16 Thread Geert Uytterhoeven
On Tue, Oct 15, 2019 at 12:58 PM Biju Das wrote: > Add the compatible string for RZ/G2N (R8A774B1) to the list of supported > SoCs. > > Signed-off-by: Biju Das Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux bey

Re: [PATCH 4/4] media: rcar-csi2: Enable support for R8A774B1

2019-10-16 Thread Geert Uytterhoeven
On Tue, Oct 15, 2019 at 12:58 PM Biju Das wrote: > Add the MIPI CSI-2 driver support for RZ/G2N(R8A774B1) SoC. > The CSI-2 module of RZ/G2N is similar to R-Car M3-N. > > Signed-off-by: Biju Das Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterh

Re: [PATCH 1/4] media: dt-bindings: rcar-vin: Add R8A774B1 support

2019-10-16 Thread Geert Uytterhoeven
On Tue, Oct 15, 2019 at 12:58 PM Biju Das wrote: > Document support for the VIN module in the Renesas RZ/G2N (R8A774B1) SoC. > > Signed-off-by: Biju Das Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia3

Re: [PATCH] media: imx.rst: Update the imx6-sabreauto ADV7180 instructions

2019-10-15 Thread Fabio Estevam
-ctl -d0 --wait-for-event=0x0801 > > I plan to post an update to the imx.rst doc with these FIM usage examples. Great, that will be helpful! > I updated the i.MX GPT input capture driver patch and re-tested on my > modified SabreAuto (CSI0_VSYNC signal routed to SD1_DAT0 pad),

Re: [PATCH] media: imx.rst: Update the imx6-sabreauto ADV7180 instructions

2019-10-15 Thread Steve Longerbeam
d frame interval events can be polled with: v4l2-ctl -d0 --wait-for-event=0x0801 I plan to post an update to the imx.rst doc with these FIM usage examples. I updated the i.MX GPT input capture driver patch and re-tested on my modified SabreAuto (CSI0_VSYNC signal routed to SD1_DAT0 pad),

Re: [PATCHv6 0/3] v4l2-core: improve ioctl validation

2019-10-15 Thread Laurent Pinchart
On Mon, Oct 14, 2019 at 10:40:18AM +0200, Hans Verkuil wrote: > This supersedes > https://www.mail-archive.com/linux-media@vger.kernel.org/msg150027.html > based on feedback from Laurent: > > https://www.mail-archive.com/linux-media@vger.kernel.org/msg150117.html > > and Sakari: > > https://www

Re: [PATCH] media: imx.rst: Update the imx6-sabreauto ADV7180 instructions

2019-10-15 Thread Fabio Estevam
Hi Steve, On Tue, Oct 15, 2019 at 3:19 PM Steve Longerbeam wrote: > I submitted the ICAP driver patch quite a while ago, it was ~2 yrs ago I > think. Can't seem to find the link unfortunately. > > I'll work on updating the driver and retesting, and try resubmitting again. > > Most of the hooks a

Re: [PATCH v3 4/4] media: imx.rst: Pass the v4l2-ctl configuration

2019-10-15 Thread Steve Longerbeam
On 10/15/19 9:00 AM, Fabio Estevam wrote: Pass the v4l2-ctl configuration for the imx6q-sabreauto PAL example for completeness and consistency. Suggested-by: Steve Longerbeam Signed-off-by: Fabio Estevam Acked-by: Steve Longerbeam --- Changes since v2: - Newly introduced patch Docume

Re: [PATCH v3 3/4] media: imx.rst: Provide instructions for the i.MX6DL sabreauto

2019-10-15 Thread Steve Longerbeam
On 10/15/19 9:00 AM, Fabio Estevam wrote: The i.MX6DL sabreauto has different numbering on the I2C bus and I2C muxes compared to the i.MX6Q as shown in the kernel log below: [5.159423] imx-media: ipu1_csi0_mux:5 -> ipu1_csi0:0 [5.164618] imx-media: ipu1_csi1_mux:5 -> ipu1_csi1:0 [

Re: [PATCH] media: imx.rst: Update the imx6-sabreauto ADV7180 instructions

2019-10-15 Thread Steve Longerbeam
On 10/15/19 9:42 AM, Fabio Estevam wrote: On Tue, Oct 15, 2019 at 1:33 PM Tim Harvey wrote: Right, because this re-creates the initial issue. Upon any signal lock you would need to throw away the first few frames. I wish I knew the proper way to deal with this. I thought this was handled

Re: [PATCH] media: imx.rst: Update the imx6-sabreauto ADV7180 instructions

2019-10-15 Thread Fabio Estevam
On Tue, Oct 15, 2019 at 1:33 PM Tim Harvey wrote: > Right, because this re-creates the initial issue. Upon any signal lock > you would need to throw away the first few frames. I wish I knew the > proper way to deal with this. I thought this was handled by drivers/staging/media/imx/

Re: [PATCH] media: imx.rst: Update the imx6-sabreauto ADV7180 instructions

2019-10-15 Thread Tim Harvey
> I tested it on a imx6 sabreauto board with 5.3.x kernel plus Steve's > patch that discard the 10 initial corrupted frames and I do not get > rolling video. > > I do get rolling video if I remove/insert the cable though. Right, because this re-creates the initial issue. Upon a

Re: [PATCH] media: imx.rst: Update the imx6-sabreauto ADV7180 instructions

2019-10-15 Thread Fabio Estevam
Hi Tim, On Tue, Oct 15, 2019 at 1:07 PM Tim Harvey wrote: > > Right, I understand there is something else going on with the i.MX53 > but what about the i.MX6 testing related to these patches? I tested it on a imx6 sabreauto board with 5.3.x kernel plus Steve's patch that discard the 10 initial c

  1   2   3   4   5   6   7   8   9   10   >