Re: [PATCH v7 5/6] [media] vb2: add out-fence support to QBUF

2018-01-14 Thread Alexandre Courbot
On Thu, Jan 11, 2018 at 1:07 AM, Gustavo Padovan wrote: > /* > * vb2_start_streaming() - Attempt to start streaming. > * @q: videobuf2 queue > @@ -1489,18 +1562,16 @@ int vb2_core_qbuf(struct vb2_queue *q, unsigned int > index, void *pb, > if (vb->in_fence) { >

Re: [PATCH v7 1/6] [media] vb2: add is_unordered callback for drivers

2018-01-14 Thread Alexandre Courbot
On Thu, Jan 11, 2018 at 1:07 AM, Gustavo Padovan wrote: > From: Gustavo Padovan > > Explicit synchronization benefits a lot from ordered queues, they fit > better in a pipeline with DRM for example so create a opt-in way for > drivers notify videobuf2 that the queue is unordered. > > Drivers don'

Re: [PATCH v5 0/9] Renesas Capture Engine Unit (CEU) V4L2 driver

2018-01-14 Thread jacopo mondi
Hello Hans, On Fri, Jan 12, 2018 at 04:27:50PM +0200, Laurent Pinchart wrote: > Hi Jacopo, > > On Friday, 12 January 2018 16:04:00 EET Jacopo Mondi wrote: > > Hello, > >(hopefully) last round for CEU driver. > > > > Changelog is quite thin, I have updated CEU driver MODULE_LICENSE to match > >

cron job: media_tree daily build: ERRORS

2018-01-14 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: Mon Jan 15 05:00:17 CET 2018 media-tree git hash:e3ee691dbf24096ea51b3200946b11d68ce75361 media_build git

[PATCH] dma-buf/sw_sync: fix document of sw_sync_create_fence_data

2018-01-14 Thread Shawn Guo
The structure should really be sw_sync_create_fence_data rather than sw_sync_ioctl_create_fence which is the function name. Signed-off-by: Shawn Guo --- drivers/dma-buf/sw_sync.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/dma-buf/sw_sync.c b/drivers/dma-buf/s

RE: [PATCH v4 00/12] [dt-bindings] [media] Add document file and driver for Sony CXD2880 DVB-T2/T tuner + demodulator

2018-01-14 Thread Takiguchi, Yasunari
Dear Mauro > > I am creating patch files for version 5 of our driver. > I need to add our driver information into > /drivers/media/dvb-frontends/Kconfig. > This Kconfig has no SPDX license Identifier now. > Is it unnecessary for us to add SPDX into > /drivers/media/dvb-frontends/Kconfig? > (Shoul

RE: [PATCH v4 00/12] [dt-bindings] [media] Add document file and driver for Sony CXD2880 DVB-T2/T tuner + demodulator

2018-01-14 Thread Takiguchi, Yasunari
Dear Mauro I am creating patch files for version 5 of our driver. I need to add our driver information into /drivers/media/dvb-frontends/Kconfig. This Kconfig has no SPDX license Identifier now. Is it unnecessary for us to add SPDX into /drivers/media/dvb-frontends/Kconfig? (Should we add our dri

[PATCH] media: usbtv: Add USB ID 1f71:3306 to the UTV007 driver

2018-01-14 Thread Ian Douglas Scott
Signed-off-by: Ian Douglas Scott --- drivers/media/usb/usbtv/usbtv-core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/usb/usbtv/usbtv-core.c b/drivers/media/usb/usbtv/usbtv-core.c index 127f8a0c098b..fe75a0032945 100644 --- a/drivers/media/usb/usbtv/usbtv-core.c +++ b/drive

Re: [PATCH 2/2] media: intel-ipu3: cio2: fix for wrong vb2buf state warnings

2018-01-14 Thread Sakari Ailus
Hi Tomasz and others, On Fri, Jan 12, 2018 at 05:19:04PM +0900, Tomasz Figa wrote: > On Thu, Jan 4, 2018 at 11:57 AM, Yong Zhi wrote: ... > > @@ -793,7 +794,7 @@ static void cio2_vb2_return_all_buffers(struct > > cio2_queue *q) > > if (q->bufs[i]) { > > at

[PATCH] [v4l-utils] sdlcam: Only build if using libjpeg

2018-01-14 Thread Chris Mayo
Signed-off-by: Chris Mayo --- Otherwise build fails on linking: libtool: link: x86_64-pc-linux-gnu-gcc -march=ivybridge -ftree-vectorize -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o pixfmt-test pixfmt_test-pixfmt-test.o -lX11 /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86

ITE IT9303FN: af9035_ctrl_msg: command=2b failed fw error=21

2018-01-14 Thread Mike Maravillo
Hi guys, I'm not sure if this is the right place to post this. I have this card http://www.gadgetaddict.net/myphone-dtv-dongle/ Is there a chance to get this working on the Raspberry Pi 3 based on below's dmesg output? [ 2412.224084] usb 1-1: new high-speed USB device number 10 using ehci-pci [

Re: [PATCH] media: uvcvideo: Fixed ktime_t to ns conversion

2018-01-14 Thread Arnd Bergmann
On Sun, Jan 14, 2018 at 11:21 AM, Jasmin J. wrote: > From: Jasmin Jessich > > Commit 828ee8c71950 ("media: uvcvideo: Use ktime_t for timestamps") > changed to use ktime_t for timestamps. Older Kernels use a struct for > ktime_t, which requires the conversion function ktime_to_ns to be used on > s

Re: [PATCH] build: Disabled VIDEO_IPU3_CIO2 for Kernels older than 3.18.17

2018-01-14 Thread Jasmin J.
Hi! With that it compiles again for Kernel 3.13. Please note, that https://patchwork.linuxtv.org/patch/46464/ needs to be applied to compile for Kernels older 4.10. BR, Jasmin

[PATCH] build: Disabled VIDEO_IPU3_CIO2 for Kernels older than 3.18.17

2018-01-14 Thread Jasmin J.
From: Jasmin Jessich The driver requires linux/property.h, which is available since Kernel 3.18.17 only. Signed-off-by: Jasmin Jessich --- v4l/versions.txt | 4 1 file changed, 4 insertions(+) diff --git a/v4l/versions.txt b/v4l/versions.txt index 945e1c3..bf19bb1 100644 --- a/v4l/versio

[PATCH] build: Disabled VIDEO_OV7740 for Kernels older than 4.3

2018-01-14 Thread Jasmin J.
From: Jasmin Jessich Signed-off-by: Jasmin Jessich --- v4l/versions.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/v4l/versions.txt b/v4l/versions.txt index ed1e056..945e1c3 100644 --- a/v4l/versions.txt +++ b/v4l/versions.txt @@ -35,6 +35,8 @@ VIDEO_SOLO6X10 [4.3.0] # needs regmap

Re: [PATCH] media: uvcvideo: Fixed ktime_t to ns conversion

2018-01-14 Thread Jasmin J.
Hi! I tested this patch (compile only) on Kernel 4.4. For 3.13 there is something else not working, so I (or Hans) needs to have a look on that. BR, Jasmin

[PATCH] media: uvcvideo: Fixed ktime_t to ns conversion

2018-01-14 Thread Jasmin J.
From: Jasmin Jessich Commit 828ee8c71950 ("media: uvcvideo: Use ktime_t for timestamps") changed to use ktime_t for timestamps. Older Kernels use a struct for ktime_t, which requires the conversion function ktime_to_ns to be used on some places. With this patch it will compile now also for older