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

2019-10-16 Thread Mauro Carvalho Chehab
Em Fri, 4 Oct 2019 13:59:00 +0200 Hans Verkuil escreveu: > On 10/4/19 1:55 PM, Vandana BN wrote: > > Adds new file for describing new metadata format V4L2_META_FMT_VIVID added > > in vivid driver. > > > > Signed-off-by: Vandana BN > > --- > > Documentation/media/uapi/v4l/meta-formats.rst | 1

Re: v4l-utils undefined symbol: dvb_dev_alloc

2019-10-12 Thread Mauro Carvalho Chehab
Em Sat, 12 Oct 2019 18:28:41 +0100 _ _ _ _ _ escreveu: > I've been waiting for a working version of DVB-S2 capable tools and utilities > to appear in a stable release of Mint, but it hasn't happened yet, so I > decided to build the latest stable v4l-utils from source. > > I built v4l-utils v

[PATCH v2] media: venus: fix build on 32bit environments

2019-10-08 Thread Mauro Carvalho Chehab
`__udivdi3' make: *** [Makefile:1094: vmlinux] Error 1 That's because it divides an u32 bit integer by a u64 one. Fix it by explicitly callind do_div. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/platform/qcom/venus/helpers.c | 5 +++-- 1 file changed, 3 insertions(+),

Re: [PATCH] media: venus: fix build on 32bit environments

2019-10-07 Thread Mauro Carvalho Chehab
Em Mon, 7 Oct 2019 11:55:51 -0300 Mauro Carvalho Chehab escreveu: > Em Mon, 7 Oct 2019 17:38:53 +0300 > Stanimir Varbanov escreveu: > > > Hi Mauro, > > > > Thanks for the fix! > > > > On 10/7/19 4:37 PM, Mauro Carvalho Chehab wrote: > > > As

Re: [PATCH] media: venus: fix build on 32bit environments

2019-10-07 Thread Mauro Carvalho Chehab
Em Mon, 7 Oct 2019 17:38:53 +0300 Stanimir Varbanov escreveu: > Hi Mauro, > > Thanks for the fix! > > On 10/7/19 4:37 PM, Mauro Carvalho Chehab wrote: > > As reported by jenk...@linuxtv.org, the build with i386 fails > > with: > > > > ld: drivers/

[PATCH] media: venus: fix build on 32bit environments

2019-10-07 Thread Mauro Carvalho Chehab
`__udivdi3' make: *** [Makefile:1094: vmlinux] Error 1 That's because it divides an u32 bit integer by a u64 one. Fix it by explicitly callind do_div. That's said, why fps is a 64 bits integer? Signed-off-by: Mauro Carvalho Chehab --- drivers/media/platform/qcom/venus/helpe

[PATCH] media: cxd2841er: avoid too many status inquires

2019-10-06 Thread Mauro Carvalho Chehab
logic there, preventing to retrieve stats faster than one second. This shouldn't cause any issues with well behavior apps, as they usually take stats on a polling rate slower than 1 second. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb-frontends/cxd2841er.c | 12 ++

Re: [PATCH v3] media: cxd2841er: avoid too many status inquires

2019-10-06 Thread Mauro Carvalho Chehab
Em Sat, 5 Oct 2019 10:02:05 +0200 Daniel Scheller escreveu: > Am Fri, 4 Oct 2019 11:02:28 -0300 > schrieb Mauro Carvalho Chehab : > > > As reported at: > > https://tvheadend.org/issues/5625 > > > > Retrieving certain status can cause discontinuity issues.

[PATCH v3] media: cxd2841er: avoid too many status inquires

2019-10-04 Thread Mauro Carvalho Chehab
timeout, but that would require a per-delivery system calculus and probably more information about how cxd2481er works, with we don't have. So, do a poor man's best guess. Cc: sta...@vger.kernel.org Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb-frontends/cxd284

Re: [PATCH] si2157: Add support for Logilink VG0022A.

2019-10-04 Thread Mauro Carvalho Chehab
Em Fri, 4 Oct 2019 13:50:43 +0200 JP escreveu: > On 10/3/19 10:03 PM, Mauro Carvalho Chehab wrote: > > Em Thu, 3 Oct 2019 21:51:35 +0200 > > Gonsolo escreveu: > > > >>> 1) The firmware file is likely at the Windows driver for this device > >>> (pro

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

2019-10-04 Thread Mauro Carvalho Chehab
Em Thu, 3 Oct 2019 13:10:38 +0300 Stanimir Varbanov escreveu: > This fixes an issue when setting the encoder framerate because of > missing precision. Now the frameinterval type is changed to > TYPE_CONTINUOUS and step = 1. Also the math is changed when > framerate property is called - the firmw

[PATCH] media: mb86a20s: make the bit rate estimation function more generic

2019-10-04 Thread Mauro Carvalho Chehab
. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb-frontends/mb86a20s.c | 54 +++--- 1 file changed, 23 insertions(+), 31 deletions(-) diff --git a/drivers/media/dvb-frontends/mb86a20s.c b/drivers/media/dvb-frontends/mb86a20s.c index 4e50441c247a..a7faf0cf8788 100644

[PATCH] media: cxd2841er: avoid too many status inquires

2019-10-03 Thread Mauro Carvalho Chehab
timeout, but that would require a per-delivery system calculus and probably more information about how cxd2481er works, with we don't have. So, do a poor man's best guess. Cc: sta...@vger.kernel.org Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb-frontends/cxd284

[PATCH] media: cxd2841er: avoid too many status inquires

2019-10-03 Thread Mauro Carvalho Chehab
timeout, but that would require a per-delivery system calculus and probably more information about how cxd2481er works, with we don't have. So, do a poor man's best guess. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb-frontends/cxd2841er.c | 54 + 1 fi

Re: venus: venc: Fix enum frameintervals - was: [GIT PULL for v5.5] Venus updates, take 2

2019-10-02 Thread Mauro Carvalho Chehab
anov > Date: Tue, 22 Jan 2019 12:53:22 +0200 > Subject: venus: venc: Fix enum frameintervals > To: Linux Media Mailing List > Cc: Mauro Carvalho Chehab > > This fixes an issue when setting the encoder framerate because of > missing precision. Now the frameinterval type is change

Re: [GIT PULL for v5.5] Venus updates, take 2

2019-10-02 Thread Mauro Carvalho Chehab
Em Wed, 2 Oct 2019 14:29:53 +0300 Stanimir Varbanov escreveu: > Hi Mauro, > > The Venus driver updates include: > > * three fixes: fail to suspend, enum frameinterval issue with encoder > and frequency table modifications for v3 to handle performance issues. > * two new features: interconnect

Re: Build failed in Jenkins: v4l-utils #43

2019-10-02 Thread Mauro Carvalho Chehab
Em Wed, 2 Oct 2019 11:49:20 +0200 Hans Verkuil escreveu: > On 10/2/19 11:36 AM, Mauro Carvalho Chehab wrote: > > Em Wed, 2 Oct 2019 10:25:02 +0200 > > Hans Verkuil escreveu: > > > >> Hi Mauro, > >> > >> On 10/2/19 10:16 AM, Jenkin

Re: Build failed in Jenkins: v4l-utils #43

2019-10-02 Thread Mauro Carvalho Chehab
Em Wed, 2 Oct 2019 10:25:02 +0200 Hans Verkuil escreveu: > Hi Mauro, > > On 10/2/19 10:16 AM, Jenkins Builder Robot wrote: > > See > > > > > > Changes: > > > > [hverkuil-cisco] keytable: add new generated keymaps > >

Re: [GIT PULL FOR v5.5] am437x-vpfe: overdue maintenance

2019-10-01 Thread Mauro Carvalho Chehab
Em Fri, 27 Sep 2019 16:27:00 +0200 Hans Verkuil escreveu: > Various fixes for am437x-vpfe. > > One special note: the last three patches adds new macros to be able to > print a V4L2 fourcc in a standard way, both for kernel and userspace, > and uses them in v4l2-ioctl.c and am437x. > > If you ha

Re: [PATCH] cx231xx: convert to the vb2 framework

2019-09-27 Thread Mauro Carvalho Chehab
: Hans Verkuil > Co-Developed-by: Mauro Carvalho Chehab Did some tests here with a few devices: - Hauppauge USB-Live 2 - Capture only - Hauppauge WinTV-HVR-955Q - S-video and composite capture - ATSC capture Tested-by: Mauro Carvalho Chehab > --- > driv

Re: Submit new entries in Digital TV scan tables

2019-09-25 Thread Mauro Carvalho Chehab
Em Wed, 25 Sep 2019 21:03:46 +0500 Алексей escreveu: > Scan tables for DVB-T2 channels in Perm (Russia) Added, thanks! Thanks, Mauro

Re: [Ksummit-discuss] single maintainer profile directory (was Re: [PATCH] media: add a subsystem profile documentation)

2019-09-21 Thread Mauro Carvalho Chehab
Em Sat, 21 Sep 2019 13:13:07 -0600 Jonathan Corbet escreveu: > On Wed, 18 Sep 2019 08:23:26 -0300 > Mauro Carvalho Chehab wrote: > > > A simple/lazy solution would be to apply the enclosed patch - or a > > variant of it that would place the contents of MAINTAINER

Re: [Ksummit-discuss] [PATCH] media: add a subsystem profile documentation

2019-09-19 Thread Mauro Carvalho Chehab
Em Thu, 19 Sep 2019 09:56:44 +0300 Dan Carpenter escreveu: > On Wed, Sep 18, 2019 at 10:57:28AM -0300, Mauro Carvalho Chehab wrote: > > > > +Patches for the media subsystem should be sent to the media mailing > > > > list > > > > +at linux-media@vger.kerne

Re: [Ksummit-discuss] [PATCH] media: add a subsystem profile documentation

2019-09-18 Thread Mauro Carvalho Chehab
Em Wed, 18 Sep 2019 20:27:05 +0300 Laurent Pinchart escreveu: > > Anyway, not sure if the other sub-maintainers see the same way. From my > > side, > > I prefer not to be c/c, as this is just more noise, as I just rely on > > patchwork for media patches. What about changing this to: > > > >

Re: [Ksummit-discuss] single maintainer profile directory (was Re: [PATCH] media: add a subsystem profile documentation)

2019-09-18 Thread Mauro Carvalho Chehab
Em Wed, 18 Sep 2019 10:39:32 -0700 Kees Cook escreveu: > On Wed, Sep 18, 2019 at 08:23:26AM -0300, Mauro Carvalho Chehab wrote: > > You can't simply rename MAINTAINERS to .rst and let Sphinx handle it, > > Right! Sorry, I meant what you'd suggested earlier: having a s

Re: [PATCH v2] media: add a subsystem profile documentation

2019-09-18 Thread Mauro Carvalho Chehab
Em Wed, 18 Sep 2019 11:07:16 -0300 André Almeida escreveu: > Hello Mauro, > > On 9/18/19 10:59 AM, Mauro Carvalho Chehab wrote: > > Document the basic policies of the media subsystem profile. > > > > Signed-off-by: Mauro Carvalho Chehab > > --- &

[PATCH v2] media: add a subsystem profile documentation

2019-09-18 Thread Mauro Carvalho Chehab
Document the basic policies of the media subsystem profile. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/index.rst | 1 + .../media/maintainer-entry-profile.rst| 157 ++ MAINTAINERS | 1 + 3 files

Re: [Ksummit-discuss] [PATCH] media: add a subsystem profile documentation

2019-09-18 Thread Mauro Carvalho Chehab
Em Wed, 18 Sep 2019 15:36:20 +0300 Laurent Pinchart escreveu: > Hi Mauro, > > On Fri, Sep 13, 2019 at 01:19:21PM -0300, Mauro Carvalho Chehab wrote: > > Document the basic policies of the media subsystem profile. > > > > Signed-off-by: Mauro Carvalho Chehab > >

Re: [Ksummit-discuss] single maintainer profile directory (was Re: [PATCH] media: add a subsystem profile documentation)

2019-09-18 Thread Mauro Carvalho Chehab
Em Tue, 17 Sep 2019 09:33:11 -0700 Kees Cook escreveu: > On Tue, Sep 17, 2019 at 10:28:17AM -0300, Mauro Carvalho Chehab wrote: > > No matter where the profiles will physically be stored, its contents belong > > to subsystem-specific documentation, and should be visible at the

Re: single maintainer profile directory (was Re: [Ksummit-discuss] [PATCH] media: add a subsystem profile documentation)

2019-09-17 Thread Mauro Carvalho Chehab
Hi Kees, Em Mon, 16 Sep 2019 20:35:45 -0700 Kees Cook escreveu: > On Fri, Sep 13, 2019 at 01:19:21PM -0300, Mauro Carvalho Chehab wrote: > > Document the basic policies of the media subsystem profile. > > > > Signed-off-by: Mauro Carvalho Chehab > > --- > >

[PATCH] media: add a subsystem profile documentation

2019-09-13 Thread Mauro Carvalho Chehab
Document the basic policies of the media subsystem profile. Signed-off-by: Mauro Carvalho Chehab --- That's basically a modified version of: https://patchwork.linuxtv.org/patch/52999/ Applied to the new template Documentation/media/index.rst | 1 + .../media/maint

Re: [RFC] V4L2 & Metadata: switch to /dev/v4l-metaX instead of /dev/videoX

2019-09-12 Thread Mauro Carvalho Chehab
Em Thu, 12 Sep 2019 14:16:11 +0100 Kieran Bingham escreveu: > Hi Hans, > > On 12/09/2019 08:48, Hans Verkuil wrote: > > Hi all, > > > > I am increasingly unhappy about the choice of /dev/videoX for metadata > > devices. > > > > It is confusing for end-users (especially w.r.t. the common uvc d

Re: [PATCH v2 01/10] media: dt-bindings: Document 'location' property

2019-09-12 Thread Mauro Carvalho Chehab
Em Tue, 27 Aug 2019 15:21:26 +0300 Laurent Pinchart escreveu: > Hi Jacopo, > > Thank you for the patch. > > On Tue, Aug 27, 2019 at 11:23:27AM +0200, Jacopo Mondi wrote: > > Add the 'location' device property, used to specify the camera device > > mounting position. The property is particularly

[PATCH] media: cx231xx: fix unregister logic

2019-09-10 Thread Mauro Carvalho Chehab
Right now, dev->users is not been decremented for VBI nodes, causing unregister to fail. Fix it. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/usb/cx231xx/cx231xx-video.c | 25 +-- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/drivers/media/

Re: hdpvr.ko kernel 5.3-rc6

2019-09-04 Thread Mauro Carvalho Chehab
Em Wed, 4 Sep 2019 11:13:36 -0700 Scott Doty escreveu: > On 9/3/19 1:34 AM, Hans Verkuil wrote: > > > > Never mind, hdpvr uses read(), not streaming I/O. Of course this > > doesn't work... > > > > Just plain 'cat /dev/videoX >x.mpg' will do. > > > > > > Okay, tried that, it produces data that

Re: bug: dvbv5-scan segfaults

2019-08-27 Thread Mauro Carvalho Chehab
Em Tue, 27 Aug 2019 19:49:41 +0300 Olcay Korkmaz escreveu: > > Ok, the problem is happening here: > > > > Program received signal SIGSEGV, Segmentation fault. > > dvb_store_channel (dvb_file=0x7fffe460, __p=0x555605d0, > > dvb_scan_handler=0x55565060, get_detected=0, > > get_nit=

[PATCH] libdvbv5: Don't assume that NIT table was parsed

2019-08-27 Thread Mauro Carvalho Chehab
trying fill them. Reported-by: Olcay Korkmaz Signed-off-by: Mauro Carvalho Chehab --- lib/libdvbv5/dvb-file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libdvbv5/dvb-file.c b/lib/libdvbv5/dvb-file.c index d077271a6546..474b59cb6fce 100644 --- a/lib/libdvbv5/dvb-file.

Re: bug: dvbv5-scan segfaults

2019-08-27 Thread Mauro Carvalho Chehab
Em Mon, 26 Aug 2019 22:25:28 +0300 Olcay Korkmaz escreveu: > 1.14.2 and git tree build gives the same error > TS of entire transponder: > https://drive.google.com/file/d/1zHouZSlbPowyJY5tzT5ro0r4ciPURkbi/view?usp=sharing Thanks! Please don't top-post. > > Em Mon, 26 Aug 2019 19:59:17 +0300 > >

Re: bug: dvbv5-scan segfaults

2019-08-26 Thread Mauro Carvalho Chehab
Hi Olcay, Em Mon, 26 Aug 2019 19:59:17 +0300 Olcay Korkmaz escreveu: > Hello, > dvbv5-scan segfaults when scanning transponders at Turksat-42.0E > (three of transponders are causing the error) Are you using the latest version of dvbv5-scan from the git tree? > > LANG=en_US.UTF-8 gdb -ex=r --a

[GIT PULL] media patches

2019-08-26 Thread Mauro Carvalho Chehab
check. Mauro Carvalho Chehab (6): media: remove include stdarg.h from some drivers media: vicodec: make life easier for static analyzers media: aspeed-video: address a protential usage of an unit var media: ov9650: add a sanity check media: use th

[GIT PULL] media patches

2019-08-26 Thread Mauro Carvalho Chehab
check. Mauro Carvalho Chehab (6): media: remove include stdarg.h from some drivers media: vicodec: make life easier for static analyzers media: aspeed-video: address a protential usage of an unit var media: ov9650: add a sanity check media: use th

[PATCH] v4l2-core: fix coding style for the two new c files

2019-08-26 Thread Mauro Carvalho Chehab
As I2C and SPI parts of the V4L2 core got split, let's take the chance and solve the CodingStyle issues there, as reported by checkpatch --strict. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/v4l2-core/v4l2-i2c.c | 66 +++--- drivers/media/v4l2-core/v4l2-

Re: [PATCH 6/7] media: don't do an unsigned int with a 31 bit shift

2019-08-23 Thread Mauro Carvalho Chehab
Em Fri, 23 Aug 2019 11:08:15 +0200 Marc Gonzalez escreveu: > On 22/08/2019 21:39, Mauro Carvalho Chehab wrote: > > > [PATCH 6/7] media: don't do an unsigned int with a 31 bit shift > > s/unsigned int/signed int ? > > (See below as well.) > > > Doin

[PATCH v2 5/7] media: use the BIT() macro

2019-08-23 Thread Mauro Carvalho Chehab
ing 1 << 31. That's bad, as, depending on the architecture, this has an undefined behavior. The BIT() macro is already prepared to handle this, so, let's just switch all "1 << number" macros by BIT(number) at the header files with has 1 << 31. Signed-off-by: Maur

Re: [PATCH 7/7] media: ngene: don't try to memcpy from NULL

2019-08-22 Thread Mauro Carvalho Chehab
Em Thu, 22 Aug 2019 16:39:34 -0300 Mauro Carvalho Chehab escreveu: > [drivers/media/pci/ngene/ngene-i2c.c:122] -> > [drivers/media/pci/ngene/ngene-i2c.c:39]: (error) Null pointer dereference: > out > > Signed-off-by: Mauro Carvalho Chehab > --- > drivers/media/p

[PATCH 1/7] media: remove include stdarg.h from some drivers

2019-08-22 Thread Mauro Carvalho Chehab
It doesn't make any sense to have gcc's stdarg.h included inside the Linux Kernel. Get rid of those includes. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/pci/cx18/cx18-mailbox.c | 2 +- drivers/media/pci/ivtv/ivtv-mailbox.c | 2 -- drivers/media/pci/ttpci/av7110_

[PATCH 7/7] media: ngene: don't try to memcpy from NULL

2019-08-22 Thread Mauro Carvalho Chehab
[drivers/media/pci/ngene/ngene-i2c.c:122] -> [drivers/media/pci/ngene/ngene-i2c.c:39]: (error) Null pointer dereference: out Signed-off-by: Mauro Carvalho Chehab --- drivers/media/pci/ngene/ngene-i2c.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/media/

[PATCH 3/7] media: aspeed-video: address a protential usage of an unit var

2019-08-22 Thread Mauro Carvalho Chehab
, ctrl); Change the code to prevent this to happen. This was warned by cppcheck: [drivers/media/platform/aspeed-video.c:653]: (error) Uninitialized variable: ctrl Signed-off-by: Mauro Carvalho Chehab --- drivers/media/platform/aspeed-video.c | 5 +++-- 1 file changed, 3 insertions

[PATCH 2/7] media: vicodec: make life easier for static analyzers

2019-08-22 Thread Mauro Carvalho Chehab
re no color or alpha components are there. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/platform/vicodec/vicodec-core.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/media/platform/vicodec/vicodec-core.c b/drivers/media/platform/vicodec/vi

[PATCH 6/7] media: don't do an unsigned int with a 31 bit shift

2019-08-22 Thread Mauro Carvalho Chehab
Doing something like: i32 foo = 1, bar; bar = foo << 31; has an undefined behavior in C, as warned by cppcheck, as we're shifting a signed integer. Instead, force the numbers to be unsigned, in order to solve this issue. Signed-off-by: Mauro Carvalho Chehab --- dr

[PATCH 4/7] media: ov9650: add a sanity check

2019-08-22 Thread Mauro Carvalho Chehab
negative value is undefined behaviour Prevent mangling with gains with invalid values Signed-off-by: Mauro Carvalho Chehab --- drivers/media/i2c/ov9650.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/media/i2c/ov9650.c b/drivers/media/i2c/ov9650.c index 8b56011446a9

Re: [GIT PULL FOR v5.4] More DVB/RC changes

2019-08-21 Thread Mauro Carvalho Chehab
Em Wed, 21 Aug 2019 14:59:05 -0300 Mauro Carvalho Chehab escreveu: > Em Wed, 21 Aug 2019 17:43:27 + > Jenkins escreveu: > > > From: buil...@linuxtv.org > > > > Pull request: https://patchwork.linuxtv.org/patch/58337/ > > Build log: https://builde

Re: [GIT PULL FOR v5.4] More DVB/RC changes

2019-08-21 Thread Mauro Carvalho Chehab
Em Wed, 21 Aug 2019 17:43:27 + Jenkins escreveu: > From: buil...@linuxtv.org > > Pull request: https://patchwork.linuxtv.org/patch/58337/ > Build log: https://builder.linuxtv.org/job/patchwork/12664/ > Build time: 00:00:00 > Link: > https://lore.kernel.org/linux-media/20190821130434.gh4drkm

Re: [GIT PULL FOR v5.4] More DVB/RC changes

2019-08-21 Thread Mauro Carvalho Chehab
Em Wed, 21 Aug 2019 14:28:16 +0100 Sean Young escreveu: > On Wed, Aug 21, 2019 at 01:16:59PM +, Jenkins wrote: > > From: buil...@linuxtv.org > > > > Pull request: https://patchwork.linuxtv.org/patch/58337/ > > Build log: https://builder.linuxtv.org/job/patchwork/12637/ > > Build time: 00:00:

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: [PATCH] dvb-usb-v2/gl861: fix wrong memcpy

2019-08-15 Thread Mauro Carvalho Chehab
Akihiro-san, Em Fri, 16 Aug 2019 10:04:59 +0900 Akihiro TSUKADA escreveu: > > Does anyone have this hardware? This device must have been dead for about > > a year, ever since commit b30cc07de8a9 was merged. > > I have one. (and I wrote the patch). > Since I do not use it regularly and > my ap

[ANN] LinuxTV CI builder

2019-08-12 Thread Mauro Carvalho Chehab
Hi all, Just want you to know about the latest news: == CI builder service for LinuxTV.org == Some of you may probably noticed already: thanks to OSU Open Source Lab[1], with is providing us a few VM instances, we now have a Jenkin

Re: [PATCHv2] omap-dma/omap_vout_vrfb: fix off-by-one fi value

2019-08-09 Thread Mauro Carvalho Chehab
ap_vout driver with a Beagle XM board to check that > the '+ 1' in omap_vout_vrfb.c was indeed a workaround for the omap-dma > bug. > > Signed-off-by: Hans Verkuil > Reviewed-by: Laurent Pinchart > Acked-by: Peter Ujfalusi Acked-by: Mauro Carvalho Chehab Regards, Mauro &

Re: [ANN] Media summit in Lisbon at September

2019-08-08 Thread Mauro Carvalho Chehab
Em Thu, 1 Aug 2019 09:34:00 -0300 Mauro Carvalho Chehab escreveu: > Em Sun, 30 Jun 2019 13:44:04 -0300 > Mauro Carvalho Chehab escreveu: > > > Hi all, > > > > We are organizing a media mini-summit in Lisbon to happen in September, > > at the same week as the

Re: [GIT PULL FOR v5.4] dvb/rc fixes, take #2

2019-08-03 Thread Mauro Carvalho Chehab
Em Thu, 1 Aug 2019 13:31:31 +0100 Sean Young escreveu: > Hi Mauro, > > Here is another dvb/rc pull request. More to come. > > Thanks > Sean > > The following changes since commit 4590c07462fbff4ecbfe1deec44431c16191bd19: > > media: via-camera: convert to the vb2 framework (2019-07-30 12:18:

Re: [GIT PULL for v5.4] Venus updates - stateful decoder

2019-08-03 Thread Mauro Carvalho Chehab
Hi Stanimir, Em Sat, 3 Aug 2019 11:58:07 + Jenkins escreveu: > From: buil...@linuxtv.org > > Pull request: https://patchwork.linuxtv.org/patch/57868/mbox/ > Build log: https://builder.linuxtv.org/job/patchwork/866/ > Build time: 00:04:24 > > Summary: 1 issues, being 0 build regressions >

Re: [ANN] Media summit in Lisbon at September

2019-08-01 Thread Mauro Carvalho Chehab
Em Sun, 30 Jun 2019 13:44:04 -0300 Mauro Carvalho Chehab escreveu: > Hi all, > > We are organizing a media mini-summit in Lisbon to happen in September, > at the same week as the Linux Plumber Conference and the Kernel Summit. > > We're still discussing the details about

Re: [GIT PULL FOR v5.4] Fixes, via-camera, vivid

2019-07-30 Thread Mauro Carvalho Chehab
Em Tue, 30 Jul 2019 13:44:18 +0200 Hans Verkuil escreveu: > Small fixes, via-camera vb2 conversion (yeah!) and extended pixelformat > support in v4l2-tpg/vivid. Patches for the corresponding v4l-utils support > for these pixelformats is ready as well. > > Regards, > > Hans > > The follow

Re: [PATCH 2/2] media: Don't hide any menu if "ancillary drivers autoselect" is enabled

2019-07-26 Thread Mauro Carvalho Chehab
Em Fri, 26 Jul 2019 21:17:00 -0300 Ezequiel Garcia escreveu: > On Thu, 2019-07-25 at 23:09 -0300, Mauro Carvalho Chehab wrote: > > Em Thu, 25 Jul 2019 20:55:13 -0300 > > Ezequiel Garcia escreveu: > > > > > On Thu, 2019-07-25 at 15:41 -0300, Mauro Carvalho Cheh

Re: [PATCH 2/2] media: Don't hide any menu if "ancillary drivers autoselect" is enabled

2019-07-25 Thread Mauro Carvalho Chehab
Em Thu, 25 Jul 2019 20:55:13 -0300 Ezequiel Garcia escreveu: > On Thu, 2019-07-25 at 15:41 -0300, Mauro Carvalho Chehab wrote: > > Em Fri, 26 Jul 2019 01:29:58 +0800 > > Chen-Yu Tsai escreveu: > > > > > On Fri, Jul 26, 2019 at 1:06 AM Ezequiel Garcia > >

Re: [PATCH 2/2] media: Don't hide any menu if "ancillary drivers autoselect" is enabled

2019-07-25 Thread Mauro Carvalho Chehab
Em Thu, 25 Jul 2019 16:00:02 -0300 Helen Koike escreveu: > On 7/25/19 3:41 PM, Mauro Carvalho Chehab wrote: > > Em Fri, 26 Jul 2019 01:29:58 +0800 > > Chen-Yu Tsai escreveu: > > > >> On Fri, Jul 26, 2019 at 1:06 AM Ezequiel Garcia > >> wrote: > &

Re: [PATCH 2/2] media: Don't hide any menu if "ancillary drivers autoselect" is enabled

2019-07-25 Thread Mauro Carvalho Chehab
Em Fri, 26 Jul 2019 01:29:58 +0800 Chen-Yu Tsai escreveu: > On Fri, Jul 26, 2019 at 1:06 AM Ezequiel Garcia > wrote: > > > > On Thu, 2019-07-25 at 12:57 -0300, Mauro Carvalho Chehab wrote: > > > Em Mon, 15 Jul 2019 18:23:16 -0300 > > > Ezequiel Garcia

Re: [PATCH 2/2] media: Don't hide any menu if "ancillary drivers autoselect" is enabled

2019-07-25 Thread Mauro Carvalho Chehab
Em Thu, 25 Jul 2019 14:05:58 -0300 Ezequiel Garcia escreveu: > On Thu, 2019-07-25 at 12:57 -0300, Mauro Carvalho Chehab wrote: > > Em Mon, 15 Jul 2019 18:23:16 -0300 > > Ezequiel Garcia escreveu: > > > > > Many users have been complaining about not being a

Re: [PATCH 2/6] media: v4l2-core: Module re-organization

2019-07-25 Thread Mauro Carvalho Chehab
Em Thu, 25 Jul 2019 13:41:34 -0300 Ezequiel Garcia escreveu: > On Thu, 2019-07-25 at 13:31 -0300, Mauro Carvalho Chehab wrote: > > Em Mon, 15 Jul 2019 18:06:43 -0300 > > Ezequiel Garcia escreveu: > > > > > videodev.ko and v4l2-common.ko driver are built u

Re: [GIT PULL FOR v5.4] Support RK3399 VP8 decoding, various fixes, rcar-vin improvements

2019-07-25 Thread Mauro Carvalho Chehab
Em Thu, 25 Jul 2019 17:33:47 +0200 Hans Verkuil escreveu: > Hi Mauro, > > Please note the 'v4l2-dev: fix WARN_ON(!vdev->device_caps)' patch. Sorry about > that. I did test the original patch with vimc, but test-media doesn't actually > create a FAIL if a module can't be loaded. I'll fix that. >

Re: [PATCH 2/6] media: v4l2-core: Module re-organization

2019-07-25 Thread Mauro Carvalho Chehab
one many > years ago: > > commit a9254475bbfbed5f0596d952c6a3c9806e19dd0b > Author: Mauro Carvalho Chehab > Date: Tue Jan 29 18:32:35 2008 -0300 > > V4L/DVB (7115): Fix bug #9833: regression when compiling V4L without I2C > > Back then, the subsystem organiza

[PATCH] media: staging: hantro: avoid future namespace collisions

2019-07-25 Thread Mauro Carvalho Chehab
Rename: vp8_dec_mc_filter -> hantro_vp8_dec_mc_filter As other drivers may end implementing something with the same name. So, prepend driver's name here, in order to make symbol namespace cleaner. Signed-off-by: Mauro Carvalho Chehab --- drivers/staging/medi

Re: [PATCH 2/2] media: Don't hide any menu if "ancillary drivers autoselect" is enabled

2019-07-25 Thread Mauro Carvalho Chehab
Em Mon, 15 Jul 2019 18:23:16 -0300 Ezequiel Garcia escreveu: > Many users have been complaining about not being able to find > certain menu options. One such example are camera sensor drivers > (e.g IMX219, OV5645, etc) which are common on embedded platforms > and not always ancillary devices. >

Re: [GIT PULL for 5.4] V4L2 ISP, fwnode, sensor and CSI2 patches

2019-07-25 Thread Mauro Carvalho Chehab
Em Thu, 25 Jul 2019 12:50:30 +0300 Sakari Ailus escreveu: > Hi Mauro, > > Here's my first set of V4L2 patches for 5.4. Included are sensor driver > patches, but also update for the Cadence CSI2TX driver and odd fixes and > cleanups. No new drivers this time. > > Please pull. > > > The followi

Re: [PATCH] media: imx7.rst: Fix the references to the CSI multiplexer

2019-07-25 Thread Mauro Carvalho Chehab
Em Sat, 29 Jun 2019 09:16:23 -0300 Fabio Estevam escreveu: > In imx7s.dtsi the node name for the CSI multiplexer is "csi-mux", not > "csi_mux", so fix all the references in the document. > > This fixes the following error when the instructions are followed: > > # media-ctl -l "'imx7-mipi-csis.0

Re: [GIT PULL FOR v5.4] Fix device_caps, don't set fmt description

2019-07-22 Thread Mauro Carvalho Chehab
Em Mon, 22 Jul 2019 16:06:01 +0200 Hans Verkuil escreveu: > Contains these two patch series, rebased on top of v5.3-rc1 > media/usb: don't set description in ENUM_FMT Hmm... trying to apply this on the top of upstream caused a lot of issues: Applying patch patches/0002-0021-media-usb-d

Re: [git:media_tree/master] docs: interconnect.rst: add it to the driver-api guide

2019-07-22 Thread Mauro Carvalho Chehab
Em Mon, 22 Jul 2019 16:07:23 +0300 Georgi Djakov escreveu: > On 7/15/19 15:20, Mauro Carvalho Chehab wrote: > > This is an automatic generated email to let you know that the following > > patch were queued: > > > > Subject: docs: interconnect.rst: add it to the

Re: kernel Warning when using vivid with contiguous dma

2019-07-22 Thread Mauro Carvalho Chehab
Em Mon, 22 Jul 2019 13:21:00 +0200 Dafna Hirschfeld escreveu: > I loaded the vivid module with contiguous DMA and ran streaming with > it with large image dimensions > [  306.437327] Call Trace: > [  306.437338]  __dma_direct_alloc_pages+0xc9/0x1c0 > [  306.437343]  dma_direct_alloc_pages+0x24/0

[ANN] Media summit in Lisbon at September

2019-06-30 Thread Mauro Carvalho Chehab
Hi all, We are organizing a media mini-summit in Lisbon to happen in September, at the same week as the Linux Plumber Conference and the Kernel Summit. We're still discussing the details about that. In principle, it will be a free event for the ones registered to Linux Plumbers Conference, happe

Re: [PATCH 00/31] staging: bcm2835-camera: Improvements

2019-06-28 Thread Mauro Carvalho Chehab
; =2D- > > 2.7.4 > > > > This series looks good. Others made some comments that should be addressed, > and the H264 changes should, I think, be dealt with in a separate patch > series. > > I guess this should go in via Greg? Works for me. I won't be able to

[PATCH] MAINTAINERS: mark soc_camera as Orphan/Obsolete

2019-06-25 Thread Mauro Carvalho Chehab
The soc_camera is obsolete, and it is in process of being stripped out of the Linux Kernel Suggested-by: Joe Perches Signed-off-by: Mauro Carvalho Chehab --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 866969b36a13

[Media summit topic] Criteria to drop drivers from staging - Was: Re: [PATCH] media: schedule removal for legacy staging drivers

2019-06-25 Thread Mauro Carvalho Chehab
iscuss a set of criteria we'll be adopting in order to decide when it is time to send unloved staging code to /dev/null. Regards, Mauro Em Tue, 25 Jun 2019 08:48:26 -0300 Mauro Carvalho Chehab escreveu: > Keeping legacy problematic code forever is not a good idea. > > So, let'

[PATCH] media: schedule removal for legacy staging drivers

2019-06-25 Thread Mauro Carvalho Chehab
lists, be our guest! Signed-off-by: Mauro Carvalho Chehab --- drivers/staging/media/bcm2048/TODO | 6 ++ drivers/staging/media/davinci_vpfe/TODO | 7 +++ drivers/staging/media/omap4iss/TODO | 7 +++ drivers/staging/media/soc_camera/TODO | 9 + 4 files changed, 29 inser

[PATCH] media: stv0297: fix frequency range limit

2019-06-25 Thread Mauro Carvalho Chehab
tamäki Cc: sta...@vger.kernel.org Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb-frontends/stv0297.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/dvb-frontends/stv0297.c b/drivers/media/dvb-frontends/stv0297.c index dac396c95a59..6d5962d5697a 10

[PATCH] media: cafe-driver: mark an static var as such

2019-06-24 Thread Mauro Carvalho Chehab
As warned by sparse: drivers/media/platform/marvell-ccic/cafe-driver.c:475:23: warning: symbol 'ov7670_info' was not declared. Should it be static? Signed-off-by: Mauro Carvalho Chehab --- drivers/media/platform/marvell-ccic/cafe-driver.c | 2 +- 1 file changed, 1 inser

Re: [PATCH 1/1] MAINTAINERS: Add maintainers for Media Controller

2019-06-24 Thread Mauro Carvalho Chehab
Em Thu, 20 Jun 2019 17:19:55 +0300 Laurent Pinchart escreveu: > Hi Sakari, > > Thank you for the patch. > > On Thu, Jun 20, 2019 at 05:17:53PM +0300, Sakari Ailus wrote: > > When Media Controller was merged to mainline long, long time ago, no-one > > bothered to think what its MAINTAINERS entry

Re: [GIT PULL for 5.3] More sensor and CSI-2 driver patches

2019-06-22 Thread Mauro Carvalho Chehab
Em Sat, 22 Jun 2019 06:58:44 -0300 Mauro Carvalho Chehab escreveu: > Em Sat, 22 Jun 2019 11:39:09 +0300 > Sakari Ailus escreveu: > > > On Sat, Jun 22, 2019 at 11:29:12AM +0300, Sakari Ailus wrote: > > > Hi Mauro, > > > > > > Here's another

Re: [GIT PULL for 5.3] More sensor and CSI-2 driver patches

2019-06-22 Thread Mauro Carvalho Chehab
Em Sat, 22 Jun 2019 11:39:09 +0300 Sakari Ailus escreveu: > On Sat, Jun 22, 2019 at 11:29:12AM +0300, Sakari Ailus wrote: > > Hi Mauro, > > > > Here's another set of CSI-2 and sensor driver patches for 5.3. > > Oops! This should have been for 5.4, not 5.3! > I already applied those yesterda

Re: [GIT PULL FOR v5.3] Add Hauppauge DVB devices

2019-06-13 Thread Mauro Carvalho Chehab
Em Thu, 13 Jun 2019 13:14:47 -0500 Brad Love escreveu: > Hi Mauro, > > Here is my first pull request. Please be gentle :) :-) First problem: error: FETCH_HEAD: cannot verify a non-tag object of type commit. You should use branches and sign them with your gpg signature. Patches appli

Re: [GIT PULL FOR v5.3] UVC and sensor changes

2019-06-11 Thread Mauro Carvalho Chehab
Hi Laurent, Em Sat, 8 Jun 2019 15:02:22 +0300 Laurent Pinchart escreveu: > Hi Mauro, > > The following changes since commit edadd68031e5b7c1ba0c413a9549dce62a02844c: > > media: MAINTAINERS: update email address (2019-06-05 15:58:40 -0400) > > are available in the Git repository at: > > g

Re: [ANN] Patchwork version upgrade

2019-06-07 Thread Mauro Carvalho Chehab
Em Fri, 31 May 2019 12:40:50 -0300 Mauro Carvalho Chehab escreveu: > Hi all, > > For a long time, we were running an old Patchwork version. The thing is that > we had applied some patches on the top of it, and the upgrade was not > trivial. > > Today, we upgraded it

[PATCH] media: add SPDX headers to some files

2019-06-05 Thread Mauro Carvalho Chehab
Add SPDX headers and fix MODULE_LICENSE() when needed on some files I co-authored. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/i2c/tda7432.c | 4 +++- drivers/media/pci/bt8xx/bttv-audio-hook.c | 3 ++- drivers/media/pci/bt8xx/bttv-audio-hook.h | 2

Re: [RFC] Documentation clarifications

2019-06-05 Thread Mauro Carvalho Chehab
Em Wed, 5 Jun 2019 10:08:31 +0200 Marc Gonzalez escreveu: > On 04/06/2019 19:26, Mauro Carvalho Chehab wrote: > > > Em Tue, 4 Jun 2019 18:41:44 +0200, Marc Gonzalez escreveu: > > > >> Not sure about these changes, hence the RFC (some are quite trivial) > >

Re: [RFC] Documentation clarifications

2019-06-04 Thread Mauro Carvalho Chehab
Em Tue, 4 Jun 2019 18:41:44 +0200 Marc Gonzalez escreveu: > Not sure about these changes, hence the RFC (some are quite trivial) Looks ok to me. You should submit it as a patch, though, with your SOB. See https://linuxtv.org/wiki/index.php/Development:_How_to_submit_patches. > > diff --git a/

[PATCH] media: dvb: tag deprecated DVB APIs as such

2019-06-04 Thread Mauro Carvalho Chehab
There are three headers at DVB that should not be used on future projects: audio.h, osd.h and video.h. While this is already clear at the docs, make clear also at the headers that those files should not be used on future drivers. Signed-off-by: Mauro Carvalho Chehab --- include/uapi/linux/dvb

Re: [ANN] Patchwork version upgrade

2019-06-01 Thread Mauro Carvalho Chehab
Em Fri, 31 May 2019 12:40:50 -0300 Mauro Carvalho Chehab escreveu: > Hi all, > > For a long time, we were running an old Patchwork version. The thing is that > we had applied some patches on the top of it, and the upgrade was not > trivial. > > Today, we upgraded it

Re: [ANN] Patchwork version upgrade

2019-06-01 Thread Mauro Carvalho Chehab
Em Fri, 31 May 2019 17:07:01 -0300 André Almeida escreveu: > If one tries to access a page that doesn't exists (e.g. [1]), the page > shows that Django is on debug mode. According to Django > documentation[2], is not a good idea running with debugging enabled on > production environment. To fix t

Re: [ANN] Patchwork version upgrade

2019-05-31 Thread Mauro Carvalho Chehab
Em Fri, 31 May 2019 16:40:21 -0300 Mauro Carvalho Chehab escreveu: > Em Fri, 31 May 2019 15:01:06 -0400 > Nicolas Dufresne escreveu: > > > Actually I went a little into it, the black and white alternance for > > lines clearly does not work. > > Black and

Re: [ANN] Patchwork version upgrade

2019-05-31 Thread Mauro Carvalho Chehab
Em Fri, 31 May 2019 15:01:06 -0400 Nicolas Dufresne escreveu: > Le vendredi 31 mai 2019 à 12:40 -0300, Mauro Carvalho Chehab a écrit : > > Hi all, > > > > For a long time, we were running an old Patchwork version. The thing is that > > we had applied some patche

  1   2   3   4   5   6   7   8   9   10   >