Re: [RESEND PATCH v4,1/3] media: dt-bindings: media: add 'assigned-clocks' to vcodec examples

2019-02-13 Thread Hans Verkuil
Hi Yunfei Dong, Why is this series resent? Patches 1 and 3 have been merged in our media master tree already. Regards, Hans On 2/14/19 3:24 AM, Yunfei Dong wrote: > Fix MTK binding document for MT8173 dtsi changed in order > to use standard CCF interface. > MT8173 SoC from Mediatek. >

cron job: media_tree daily build: ERRORS

2019-02-13 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: Thu Feb 14 05:00:09 CET 2019 media-tree git hash:6fd369dd1cb65a032f1ab9227033ecb7b759656d media_build git

Re: [PATCH 10/10] venus: dec: make decoder compliant with stateful codec API

2019-02-13 Thread Tomasz Figa
On Thu, Feb 7, 2019 at 4:33 PM Tomasz Figa wrote: > > On Tue, Feb 5, 2019 at 7:35 PM Hans Verkuil wrote: > > > > On 2/5/19 10:31 AM, Tomasz Figa wrote: > > > On Tue, Feb 5, 2019 at 6:00 PM Hans Verkuil wrote: > > >> > > >> On 2/5/19 7:26 AM, Tomasz Figa wrote: > > >>> On Fri, Feb 1, 2019 at 12:1

Re: [RFC] media: uapi: Add VP8 low-level decoder API compound controls.

2019-02-13 Thread Nicolas Dufresne
Le mer. 13 févr. 2019 à 16:23, Ezequiel Garcia a écrit : > > Hi, > > On Wed, 2019-02-13 at 18:15 -0300, Ezequiel Garcia wrote: > > From: Pawel Osciak > > > > These controls are to be used with the new low-level decoder API for VP8 > > to provide additional parameters for the hardware that cannot

[RESEND PATCH v4,2/3] arm64: dts: Using standard CCF interface to set vcodec clk

2019-02-13 Thread Yunfei Dong
Using standard CCF interface to set vdec/venc parent clk and clk rate. Signed-off-by: Yunfei Dong Signed-off-by: Qianqian Yan --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/

[RESEND PATCH v4,3/3] media: mtk-vcodec: Using common interface to manage vdec/venc clock

2019-02-13 Thread Yunfei Dong
Vdec: Using standard CCF interface to set parent clock and clock rate in dtsi and using common interface to open/close video decoder clock. Venc: Using standard CCF interface to set parent clock in dtsi and using common interface to open/close video encoder clock. Signed-off-by: Yunfei Dong Signe

[RESEND PATCH v4,1/3] media: dt-bindings: media: add 'assigned-clocks' to vcodec examples

2019-02-13 Thread Yunfei Dong
Fix MTK binding document for MT8173 dtsi changed in order to use standard CCF interface. MT8173 SoC from Mediatek. Signed-off-by: Yunfei Dong Signed-off-by: Qianqian Yan Reviewed-by: Rob Herring --- .../devicetree/bindings/media/mediatek-vcodec.txt | 13 + 1 file changed, 13 ins

[PATCH V2 0/7] Add FOLL_LONGTERM to GUP fast and use it

2019-02-13 Thread ira . weiny
From: Ira Weiny NOTE: This series depends on my clean up patch to remove the write parameter from gup_fast_permitted()[1] HFI1, qib, and mthca, use get_user_pages_fast() due to it performance advantages. These pages can be held for a significant time. But get_user_pages_fast() does not protect

[PATCH V2 2/7] mm/gup: Change write parameter to flags in fast walk

2019-02-13 Thread ira . weiny
From: Ira Weiny In order to support more options in the GUP fast walk, change the write parameter to flags throughout the call stack. This patch does not change functionality and passes FOLL_WRITE where write was previously used. Signed-off-by: Ira Weiny --- mm/gup.c | 52

[PATCH V2 3/7] mm/gup: Change GUP fast to use flags rather than a write 'bool'

2019-02-13 Thread ira . weiny
From: Ira Weiny To facilitate additional options to get_user_pages_fast() change the singular write parameter to be gup_flags. This patch does not change any functionality. New functionality will follow in subsequent patches. Some of the get_user_pages_fast() call sites were unchanged because

[PATCH V2 6/7] IB/qib: Use the new FOLL_LONGTERM flag to get_user_pages_fast()

2019-02-13 Thread ira . weiny
From: Ira Weiny Use the new FOLL_LONGTERM to get_user_pages_fast() to protect against FS DAX pages being mapped. Signed-off-by: Ira Weiny --- drivers/infiniband/hw/qib/qib_user_sdma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/infiniband/hw/qib/qib_user_sdma.c

[PATCH V2 7/7] IB/mthca: Use the new FOLL_LONGTERM flag to get_user_pages_fast()

2019-02-13 Thread ira . weiny
From: Ira Weiny Use the new FOLL_LONGTERM to get_user_pages_fast() to protect against FS DAX pages being mapped. Signed-off-by: Ira Weiny --- drivers/infiniband/hw/mthca/mthca_memfree.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/infiniband/hw/mthca/mthca_memf

[PATCH V2 4/7] mm/gup: Add FOLL_LONGTERM capability to GUP fast

2019-02-13 Thread ira . weiny
From: Ira Weiny DAX pages were previously unprotected from longterm pins when users called get_user_pages_fast(). Use the new FOLL_LONGTERM flag to check for DEVMAP pages and fall back to regular GUP processing if a DEVMAP page is encountered. Signed-off-by: Ira Weiny --- mm/gup.c | 24 ++

[PATCH V2 5/7] IB/hfi1: Use the new FOLL_LONGTERM flag to get_user_pages_fast()

2019-02-13 Thread ira . weiny
From: Ira Weiny Use the new FOLL_LONGTERM to get_user_pages_fast() to protect against FS DAX pages being mapped. Signed-off-by: Ira Weiny --- drivers/infiniband/hw/hfi1/user_pages.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/infiniband/hw/hfi1/user_pages.

[PATCH V2 1/7] mm/gup: Replace get_user_pages_longterm() with FOLL_LONGTERM

2019-02-13 Thread ira . weiny
From: Ira Weiny Rather than have a separate get_user_pages_longterm() call, introduce FOLL_LONGTERM and change the longterm callers to use it. This patch does not change any functionality. FOLL_LONGTERM can only be supported with get_user_pages() as it requires vmas to determine if DAX is in us

[PATCH] rcar-vin: Fix lockdep warning at stream on

2019-02-13 Thread Niklas Söderlund
Changes to v4l2-fwnode in commit [1] triggered a lockdep warning in rcar-vin. The first attempt to solve this warning in the rcar-vin driver was incomplete and only pushed the warning to happen at at stream on time instead of at probe time. This change reverts the incomplete fix and properly fix t

Re: [RFC] media: uapi: Add VP8 low-level decoder API compound controls.

2019-02-13 Thread Ezequiel Garcia
Hi, On Wed, 2019-02-13 at 18:15 -0300, Ezequiel Garcia wrote: > From: Pawel Osciak > > These controls are to be used with the new low-level decoder API for VP8 > to provide additional parameters for the hardware that cannot parse the > input stream. > > Signed-off-by: Pawel Osciak > [ezequiel:

[RFC] media: uapi: Add VP8 low-level decoder API compound controls.

2019-02-13 Thread Ezequiel Garcia
From: Pawel Osciak These controls are to be used with the new low-level decoder API for VP8 to provide additional parameters for the hardware that cannot parse the input stream. Signed-off-by: Pawel Osciak [ezequiel: rebased] Signed-off-by: Ezequiel Garcia --- As the H.264 interface is hopeful

Re: [v3,2/2] media: v4l: xilinx: Add Xilinx MIPI CSI-2 Rx Subsystem

2019-02-13 Thread Hyun Kwon
Hi Vishal, Thanks for the patch. Sorry for the delay. On Fri, 2019-02-01 at 18:26:06 +0530, Vishal Sagar wrote: > The Xilinx MIPI CSI-2 Rx Subsystem soft IP is used to capture images > from MIPI CSI-2 camera sensors and output AXI4-Stream video data ready > for image processing. Please refer to P

Re: [PATCH 1/3] media: dt-bindings: add bindings for Toshiba TC358746

2019-02-13 Thread Jacopo Mondi
Hi Marco, thanks for the patch. I have some comments, which I hope might get the ball rolling... On Tue, Dec 18, 2018 at 03:12:38PM +0100, Marco Felsch wrote: > Add corresponding dt-bindings for the Toshiba tc358746 device. > > Signed-off-by: Marco Felsch > --- > .../bindings/media/i2c/tosh

Re: [PATCH v3 0/3] Add ZynqMP VCU/Allegro DVT H.264 encoder driver

2019-02-13 Thread Michael Tretter
On Wed, 13 Feb 2019 18:51:21 +0100, Michael Tretter wrote: > This is v3 of the series to add support for the Allegro DVT H.264 encoder > found in the EV family of the Xilinx ZynqMP platform. > > The devicetree bindings now also include the clocks as documented in PG252 > "H.264/H.265 Video Codec U

[PATCH v3 3/3] [media] allegro: add SPS/PPS nal unit writer

2019-02-13 Thread Michael Tretter
The allegro hardware encoder does not write SPS/PPS nal units into the encoded video stream. Therefore, we need to write the units in software. The implementation follows Rec. ITU-T H.264 (04/2017) to allow to convert between a C struct and the RBSP representation of the SPS and PPS nal units. Th

[PATCH v3 2/3] [media] allegro: add Allegro DVT video IP core driver

2019-02-13 Thread Michael Tretter
Add a V4L2 mem-to-mem driver for Allegro DVT video IP cores as found in the EV family of the Xilinx ZynqMP SoC. The Zynq UltraScale+ Device Technical Reference Manual uses the term VCU (Video Codec Unit) for the encoder, decoder and system integration block. This driver takes care of interacting w

[PATCH v3 1/3] media: dt-bindings: media: document allegro-dvt bindings

2019-02-13 Thread Michael Tretter
Add device-tree bindings for the Allegro DVT video IP core found on the Xilinx ZynqMP EV family. Signed-off-by: Michael Tretter --- v2 -> v3: - rename node to video-codec - drop interrupt-names - fix compatible in example - add clocks to required properties v1 -> v2: none --- .../devicetree/bin

[PATCH v3 0/3] Add ZynqMP VCU/Allegro DVT H.264 encoder driver

2019-02-13 Thread Michael Tretter
This is v3 of the series to add support for the Allegro DVT H.264 encoder found in the EV family of the Xilinx ZynqMP platform. The devicetree bindings now also include the clocks as documented in PG252 "H.264/H.265 Video Codec Unit v1.2" [0]. Most changes involve added or removed v4l2 callbacks

Re: [PATCH v7] media: imx: add mem2mem device

2019-02-13 Thread Nicolas Dufresne
Le mardi 12 février 2019 à 11:01 -0800, Tim Harvey a écrit : > On Thu, Jan 17, 2019 at 7:50 AM Philipp Zabel wrote: > > Add a single imx-media mem2mem video device that uses the IPU IC PP > > (image converter post processing) task for scaling and colorspace > > conversion. > > On i.MX6Q/DL SoCs wi

Re: [PATCH v3 0/2] media: cedrus: Add H264 decoding support

2019-02-13 Thread Ezequiel Garcia
On Wed, 2019-02-13 at 12:02 +0900, Tomasz Figa wrote: > On Wed, Feb 13, 2019 at 6:22 AM Ezequiel Garcia > wrote: > > Hey Tomasz, > > > > On Tue, 2019-02-12 at 21:50 +0900, Tomasz Figa wrote: > > > Hi Maxime, > > > > > > On Mon, Feb 11, 2019 at 11:39 PM Maxime Ripard > > > wrote: > > > > Hi, >

[GIT PULL FOR v5.1] Various fixes and enhancements

2019-02-13 Thread Hans Verkuil
Main addition is adding proper packed 32-bit YUV support and fixing epoll support. This supersedes https://patchwork.linuxtv.org/patch/54450/: The vsp1 patch is dropped (will go through Laurent's repo) and the epoll and vb2 bitfield patches were added. Regards, Hans The following chang

[PATCH v3 7/9] videobuf2/videobuf2-dma-sg.c: Convert to use vm_map_pages()

2019-02-13 Thread Souptick Joarder
Convert to use vm_map_pages() to map range of kernel memory to user vma. vm_pgoff is treated in V4L2 API as a 'cookie' to select a buffer, not as a in-buffer offset by design and it always want to mmap a whole buffer from its beginning. Signed-off-by: Souptick Joarder Suggested-by: Marek Szyprow

[PATCH v3 1/9] mm: Introduce new vm_map_pages() and vm_map_pages_zero() API

2019-02-13 Thread Souptick Joarder
Previouly drivers have their own way of mapping range of kernel pages/memory into user vma and this was done by invoking vm_insert_page() within a loop. As this pattern is common across different drivers, it can be generalized by creating new functions and use it across the drivers. vm_map_pages(

[PATCH v3 0/9] mm: Use vm_map_pages() and vm_map_pages_zero() API

2019-02-13 Thread Souptick Joarder
Previouly drivers have their own way of mapping range of kernel pages/memory into user vma and this was done by invoking vm_insert_page() within a loop. As this pattern is common across different drivers, it can be generalized by creating new functions and use it across the drivers. vm_map_pages(

[PATCH 6/6] drm/i915/icl: Enabling Y2xx and Y4xx (xx:10/12/16) formats for universal planes

2019-02-13 Thread Swati Sharma
Signed-off-by: Swati Sharma Signed-off-by: Vidya Srinivas Reviewed-by: Juha-Pekka Heikkila Reviewed-by: Maarten Lankhorst --- drivers/gpu/drm/i915/intel_display.c | 30 ++ drivers/gpu/drm/i915/intel_sprite.c | 60 +++- 2 files changed, 89 insert

[PATCH 4/6] drm: Add Y2xx and Y4xx (xx:10/12/16) format definitions and fourcc

2019-02-13 Thread Swati Sharma
The following pixel formats are packed format that follows 4:2:2 chroma sampling. For memory represenation each component is allocated 16 bits each. Thus each pixel occupies 32bit. Y210: For each component, valid data occupies MSB 10 bits. LSB 6 bits are filled with zeroes. Y212: For e

[PATCH 0/6] Enable P0xx (planar), Y2xx/Y4xx (packed) pixel formats

2019-02-13 Thread Swati Sharma
This patch series is for enabling P0xx, Y2xx and Y4xx pixel formats for intel's i915 driver. In this patch series, Juha Pekka's patch series Gen10+ P0xx formats https://patchwork.freedesktop.org/series/56053/ is combined with Swati's https://patchwork.freedesktop.org/series/55035/ for Gen11+ pixel

[PATCH 3/6] drm/i915: Enable P010, P012, P016 formats for primary and sprite planes

2019-02-13 Thread Swati Sharma
From: Juha-Pekka Heikkila Enabling of P010, P012 and P016 formats. These formats will extend NV12 for larger bit depths. Signed-off-by: Juha-Pekka Heikkila Signed-off-by: Swati Sharma Reviewed-by: Maarten Lankhorst --- drivers/gpu/drm/i915/intel_sprite.c | 28 ++-- 1

[PATCH 2/6] drm/i915: Preparations for enabling P010, P012, P016 formats

2019-02-13 Thread Swati Sharma
From: Juha-Pekka Heikkila Preparations for enabling P010, P012 and P016 formats. These formats will extend NV12 for larger bit depths. Signed-off-by: Juha-Pekka Heikkila Signed-off-by: Swati Sharma Reviewed-by: Maarten Lankhorst --- drivers/gpu/drm/i915/intel_atomic_plane.c | 2 +- drivers/

[PATCH 1/6] drm/i915: Add P010, P012, P016 plane control definitions

2019-02-13 Thread Swati Sharma
From: Juha-Pekka Heikkila Add needed plane control flag definitions for P010, P012 and P016 formats. Signed-off-by: Juha-Pekka Heikkila Signed-off-by: Swati Sharma Reviewed-by: Maarten Lankhorst --- drivers/gpu/drm/i915/i915_reg.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/driver

[PATCH 5/6] drm/i915/icl: Add Y2xx and Y4xx (xx:10/12/16) plane control definitions

2019-02-13 Thread Swati Sharma
Added needed plane control flag definitions for Y2xx and Y4xx (10, 12 and 16 bits) Signed-off-by: Swati Sharma Signed-off-by: Vidya Srinivas Reviewed-by: Juha-Pekka Heikkila Reviewed-by: Maarten Lankhorst --- drivers/gpu/drm/i915/i915_reg.h | 6 ++ 1 file changed, 6 insertions(+) diff --

[PATCH] media: exynos4-is: remove redundant check on type

2019-02-13 Thread Colin King
From: Colin Ian King The check to see if type is V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE is redundant as this has been already checked at the start of the function and if it's not that value then -ENOSYS is returned. Hence the sprintf can be replaced by a simpler string copy. Detected by CoverityScan

Re: [PATCHv2 3/3] vb2: add 'match' arg to vb2_find_buffer()

2019-02-13 Thread Paul Kocialkowski
On Wed, 2019-02-13 at 10:39 +0100, Hans Verkuil wrote: > On 2/13/19 10:08 AM, Paul Kocialkowski wrote: > > Hi, > > > > On Wed, 2019-02-13 at 09:20 +0100, Hans Verkuil wrote: > > As far as I understand from [0], the capture and output formats can't > > be changed once we have allocated buffers so I

Re: [Xen-devel][PATCH v4 1/1] cameraif: add ABI for para-virtual camera

2019-02-13 Thread Oleksandr Andrushchenko
Konrad, could you please review? So, I can send v5 with Hans' comments addressed Thank you, Oleksandr On 1/23/19 10:14 AM, Oleksandr Andrushchenko wrote: Any comments from Xen community? Konrad? On 1/15/19 4:44 PM, Hans Verkuil wrote: Hi Oleksandr, Just two remaining comments: On 1/15/19 10

Re: [PATCHv2 4/6] videodev2.h: add V4L2_CTRL_FLAG_REQUIRES_REQUESTS

2019-02-13 Thread Hans Verkuil
On 2/13/19 11:38 AM, Paul Kocialkowski wrote: > Hi, > > On Mon, 2019-02-11 at 14:04 +0100, Hans Verkuil wrote: >> On 2/11/19 11:13 AM, Hans Verkuil wrote: >>> Indicate if a control can only be set through a request, as opposed >>> to being set directly. This is necessary for stateless codecs where

Re: [PATCH v3] media: docs-rst: Document m2m stateless video decoder interface

2019-02-13 Thread Paul Kocialkowski
Hi, On Wed, 2019-02-13 at 10:57 +0100, Hans Verkuil wrote: > On 2/13/19 10:20 AM, Paul Kocialkowski wrote: > > Hi, > > > > On Wed, 2019-02-13 at 09:59 +0100, Hans Verkuil wrote: > > > On 2/13/19 6:58 AM, Alexandre Courbot wrote: > > > > On Wed, Feb 13, 2019 at 2:53 PM Alexandre Courbot > > > >

Re: [PATCHv2 4/6] videodev2.h: add V4L2_CTRL_FLAG_REQUIRES_REQUESTS

2019-02-13 Thread Paul Kocialkowski
Hi, On Mon, 2019-02-11 at 14:04 +0100, Hans Verkuil wrote: > On 2/11/19 11:13 AM, Hans Verkuil wrote: > > Indicate if a control can only be set through a request, as opposed > > to being set directly. This is necessary for stateless codecs where > > it makes no sense to set the state controls dire

Re: [PATCH v4 1/4] gpu: ipu-v3: ipu-ic: Rename yuv2rgb encoding matrices

2019-02-13 Thread Philipp Zabel
On Tue, 2019-02-12 at 09:42 -0800, Steve Longerbeam wrote: [...] > > > But what about this "SAT_MODE" field in the IC task parameter memory? > > > > That just controls the saturation. The result after the matrix > > multiplication is either saturated to [0..255] or to [16..235]/[16..240] > > when

Re: [PATCH v3] media: docs-rst: Document m2m stateless video decoder interface

2019-02-13 Thread Hans Verkuil
On 2/13/19 10:20 AM, Paul Kocialkowski wrote: > Hi, > > On Wed, 2019-02-13 at 09:59 +0100, Hans Verkuil wrote: >> On 2/13/19 6:58 AM, Alexandre Courbot wrote: >>> On Wed, Feb 13, 2019 at 2:53 PM Alexandre Courbot >>> wrote: [snip] +Buffers used as reference frames can be queued back to

Re: [RFC PATCH V0 7/7] [media] platform: mtk-isp: Add Mediatek ISP Pass 1 driver

2019-02-13 Thread Tomasz Figa
(() . ( strHi Frederic, Jungo, On Tue, Feb 5, 2019 at 3:43 PM Frederic Chen wrote: > > From: Jungo Lin > > This patch adds the driver for Pass unit in Mediatek's camera > ISP system. Pass 1 unit is embedded in Mediatek SOCs. It > provides RAW processing which includes optical black correction, >

Re: [PATCHv2 3/3] vb2: add 'match' arg to vb2_find_buffer()

2019-02-13 Thread Hans Verkuil
On 2/13/19 10:08 AM, Paul Kocialkowski wrote: > Hi, > > On Wed, 2019-02-13 at 09:20 +0100, Hans Verkuil wrote: >> On 2/13/19 9:01 AM, Alexandre Courbot wrote: >>> On Mon, Feb 4, 2019 at 7:11 PM wrote: properties of the found buffer (i.e. number of planes and plane sizes) match the prope

Re: [PATCHv2 2/3] vb2: keep track of timestamp status

2019-02-13 Thread Paul Kocialkowski
Hi, On Mon, 2019-02-04 at 11:11 +0100, hverkuil-ci...@xs4all.nl wrote: > From: Hans Verkuil > > If a stream is stopped, or if a USERPTR/DMABUF buffer is queued > backed by a different user address or dmabuf fd, then the timestamp > should be skipped by vb2_find_timestamp since the memory it refe

Re: [PATCH v3] media: docs-rst: Document m2m stateless video decoder interface

2019-02-13 Thread Paul Kocialkowski
Hi, On Wed, 2019-02-13 at 09:59 +0100, Hans Verkuil wrote: > On 2/13/19 6:58 AM, Alexandre Courbot wrote: > > On Wed, Feb 13, 2019 at 2:53 PM Alexandre Courbot > > wrote: > > > [snip] > > > +Buffers used as reference frames can be queued back to the ``CAPTURE`` > > > queue as > > > +soon as all

Re: [PATCHv2 1/3] vb2: replace bool by bitfield in vb2_buffer

2019-02-13 Thread Paul Kocialkowski
Hi, On Mon, 2019-02-04 at 11:11 +0100, hverkuil-ci...@xs4all.nl wrote: > From: Hans Verkuil > > The bool type is not recommended for use in structs, so replace these > by bitfields. > > Signed-off-by: Hans Verkuil Reviewed-by: Paul Kocialkowski Cheers, Paul > --- > drivers/media/common/v

Re: [PATCHv2 3/3] vb2: add 'match' arg to vb2_find_buffer()

2019-02-13 Thread Paul Kocialkowski
Hi, On Wed, 2019-02-13 at 09:20 +0100, Hans Verkuil wrote: > On 2/13/19 9:01 AM, Alexandre Courbot wrote: > > On Mon, Feb 4, 2019 at 7:11 PM wrote: > > > properties of the found buffer (i.e. number of planes and plane sizes) > > > match the properties of the 'match' buffer. > > > > What cases do

Re: [PATCH v2 4/4] media: platform: sti: fix possible object reference leak

2019-02-13 Thread Benjamin Gaignard
Le mer. 13 févr. 2019 à 00:49, Wen Yang a écrit : > > The call to of_parse_phandle() returns a node pointer with refcount > incremented thus it must be explicitly decremented here after the last > usage. > The of_find_device_by_node() takes a reference to the underlying device > structure, we also

Re: [PATCH v3] media: docs-rst: Document m2m stateless video decoder interface

2019-02-13 Thread Hans Verkuil
On 2/13/19 6:58 AM, Alexandre Courbot wrote: > On Wed, Feb 13, 2019 at 2:53 PM Alexandre Courbot > wrote: >> [snip] >> +Buffers used as reference frames can be queued back to the ``CAPTURE`` >> queue as >> +soon as all the frames they are affecting have been queued to the ``OUTPUT`` >> +queue. T

Re: Issues with ov5640 sensor

2019-02-13 Thread Loic Poulain
Hi Eugen, On Wed, 13 Feb 2019 at 09:02, wrote: > > Hello Loic, > > I am trying to make sensor Omnivision ov5640 work with our Atmel-isc > controller, I saw you implemented RAW mode for this sensor in the > driver, so I was hoping I can ask you some things: > > I cannot make the RAW bayer format w

Re: [PATCHv2 3/3] vb2: add 'match' arg to vb2_find_buffer()

2019-02-13 Thread Hans Verkuil
On 2/13/19 9:01 AM, Alexandre Courbot wrote: > On Mon, Feb 4, 2019 at 7:11 PM wrote: >> >> From: Hans Verkuil >> >> When finding a buffer vb2_find_buffer() should also check if the > > I think this is about vb2_find_timestamp() rather than > vb2_find_buffer()? (also in the mail title and in patc

Issues with ov5640 sensor

2019-02-13 Thread Eugen.Hristev
Hello Loic, I am trying to make sensor Omnivision ov5640 work with our Atmel-isc controller, I saw you implemented RAW mode for this sensor in the driver, so I was hoping I can ask you some things: I cannot make the RAW bayer format work, BA81 / mbus MEDIA_BUS_FMT_SBGGR8_1X8 makes the photo lo

Re: [PATCHv2 3/3] vb2: add 'match' arg to vb2_find_buffer()

2019-02-13 Thread Alexandre Courbot
On Mon, Feb 4, 2019 at 7:11 PM wrote: > > From: Hans Verkuil > > When finding a buffer vb2_find_buffer() should also check if the I think this is about vb2_find_timestamp() rather than vb2_find_buffer()? (also in the mail title and in patch 0/3). > properties of the found buffer (i.e. number of