Re: [v2,1/2] media: imx: csi: Disable CSI immediately after last EOF

2019-01-18 Thread Peter Seiderer
Hello Steve, On Thu, Jan 17, 2019 at 6:15 PM Steve Longerbeam wrote: > > Disable the CSI immediately after receiving the last EOF before stream > off (and thus before disabling the IDMA channel). > > This fixes a complete system hard lockup on the SabreAuto when streaming > from the ADV7180, by r

Re: [PATCH v4l-utils] Add missing linux/bpf_common.h

2018-11-09 Thread Peter Seiderer
Hello Sean, On Fri, 9 Nov 2018 12:10:38 +, Sean Young wrote: > Hi Peter, > > On Thu, Nov 08, 2018 at 10:13:38PM +0100, Peter Seiderer wrote: > > Thanks, works for the buildroot use case (disabling > > bpf support unconditionally)... > > > > The reason to p

Re: [PATCH v4l-utils] Add missing linux/bpf_common.h

2018-11-08 Thread Peter Seiderer
Hello Sean, On Wed, 7 Nov 2018 12:05:45 +, Sean Young wrote: > Hi Peter, > > On Tue, Nov 06, 2018 at 10:43:58PM +0100, Peter Seiderer wrote: > > On Tue, 6 Nov 2018 10:38:56 +, Sean Young wrote: > > > > > On Mon, Nov 05, 2018 at 09:30:47PM +0100, Peter

Re: [PATCH v2 v4l-utils] configure: build without BPF support in ir-keytable

2018-11-08 Thread Peter Seiderer
Hello Sean, On Wed, 7 Nov 2018 12:02:05 +, Sean Young wrote: > It currently does not build on mips and some platforms do not have > BPF support yet (risc-v, for example). > Thanks for the patch, works for the buildroot use case (disabling bpf support unconditionally), see [1]... Regards,

[PATCH v4l-utils] Add missing linux/bpf_common.h

2018-11-06 Thread Peter Seiderer
File needed by linux/bpf.h, add copy from linux-4.19.1 (and add to sync-with-kernel Makefile target). Signed-off-by: Peter Seiderer --- Changes v1 -> v2: - add linux/bpf_common.h to sync-with-kernel target --- Makefile.am| 4 ++- include/linux/bpf_common.h |

Re: [PATCH v4l-utils] Add missing linux/bpf_common.h

2018-11-06 Thread Peter Seiderer
Hello Sean, On Tue, 6 Nov 2018 10:38:56 +, Sean Young wrote: > On Mon, Nov 05, 2018 at 09:30:47PM +0100, Peter Seiderer wrote: > > Copy from [1], needed by bpf.h. > > > > [1] > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/plain/includ

[PATCH v4l-utils] Add missing linux/bpf_common.h

2018-11-05 Thread Peter Seiderer
Copy from [1], needed by bpf.h. [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/plain/include/uapi/linux/bpf_common.h?h=v4.19 Signed-off-by: Peter Seiderer --- include/linux/bpf_common.h | 57 ++ 1 file changed, 57 insertions

[PATCH v4 2/2] media: staging/imx: fill vb2_v4l2_buffer sequence entry

2018-03-15 Thread Peter Seiderer
ail: v4l2-test-buffers.cpp(707): buf.check(q, last_seq) Signed-off-by: Peter Seiderer --- Changes in v2: - fill vb2_v4l2_buffer sequence entry in imx-ic-prpencvf too (suggested by Steve Longerbeam) Changes in v3: - add changelog (suggested by Greg Kroah-Hartman, Fabio Estevam and

[PATCH v4 1/2] media: staging/imx: fill vb2_v4l2_buffer field entry

2018-03-15 Thread Peter Seiderer
Supported) Video Capture: Buffer: 0 Sequence: 0 Field: Any Timestamp: 58.383658s fail: v4l2-test-buffers.cpp(297): g_field() == V4L2_FIELD_ANY Signed-off-by: Peter Seiderer --- Changes in v4: - new patch (put first because patch is needed to advance

[PATCH v3] media: staging/imx: fill vb2_v4l2_buffer sequence entry

2018-03-14 Thread Peter Seiderer
Enables gstreamer v4l2src lost frame detection, e.g: 0:00:08.685185668 348 0x54f520 WARN v4l2src gstv4l2src.c:970:gst_v4l2src_create: lost frames detected: count = 141 - ts: 0:00:08.330177332 Signed-off-by: Peter Seiderer --- Changes in v2: - fill vb2_v4l2_buffer sequence entry in imx

[PATCH v2] media: staging/imx: fill vb2_v4l2_buffer sequence entry

2018-03-13 Thread Peter Seiderer
Signed-off-by: Peter Seiderer --- drivers/staging/media/imx/imx-ic-prpencvf.c | 5 + drivers/staging/media/imx/imx-media-csi.c | 5 + 2 files changed, 10 insertions(+) diff --git a/drivers/staging/media/imx/imx-ic-prpencvf.c b/drivers/staging/media/imx/imx-ic-prpencvf.c index

Re: [PATCH] media: staging/imx: fill vb2_v4l2_buffer sequence entry

2018-03-13 Thread Peter Seiderer
hanges on mx-media-csi.c and imx-ic-prpencvf.c at once? Regards, Peter > > Steve > > > On 03/13/2018 01:00 PM, Peter Seiderer wrote: > > Signed-off-by: Peter Seiderer > > --- > > drivers/staging/media/imx/imx-media-csi.c | 5 + > > 1 file changed, 5

[PATCH] media: staging/imx: fill vb2_v4l2_buffer sequence entry

2018-03-13 Thread Peter Seiderer
Signed-off-by: Peter Seiderer --- drivers/staging/media/imx/imx-media-csi.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/staging/media/imx/imx-media-csi.c b/drivers/staging/media/imx/imx-media-csi.c index 5a195f80a24d..3a6a645b9dce 100644 --- a/drivers/staging/media/imx/imx

[PATCH v1] libdvbv5: add optional copy of TEMP_FAILURE_RETRY macro (fix musl compile)

2018-03-04 Thread Peter Seiderer
Fixes: ../../lib/libdvbv5/.libs/libdvbv5.so: undefined reference to `TEMP_FAILURE_RETRY' Signed-off-by: Peter Seiderer --- lib/libdvbv5/dvb-dev-local.c | 9 + 1 file changed, 9 insertions(+) diff --git a/lib/libdvbv5/dvb-dev-local.c b/lib/libdvbv5/dvb-dev-local.c index 8b

[PATCH] keytable: fix EVIOCSCLOCKID related compile failure

2018-02-06 Thread Peter Seiderer
Fixes: keytable.c: In function 'test_event': keytable.c:1351:12: error: 'EVIOCSCLOCKID' undeclared (first use in this function) ioctl(fd, EVIOCSCLOCKID, &mode); ^~~~~ Signed-off-by: Peter Seiderer --- utils/keytable/keytable.c | 4

[PATCH v1] qv4l2: fix qv4l2.pro qmake project file

2017-03-04 Thread Peter Seiderer
The header files v4l2-tpg.h and v4l2-tpg-colors.h moved from v4l2-ctl to common. Signed-off-by: Peter Seiderer --- utils/qv4l2/qv4l2.pro | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/utils/qv4l2/qv4l2.pro b/utils/qv4l2/qv4l2.pro index 02b03dea..6420fa24 100644 --- a

[PATCH v1 1/2] ir-ctl: use strndup instead of strndupa (fixes musl compile)

2017-02-20 Thread Peter Seiderer
Fixes buildroot musl compile (see [1], [2]): ir-ctl.c:(.text+0xb06): undefined reference to `strndupa' [1] http://autobuild.buildroot.net/results/b8b96c7bbf2147dacac62485cbfdbcfd758271a5 [2] http://lists.busybox.net/pipermail/buildroot/2017-February/184048.html Signed-off-by: Peter Sei

[PATCH v1 2/2] ir-ctl: add optional copy of TEMP_FAILURE_RETRY macro (fix musl compile)

2017-02-20 Thread Peter Seiderer
Fixes buildroot musl compile (see [1], [2]): ir-ctl.c:(.text+0xe01): undefined reference to `TEMP_FAILURE_RETRY' [1] http://autobuild.buildroot.net/results/b8b96c7bbf2147dacac62485cbfdbcfd758271a5 [2] http://lists.busybox.net/pipermail/buildroot/2017-February/184048.html Signed-off-by:

[PATCH v1] dvb/keytable: fix libintl linking

2015-10-16 Thread Peter Seiderer
Fix libintl linking for uclibc (see [1] for details). [1] http://lists.busybox.net/pipermail/buildroot/2015-October/142032.html Signed-off-by: Peter Seiderer --- utils/dvb/Makefile.am | 8 utils/keytable/Makefile.am | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff

[PATCH 2/2] qv4l2: fix qt5 opengl runtime errors

2014-12-15 Thread Peter Seiderer
t5Core.so.5 #26 0x0044476d in main(int, char**) (argc=1, argv=0x7fffdcd8) at ../qv4l2/qv4l2.cpp:1777 Solution: call QGLShaderProgram::release() only in case shader program is previously linked. Signed-off-by: Peter Seiderer --- utils/qv4l2/capture-win-gl.cpp | 10 +++---

[PATCH 1/2] qv4l2: enable qt5 opengl build

2014-12-15 Thread Peter Seiderer
Signed-off-by: Peter Seiderer --- configure.ac | 12 ++-- utils/qv4l2/qv4l2.pro | 7 ++- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/configure.ac b/configure.ac index 588dd9e..dce2848 100644 --- a/configure.ac +++ b/configure.ac @@ -143,8 +143,16 @@ if

[PATCH] qv4l2: fix qmake project file

2014-12-12 Thread Peter Seiderer
- do not use private paths (as done by mistake) - fix v4l-utils in place library paths Signed-off-by: Peter Seiderer --- utils/qv4l2/qv4l2.pro | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/utils/qv4l2/qv4l2.pro b/utils/qv4l2/qv4l2.pro index 19a046a..82500af

[PATCH v2 1/3] configure.ac: add qt5 detection support

2014-12-05 Thread Peter Seiderer
Disable QTGL for qt5 because of qv4l2 crash on startup. Signed-off-by: Peter Seiderer --- Changes v1 -> v2: - fix configure log output for qt5 - fix qt4 detection --- configure.ac | 42 -- 1 file changed, 28 insertions(+), 14 deletions(-) diff --

[PATCH v2 2/3] qv4l2: fix qt5 compile

2014-12-05 Thread Peter Seiderer
Signed-off-by: Peter Seiderer --- utils/qv4l2/capture-win-qt.cpp | 4 utils/qv4l2/qv4l2.cpp | 21 + 2 files changed, 25 insertions(+) diff --git a/utils/qv4l2/capture-win-qt.cpp b/utils/qv4l2/capture-win-qt.cpp index db85cd2..9c849a0 100644 --- a/utils/qv4l2

[PATCH v2 3/3] qv4l2: update qmake project file

2014-12-05 Thread Peter Seiderer
Signed-off-by: Peter Seiderer --- Changes v1 -> v2: - fix out of tree qmake build (add PWD to library paths) - fix opengl support (qt4 only) and add disabling hint --- utils/qv4l2/qv4l2.pro | 46 ++ 1 file changed, 42 insertions(+), 4 deleti

[PATCH 3/3] qv4l2: update qmake project file

2014-12-04 Thread Peter Seiderer
Signed-off-by: Peter Seiderer --- utils/qv4l2/qv4l2.pro | 32 ++-- 1 file changed, 30 insertions(+), 2 deletions(-) diff --git a/utils/qv4l2/qv4l2.pro b/utils/qv4l2/qv4l2.pro index 7ab39cc..2c6c9c8 100644 --- a/utils/qv4l2/qv4l2.pro +++ b/utils/qv4l2/qv4l2.pro

[PATCH 2/3] qv4l2: fix qt5 compile

2014-12-04 Thread Peter Seiderer
Signed-off-by: Peter Seiderer --- utils/qv4l2/capture-win-qt.cpp | 4 utils/qv4l2/qv4l2.cpp | 21 + 2 files changed, 25 insertions(+) diff --git a/utils/qv4l2/capture-win-qt.cpp b/utils/qv4l2/capture-win-qt.cpp index db85cd2..9c849a0 100644 --- a/utils/qv4l2

[PATCH 1/3] configure.ac: add qt5 detection support

2014-12-04 Thread Peter Seiderer
Disable QTGL for qt5 because of qv4l2 crash on startup. Signed-off-by: Peter Seiderer --- configure.ac | 41 +++-- 1 file changed, 27 insertions(+), 14 deletions(-) diff --git a/configure.ac b/configure.ac index 7bf9bf6..245a409 100644 --- a/configure.ac

Re: Using the coda driver with Gstreamer

2014-11-18 Thread Peter Seiderer
Hello Fabio, maybe trying to increase the following kernel option helps (for the v4l2 kernel driver failure message, not for the followup gstraemer errors): CONFIG_CMA_SIZE_MBYTES=256 Regards, Peter --- Sorry for loosing the CC list, reading the mailing list by web browser... > Hi, > > I am run