[PATCH v1 7/8] ARM: configs: stm32: stmpe 1600 GPIO expandor

2017-03-29 Thread Hugues Fruchet
Enable STMPE1600 GPIO expandor. Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- arch/arm/configs/stm32_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/stm32_defconfig b/arch/arm/configs/stm32_defconfig index a9d8e3c..84adc88 100644 --- a/ar

[PATCH v1 0/8] Add support for DCMI camera interface of STMicroelectronics STM32 SoC series

2017-03-29 Thread Hugues Fruchet
d: 0, Warnings: 0 Hugues Fruchet (8): dt-bindings: Document STM32 DCMI bindings [media] stm32-dcmi: STM32 DCMI camera interface driver ARM: dts: stm32: Enable DCMI support on STM32F429 MCU ARM: dts: stm32: Enable DCMI camera interface on STM32F429-EVAL board ARM: dts: stm32: Enable stmpe1600

[PATCH v1 6/8] ARM: dts: stm32: Enable ov2640 camera support of STM32F429-EVAL board

2017-03-29 Thread Hugues Fruchet
Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- arch/arm/boot/dts/stm32429i-eval.dts | 30 ++ 1 file changed, 30 insertions(+) diff --git a/arch/arm/boot/dts/stm32429i-eval.dts b/arch/arm/boot/dts/stm32429i-eval.dts index 7ffcf07..b7d127c 100644 ---

[PATCH v1 2/8] [media] stm32-dcmi: STM32 DCMI camera interface driver

2017-03-29 Thread Hugues Fruchet
This V4L2 subdev driver enables Digital Camera Memory Interface (DCMI) of STMicroelectronics STM32 SoC series. Signed-off-by: Yannick Fertre <yannick.fer...@st.com> Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- drivers/media/platform/Kconfig| 12 + d

Re: [bug report] [media] st-delta: add mjpeg support

2017-02-21 Thread Hugues FRUCHET
Thanks Dan, Patch sent to fix warning: https://www.spinics.net/lists/linux-media/msg111529.html BR, Hugues. On 02/13/2017 08:07 PM, Dan Carpenter wrote: > Hello Hugues Fruchet, > > The patch 433ff5b4a29b: "[media] st-delta: add mjpeg support" from > Feb 2, 2017, leads t

[PATCH v4 3/3] [media] st-delta: add mpeg2 support

2017-02-21 Thread Hugues Fruchet
000..adb0300 --- /dev/null +++ b/drivers/media/platform/sti/delta/delta-mpeg2-dec.c @@ -0,0 +1,1401 @@ +/* + * Copyright (C) STMicroelectronics SA 2015 + * Authors: Hugues Fruchet <hugues.fruc...@st.com> + * Chetan Nanda <chetan.na...@st.com> + * Jean-Christophe Trotin &l

[PATCH v4 2/3] [media] st-delta: add parsing metadata controls support

2017-02-21 Thread Hugues Fruchet
Install all metadata controls required by registered decoders. Update the decoding context with the set of metadata received from user through extended control. Set the received metadata in access unit prior to call the decoder decoding ops. Signed-off-by: Hugues Fruchet <hugues.fruc...@st.

[PATCH v4 1/3] [media] v4l: add parsed MPEG-2 support

2017-02-21 Thread Hugues Fruchet
xtra data have to be set by user through control framework using the dedicated mpeg video extended controls introduced in this patchset. Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- Documentation/media/uapi/v4l/extended-controls.rst | 363 + Documentation/media

[PATCH v4 0/3] Add support for MPEG-2 in DELTA video decoder

2017-02-21 Thread Hugues Fruchet
test VIDIOC_EXPBUF: OK Test input 0: Total: 43, Succeeded: 42, Failed: 1, Warnings: 6 Hugues Fruchet (3): [media] v4l: add parsed MPEG-2 support [media] st-delta: add parsing metadata controls support [media] st-delta: add mpeg2 support Documentation/media/uapi/v4

Re: [PATCH v3 1/3] [media] v4l: add parsed MPEG-2 support

2017-02-21 Thread Hugues FRUCHET
Thanks for review Nicolas, my comments thereafter. On 02/10/2017 03:07 AM, Nicolas Dufresne wrote: > Le jeudi 09 février 2017 à 18:07 +0100, Hugues Fruchet a écrit : >> Add "parsed MPEG-2" pixel format & related controls >> needed by stateless video decoders. &g

[PATCH] [media] st-delta: mjpeg: fix static checker warning

2017-02-21 Thread Hugues Fruchet
Initialize 'data_offset' local variable to 0. drivers/media/platform/sti/delta/delta-mjpeg-dec.c:415 delta_mjpeg_decode() error: uninitialized symbol 'data_offset'. Fixes: 433ff5b4a29b: "[media] st-delta: add mjpeg support" Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --

[PATCH v3 1/3] [media] v4l: add parsed MPEG-2 support

2017-02-09 Thread Hugues Fruchet
xtra data have to be set by user through control framework using the dedicated mpeg video extended controls introduced in this patchset. Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- Documentation/media/uapi/v4l/extended-controls.rst | 363 + Documentation/media

[PATCH v3 3/3] [media] st-delta: add mpeg2 support

2017-02-09 Thread Hugues Fruchet
000..dc137c6 --- /dev/null +++ b/drivers/media/platform/sti/delta/delta-mpeg2-dec.c @@ -0,0 +1,1392 @@ +/* + * Copyright (C) STMicroelectronics SA 2015 + * Authors: Hugues Fruchet <hugues.fruc...@st.com> + * Chetan Nanda <chetan.na...@st.com> + * Jean-Christophe Trotin &l

[PATCH v3 2/3] [media] st-delta: add parsing metadata controls support

2017-02-09 Thread Hugues Fruchet
Install all metadata controls required by registered decoders. Update the decoding context with the set of metadata received from user through extended control. Set the received metadata in access unit prior to call the decoder decoding ops. Signed-off-by: Hugues Fruchet <hugues.fruc...@st.

[PATCH v3 0/3] Add support for MPEG-2 in DELTA video decoder

2017-02-09 Thread Hugues Fruchet
G_ENC_INDEX: OK (Not Supported) test VIDIOC_(TRY_)DECODER_CMD: OK Buffer ioctls: test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: OK test VIDIOC_EXPBUF: OK Test input 0: Total: 43, Succeeded: 42, Failed: 1, Warnings: 6 Hugues Fruchet (3): [media]

Re: [PATCH v7 09/10] [media] st-delta: add mjpeg support

2017-02-08 Thread Hugues FRUCHET
On 02/08/2017 01:19 PM, Mauro Carvalho Chehab wrote: > Em Thu, 2 Feb 2017 15:59:52 +0100 > Hugues Fruchet <hugues.fruc...@st.com> escreveu: > > I applied today this series. There's just a nitpick, that you can change > when you submit a version 2 of the MPEG2 driver. See b

Re: [PATCH v1 3/3] [media] st-delta: add mpeg2 support

2017-02-08 Thread Hugues FRUCHET
On 02/08/2017 01:22 PM, Mauro Carvalho Chehab wrote: > Em Mon, 30 Jan 2017 11:57:29 +0100 > Hugues Fruchet <hugues.fruc...@st.com> escreveu: > >> Adds support of DELTA MPEG-2 video decoder back-end, >> implemented by calling MPEG2_TRANSFORMER0 firmware >> us

[PATCH v2 2/3] [media] st-delta: add parsing metadata controls support

2017-02-08 Thread Hugues Fruchet
Install all metadata controls required by registered decoders. Update the decoding context with the set of metadata received from user through extended control. Set the received metadata in access unit prior to call the decoder decoding ops. Signed-off-by: Hugues Fruchet <hugues.fruc...@st.

[PATCH v2 3/3] [media] st-delta: add mpeg2 support

2017-02-08 Thread Hugues Fruchet
000..6ccfdc9 --- /dev/null +++ b/drivers/media/platform/sti/delta/delta-mpeg2-dec.c @@ -0,0 +1,1392 @@ +/* + * Copyright (C) STMicroelectronics SA 2015 + * Authors: Hugues Fruchet <hugues.fruc...@st.com> + * Chetan Nanda <chetan.na...@st.com> + * Jean-Christophe Trotin &l

[PATCH v2 1/3] [media] v4l: add parsed MPEG-2 support

2017-02-08 Thread Hugues Fruchet
xtra data have to be set by user through control framework using the dedicated mpeg video extended controls introduced in this patchset. Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- Documentation/media/uapi/v4l/extended-controls.rst | 363 + Documentation/media

[PATCH v2 0/3] Add support for MPEG-2 in DELTA video decoder

2017-02-08 Thread Hugues Fruchet
t VIDIOC_(TRY_)DECODER_CMD: OK Buffer ioctls: test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: OK test VIDIOC_EXPBUF: OK Test input 0: Total: 43, Succeeded: 42, Failed: 1, Warnings: 6 Hugues Fruchet (3): [media] v4l: add parsed MPEG-2 support [media] st-delta:

Re: [RFC] V4L2 unified low-level decoder API

2017-02-07 Thread Hugues FRUCHET
Hans Verkuil wrote: > On 10/27/2016 09:42 AM, Hugues FRUCHET wrote: >> Hi, >> >> This RFC aims to start discussions in order to define the codec specific >> controls structures to fulfill the low-level decoder API needed by non >> "Stream API" based deco

[PATCH v1 2/3] add libv4l-codecparsers plugin for video bitstream parsing

2017-02-07 Thread Hugues Fruchet
through the V4L2 extended control framework. This plugin supports several codec dependent parser backends. Enabling of the right parser is done by intercepting the pixel format information negotiated between user and driver (enum_fmt/try_fmt/get_fmt/s_fmt). Signed-off-by: Hugues Fruchet <hugues.f

[PATCH v1 0/3] Add a libv4l plugin for video bitstream parsing

2017-02-07 Thread Hugues Fruchet
backend using GStreamer codecparsers library. It has been tested with STMicroelectronics st-delta kernel driver. Hugues Fruchet (3): v4l-utils: sync with kernel (parsed MPEG-2 support) add libv4l-codecparsers plugin for video bitstream parsing libv4l-codecparsers: add GStreamer mpeg2 parser

[PATCH v1 3/3] libv4l-codecparsers: add GStreamer mpeg2 parser

2017-02-07 Thread Hugues Fruchet
Add the mpeg2 codecparser backend glue which will call the GStreamer parsing functions. Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- configure.ac| 21 ++ lib/libv4l-codecparsers/Makefile.am | 14 +- lib/libv4l-codecparsers/

[PATCH v1 1/3] v4l-utils: sync with kernel (parsed MPEG-2 support)

2017-02-07 Thread Hugues Fruchet
xtra data have to be set by user through control framework using the dedicated mpeg video extended controls introduced in this patchset. Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- include/linux/v4l2-controls.h | 86 +++ include/linux/

Re: [STLinux Kernel] [PATCH v6 02/10] ARM: dts: STiH410: add DELTA dt node

2017-02-02 Thread Hugues FRUCHET
Hi Peter, This is now fixed in v7. Best regards, Hugues. On 02/01/2017 07:37 PM, Peter Griffin wrote: > On Wed, 01 Feb 2017, Hugues Fruchet wrote: > >> This patch adds DT node for STMicroelectronics >> DELTA V4L2 video decoder >> >> Signed-off-by: Hugues

[PATCH v7 08/10] [media] st-delta: EOS (End Of Stream) support

2017-02-02 Thread Hugues Fruchet
-by: Peter Griffin <peter.grif...@linaro.org> Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- drivers/media/platform/sti/delta/delta-v4l2.c | 146 +- drivers/media/platform/sti/delta/delta.h | 23 2 files changed, 168 insertions(+), 1 delet

[PATCH v7 09/10] [media] st-delta: add mjpeg support

2017-02-02 Thread Hugues Fruchet
Adds support of DELTA MJPEG video decoder back-end, implemented by calling JPEG_DECODER_HW0 firmware using RPMSG IPC communication layer. Acked-by: Peter Griffin <peter.grif...@linaro.org> Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- drivers/media/plat

[PATCH v7 07/10] [media] st-delta: rpmsg ipc support

2017-02-02 Thread Hugues Fruchet
exchanged between both host and coprocessor. This avoids to manage tables on both sides to get back the running context of each instance. Acked-by: Peter Griffin <peter.grif...@linaro.org> Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- drivers/media/platform/Kconfig

[PATCH v7 06/10] [media] st-delta: add memory allocator helper functions

2017-02-02 Thread Hugues Fruchet
Helper functions used by decoder back-ends to allocate physically contiguous memory required by hardware video decoder. Acked-by: Peter Griffin <peter.grif...@linaro.org> Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- drivers/media/platform/sti/delta/Makefile| 2 +- d

[PATCH v7 05/10] [media] st-delta: STiH4xx multi-format video decoder v4l2 driver

2017-02-02 Thread Hugues Fruchet
This V4L2 driver enables DELTA multi-format video decoder of STMicroelectronics STiH4xx SoC series. Acked-by: Peter Griffin <peter.grif...@linaro.org> Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- drivers/media/platform/Kconfig| 28 + drivers/media/platf

[PATCH v7 03/10] ARM: multi_v7_defconfig: enable STMicroelectronics DELTA Support

2017-02-02 Thread Hugues Fruchet
Enables support of STMicroelectronics STiH4xx SoC series DELTA multi-format video decoder V4L2 driver. Acked-by: Peter Griffin <peter.grif...@linaro.org> Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insert

[PATCH v7 10/10] [media] st-delta: debug: trace stream/frame information & summary

2017-02-02 Thread Hugues Fruchet
the decoding process (stream information, decoded and output frames number, potential errors observed). Acked-by: Peter Griffin <peter.grif...@linaro.org> Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- drivers/media/platform/sti/delta/Makefile | 2 +- drivers/media/

[PATCH v7 04/10] [media] MAINTAINERS: add st-delta driver

2017-02-02 Thread Hugues Fruchet
Add entry for the STMicroelectronics DELTA driver. Acked-by: Peter Griffin <peter.grif...@linaro.org> Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index cfff2c9..38

[PATCH v7 02/10] ARM: dts: STiH407-family: add DELTA dt node

2017-02-02 Thread Hugues Fruchet
This patch adds DT node for STMicroelectronics DELTA V4L2 video decoder Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- arch/arm/boot/dts/stih407-family.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/bo

[PATCH v7 01/10] Documentation: DT: add bindings for ST DELTA

2017-02-02 Thread Hugues Fruchet
This patch adds DT binding documentation for STMicroelectronics DELTA V4L2 video decoder. Acked-by: Peter Griffin <peter.grif...@linaro.org> Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- Documentation/devicetree/bindings/media/st,st-delta.txt | 17 + 1

[PATCH v7 00/10] Add support for DELTA video decoder of STMicroelectronics STiH4xx SoC series

2017-02-02 Thread Hugues Fruchet
test VIDIOC_G_ENC_INDEX: OK (Not Supported) test VIDIOC_(TRY_)DECODER_CMD: OK Buffer ioctls: test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: OK test VIDIOC_EXPBUF: OK Test input 0: Total: 43, Succeeded: 43, Failed: 0, Warnings: 6 Hugues Fruchet

[PATCH v6 04/10] [media] MAINTAINERS: add st-delta driver

2017-02-01 Thread Hugues Fruchet
Add entry for the STMicroelectronics DELTA driver. Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index cfff2c9..38cc652 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2429,6 +2

[PATCH v6 01/10] Documentation: DT: add bindings for ST DELTA

2017-02-01 Thread Hugues Fruchet
This patch adds DT binding documentation for STMicroelectronics DELTA V4L2 video decoder. Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- Documentation/devicetree/bindings/media/st,st-delta.txt | 17 + 1 file changed, 17 insertions(+) create mode 100644 Documen

[PATCH v6 05/10] [media] st-delta: STiH4xx multi-format video decoder v4l2 driver

2017-02-01 Thread Hugues Fruchet
This V4L2 driver enables DELTA multi-format video decoder of STMicroelectronics STiH4xx SoC series. Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- drivers/media/platform/Kconfig| 28 + drivers/media/platform/Makefile |2 + drivers/media/platfo

[PATCH v6 06/10] [media] st-delta: add memory allocator helper functions

2017-02-01 Thread Hugues Fruchet
Helper functions used by decoder back-ends to allocate physically contiguous memory required by hardware video decoder. Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- drivers/media/platform/sti/delta/Makefile| 2 +- drivers/media/platform/sti/delta/delta-mem.

[PATCH v6 00/10] Add support for DELTA video decoder of STMicroelectronics STiH4xx SoC series

2017-02-01 Thread Hugues Fruchet
: 43, Succeeded: 43, Failed: 0, Warnings: 6 Hugues Fruchet (10): Documentation: DT: add bindings for ST DELTA ARM: dts: STiH410: add DELTA dt node ARM: multi_v7_defconfig: enable STMicroelectronics DELTA Support [media] MAINTAINERS: add st-delta driver [media] st-delta: STiH4xx multi-fo

[PATCH v6 02/10] ARM: dts: STiH410: add DELTA dt node

2017-02-01 Thread Hugues Fruchet
This patch adds DT node for STMicroelectronics DELTA V4L2 video decoder Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- arch/arm/boot/dts/stih410.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/stih410.dtsi b/arch/arm/boot/dts/stih410.dtsi

[PATCH v6 03/10] ARM: multi_v7_defconfig: enable STMicroelectronics DELTA Support

2017-02-01 Thread Hugues Fruchet
Enables support of STMicroelectronics STiH4xx SoC series DELTA multi-format video decoder V4L2 driver. Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/ar

[PATCH v6 08/10] [media] st-delta: EOS (End Of Stream) support

2017-02-01 Thread Hugues Fruchet
-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- drivers/media/platform/sti/delta/delta-v4l2.c | 146 +- drivers/media/platform/sti/delta/delta.h | 23 2 files changed, 168 insertions(+), 1 deletion(-) diff --git a/drivers/media/platform/sti/delta/delta-

[PATCH v6 09/10] [media] st-delta: add mjpeg support

2017-02-01 Thread Hugues Fruchet
Adds support of DELTA MJPEG video decoder back-end, implemented by calling JPEG_DECODER_HW0 firmware using RPMSG IPC communication layer. Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- drivers/media/platform/Kconfig | 12 +- drivers/media/platform/sti

[PATCH v6 07/10] [media] st-delta: rpmsg ipc support

2017-02-01 Thread Hugues Fruchet
exchanged between both host and coprocessor. This avoids to manage tables on both sides to get back the running context of each instance. Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- drivers/media/platform/Kconfig| 1 + drivers/media/platform/sti/delta/Ma

[PATCH v6 10/10] st-delta: debug: trace stream/frame information & summary

2017-02-01 Thread Hugues Fruchet
the decoding process (stream information, decoded and output frames number, potential errors observed). Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- drivers/media/platform/sti/delta/Makefile | 2 +- drivers/media/platform/sti/delta/delta-debug.

Re: [GIT PULL FOR v4.11] New st-delta driver

2017-02-01 Thread Hugues FRUCHET
On 02/01/2017 11:39 AM, Mauro Carvalho Chehab wrote: > Em Tue, 31 Jan 2017 15:16:10 + > Hugues FRUCHET <hugues.fruc...@st.com> escreveu: > >> On 01/30/2017 08:18 PM, Mauro Carvalho Chehab wrote: >>> Em Mon, 30 Jan 2017 17:15:36 -0200 >>> Mauro Ca

[PATCH v5 08/10] [media] st-delta: EOS (End Of Stream) support

2017-01-31 Thread Hugues Fruchet
-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- drivers/media/platform/sti/delta/delta-v4l2.c | 146 +- drivers/media/platform/sti/delta/delta.h | 23 2 files changed, 168 insertions(+), 1 deletion(-) diff --git a/drivers/media/platform/sti/delta/delta-

[PATCH v5 09/10] [media] st-delta: add mjpeg support

2017-01-31 Thread Hugues Fruchet
Adds support of DELTA MJPEG video decoder back-end, implemented by calling JPEG_DECODER_HW0 firmware using RPMSG IPC communication layer. Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- drivers/media/platform/Kconfig | 6 + drivers/media/platform/sti

[PATCH v5 05/10] [media] st-delta: STiH4xx multi-format video decoder v4l2 driver

2017-01-31 Thread Hugues Fruchet
This V4L2 driver enables DELTA multi-format video decoder of STMicroelectronics STiH4xx SoC series. Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- drivers/media/platform/Kconfig| 20 + drivers/media/platform/Makefile |2 + drivers/media/platfo

[PATCH v5 01/10] Documentation: DT: add bindings for ST DELTA

2017-01-31 Thread Hugues Fruchet
This patch adds DT binding documentation for STMicroelectronics DELTA V4L2 video decoder. Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- Documentation/devicetree/bindings/media/st,st-delta.txt | 17 + 1 file changed, 17 insertions(+) create mode 100644 Documen

[PATCH v5 00/10] Add support for DELTA video decoder of STMicroelectronics STiH4xx SoC series

2017-01-31 Thread Hugues Fruchet
ECODER_CMD: OK Buffer ioctls: test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: OK test VIDIOC_EXPBUF: OK Test input 0: Total: 43, Succeeded: 43, Failed: 0, Warnings: 6 Hugues Fruchet (10): Documentation: DT: add bindings for ST DELTA ARM: dts: ST

[PATCH v5 07/10] [media] st-delta: rpmsg ipc support

2017-01-31 Thread Hugues Fruchet
exchanged between both host and coprocessor. This avoids to manage tables on both sides to get back the running context of each instance. Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- drivers/media/platform/Kconfig| 1 + drivers/media/platform/sti/delta/Ma

[PATCH v5 10/10] [media] st-delta: debug: trace stream/frame information & summary

2017-01-31 Thread Hugues Fruchet
the decoding process (stream information, decoded and output frames number, potential errors observed). Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- drivers/media/platform/sti/delta/Makefile | 2 +- drivers/media/platform/sti/delta/delta-debug.

[PATCH v5 06/10] [media] st-delta: add memory allocator helper functions

2017-01-31 Thread Hugues Fruchet
Helper functions used by decoder back-ends to allocate physically contiguous memory required by hardware video decoder. Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- drivers/media/platform/sti/delta/Makefile| 2 +- drivers/media/platform/sti/delta/delta-mem.

[PATCH v5 03/10] ARM: multi_v7_defconfig: enable STMicroelectronics DELTA Support

2017-01-31 Thread Hugues Fruchet
Enables support of STMicroelectronics STiH4xx SoC series DELTA multi-format video decoder V4L2 driver. Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/ar

[PATCH v5 02/10] ARM: dts: STiH410: add DELTA dt node

2017-01-31 Thread Hugues Fruchet
This patch adds DT node for STMicroelectronics DELTA V4L2 video decoder Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- arch/arm/boot/dts/stih410.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/stih410.dtsi b/arch/arm/boot/dts/stih410.dtsi

[PATCH v5 04/10] [media] MAINTAINERS: add st-delta driver

2017-01-31 Thread Hugues Fruchet
Add entry for the STMicroelectronics DELTA driver. Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index cfff2c9..38cc652 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2429,6 +2

Re: [GIT PULL FOR v4.11] New st-delta driver

2017-01-31 Thread Hugues FRUCHET
t;> >>> for you to fetch changes up to e6f199d01e7b8bc4436738b6c666fda31b9f3340: >>> >>> st-delta: debug: trace stream/frame information & summary (2017-01-09 >>> 14:16:45 +0100) >>> >>> >>> Hugues Fruchet (10): >>> Docum

[PATCH v1 2/3] [media] st-delta: add parsing metadata controls support

2017-01-30 Thread Hugues Fruchet
Install all metadata controls required by registered decoders. Update the decoding context with the set of metadata received from user through extended control. Set the received metadata in access unit prior to call the decoder decoding ops. Signed-off-by: Hugues Fruchet <hugues.fruc...@st.

[PATCH v1 1/3] [media] v4l: add parsed MPEG-2 support

2017-01-30 Thread Hugues Fruchet
xtra data have to be set by user through control framework using the dedicated mpeg video extended controls introduced in this patchset. Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- Documentation/media/uapi/v4l/extended-controls.rst | 363 + Documentation/media

[PATCH v1 0/3] Add support for MPEG-2 in DELTA video decoder

2017-01-30 Thread Hugues Fruchet
IDIOC_EXPBUF: OK Test input 0: Total: 43, Succeeded: 42, Failed: 1, Warnings: 6 Hugues Fruchet (3): [media] v4l: add parsed MPEG-2 support [media] st-delta: add parsing metadata controls support [media] st-delta: add mpeg2 support Documentation/media/uapi/v4l/extended-controls.rst |

[PATCH v1 3/3] [media] st-delta: add mpeg2 support

2017-01-30 Thread Hugues Fruchet
+ * Copyright (C) STMicroelectronics SA 2015 + * Authors: Hugues Fruchet <hugues.fruc...@st.com> + * Chetan Nanda <chetan.na...@st.com> + * Jean-Christophe Trotin <jean-christophe.tro...@st.com> + * for STMicroelectronics. + * License terms: GNU Gener

[PATCH v4 06/10] [media] st-delta: add memory allocator helper functions

2016-12-05 Thread Hugues Fruchet
Helper functions used by decoder back-ends to allocate physically contiguous memory required by hardware video decoder. Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- drivers/media/platform/sti/delta/Makefile| 2 +- drivers/media/platform/sti/delta/delta-mem.

[PATCH v4 09/10] [media] st-delta: add mjpeg support

2016-12-05 Thread Hugues Fruchet
Adds support of DELTA MJPEG video decoder back-end, implemented by calling JPEG_DECODER_HW0 firmware using RPMSG IPC communication layer. Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- drivers/media/platform/Kconfig | 6 + drivers/media/platform/sti

[PATCH v4 10/10] [media] st-delta: debug: trace stream/frame information & summary

2016-12-05 Thread Hugues Fruchet
the decoding process (stream information, decoded and output frames number, potential errors observed). Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- drivers/media/platform/sti/delta/Makefile | 2 +- drivers/media/platform/sti/delta/delta-debug.

[PATCH v4 07/10] [media] st-delta: rpmsg ipc support

2016-12-05 Thread Hugues Fruchet
exchanged between both host and coprocessor. This avoids to manage tables on both sides to get back the running context of each instance. Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- drivers/media/platform/Kconfig| 1 + drivers/media/platform/sti/delta/Ma

[PATCH v4 08/10] [media] st-delta: EOS (End Of Stream) support

2016-12-05 Thread Hugues Fruchet
-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- drivers/media/platform/sti/delta/delta-v4l2.c | 144 +- drivers/media/platform/sti/delta/delta.h | 23 2 files changed, 166 insertions(+), 1 deletion(-) diff --git a/drivers/media/platform/sti/delta/delta-

[PATCH v4 04/10] [media] MAINTAINERS: add st-delta driver

2016-12-05 Thread Hugues Fruchet
Add entry for the STMicroelectronics DELTA driver. Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 7db3f7a..a96dd22 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2394,6 +2

[PATCH v4 03/10] ARM: multi_v7_defconfig: enable STMicroelectronics DELTA Support

2016-12-05 Thread Hugues Fruchet
Enables support of STMicroelectronics STiH4xx SoC series DELTA multi-format video decoder V4L2 driver. Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/ar

[PATCH v4 05/10] [media] st-delta: STiH4xx multi-format video decoder v4l2 driver

2016-12-05 Thread Hugues Fruchet
This V4L2 driver enables DELTA multi-format video decoder of STMicroelectronics STiH4xx SoC series. Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- drivers/media/platform/Kconfig| 20 + drivers/media/platform/Makefile |2 + drivers/media/platfo

[PATCH v4 01/10] Documentation: DT: add bindings for ST DELTA

2016-12-05 Thread Hugues Fruchet
This patch adds DT binding documentation for STMicroelectronics DELTA V4L2 video decoder. Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- Documentation/devicetree/bindings/media/st,st-delta.txt | 17 + 1 file changed, 17 insertions(+) create mode 100644 Documen

[PATCH v4 00/10] Add support for DELTA video decoder of STMicroelectronics STiH4xx SoC series

2016-12-05 Thread Hugues Fruchet
r ioctls: test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: OK test VIDIOC_EXPBUF: OK Test input 0: Total: 43, Succeeded: 43, Failed: 0, Warnings: 6 Hugues Fruchet (10): Documentation: DT: add bindings for ST DELTA ARM: dts: STiH410: add DELTA dt node A

[PATCH v4 02/10] ARM: dts: STiH410: add DELTA dt node

2016-12-05 Thread Hugues Fruchet
This patch adds DT node for STMicroelectronics DELTA V4L2 video decoder Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- arch/arm/boot/dts/stih410.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/stih410.dtsi b/arch/arm/boot/dts/stih410.dtsi

Re: [PATCH v3 07/10] [media] st-delta: rpmsg ipc support

2016-12-05 Thread Hugues FRUCHET
Thanks Hans, I will change depends to select. BR, Hugues. On 12/05/2016 11:47 AM, Hans Verkuil wrote: > On 11/22/2016 04:53 PM, Hugues Fruchet wrote: >> IPC (Inter Process Communication) support for communication with >> DELTA coprocessor firmware using rpmsg kernel framework

Re: [PATCH v3 00/10] Add support for DELTA video decoder of STMicroelectronics STiH4xx SoC series

2016-12-05 Thread Hugues FRUCHET
Thanks Hans, I will test with new compliance. BR, Hugues. On 12/05/2016 11:18 AM, Hans Verkuil wrote: > Hi Hugues, > > On 11/22/2016 04:53 PM, Hugues Fruchet wrote: >> This patchset introduces a basic support for DELTA multi-format video >> decoder of STMicroelectroni

[PATCH v3 09/10] [media] st-delta: add mjpeg support

2016-11-22 Thread Hugues Fruchet
Adds support of DELTA MJPEG video decoder back-end, implemented by calling JPEG_DECODER_HW0 firmware using RPMSG IPC communication layer. Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- drivers/media/platform/Kconfig | 6 + drivers/media/platform/sti

[PATCH v3 04/10] [media] MAINTAINERS: add st-delta driver

2016-11-22 Thread Hugues Fruchet
Add entry for the STMicroelectronics DELTA driver. Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 7db3f7a..a96dd22 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2394,6 +2

[PATCH v3 10/10] [media] st-delta: debug: trace stream/frame information & summary

2016-11-22 Thread Hugues Fruchet
the decoding process (stream information, decoded and output frames number, potential errors observed). Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- drivers/media/platform/sti/delta/Makefile | 2 +- drivers/media/platform/sti/delta/delta-debug.

[PATCH v3 00/10] Add support for DELTA video decoder of STMicroelectronics STiH4xx SoC series

2016-11-22 Thread Hugues Fruchet
_INDEX: OK (Not Supported) test VIDIOC_(TRY_)DECODER_CMD: OK Buffer ioctls: test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: OK test VIDIOC_EXPBUF: OK Test input 0: Total: 43, Succeeded: 42, Failed: 1, Warnings: 6 Hugues Fruchet (10): Documentation: DT: ad

[PATCH v3 08/10] [media] st-delta: EOS (End Of Stream) support

2016-11-22 Thread Hugues Fruchet
-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- drivers/media/platform/sti/delta/delta-v4l2.c | 143 +- drivers/media/platform/sti/delta/delta.h | 23 + 2 files changed, 165 insertions(+), 1 deletion(-) diff --git a/drivers/media/platform/sti/delta/delta-

[PATCH v3 06/10] [media] st-delta: add memory allocator helper functions

2016-11-22 Thread Hugues Fruchet
Helper functions used by decoder back-ends to allocate physically contiguous memory required by hardware video decoder. Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- drivers/media/platform/sti/delta/Makefile| 2 +- drivers/media/platform/sti/delta/delta-mem.

[PATCH v3 01/10] Documentation: DT: add bindings for ST DELTA

2016-11-22 Thread Hugues Fruchet
This patch adds DT binding documentation for STMicroelectronics DELTA V4L2 video decoder. Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- Documentation/devicetree/bindings/media/st,st-delta.txt | 17 + 1 file changed, 17 insertions(+) create mode 100644 Documen

[PATCH v3 02/10] ARM: dts: STiH410: add DELTA dt node

2016-11-22 Thread Hugues Fruchet
This patch adds DT node for STMicroelectronics DELTA V4L2 video decoder Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- arch/arm/boot/dts/stih410.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/stih410.dtsi b/arch/arm/boot/dts/stih410.dtsi

[PATCH v3 03/10] ARM: multi_v7_defconfig: enable STMicroelectronics DELTA Support

2016-11-22 Thread Hugues Fruchet
Enables support of STMicroelectronics STiH4xx SoC series DELTA multi-format video decoder V4L2 driver. Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/ar

[PATCH v3 05/10] [media] st-delta: STiH4xx multi-format video decoder v4l2 driver

2016-11-22 Thread Hugues Fruchet
This V4L2 driver enables DELTA multi-format video decoder of STMicroelectronics STiH4xx SoC series. Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- drivers/media/platform/Kconfig| 20 + drivers/media/platform/Makefile |2 + drivers/media/platfo

[PATCH v3 07/10] [media] st-delta: rpmsg ipc support

2016-11-22 Thread Hugues Fruchet
exchanged between both host and coprocessor. This avoids to manage tables on both sides to get back the running context of each instance. Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- drivers/media/platform/Kconfig| 1 + drivers/media/platform/sti/delta/Ma

Re: [PATCH v2 05/10] [media] st-delta: STiH4xx multi-format video decoder v4l2 driver

2016-11-21 Thread Hugues FRUCHET
On 11/21/2016 03:25 PM, Hans Verkuil wrote: > On 18/11/16 12:25, Hugues Fruchet wrote: >> This V4L2 driver enables DELTA multi-format video decoder >> of STMicroelectronics STiH4xx SoC series. >> >> Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> >>

Re: [PATCH v2 10/10] [media] st-delta: debug: trace stream/frame information & summary

2016-11-21 Thread Hugues FRUCHET
On 11/21/2016 03:08 PM, Hans Verkuil wrote: > On 18/11/16 12:25, Hugues Fruchet wrote: >> Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> >> --- >> drivers/media/platform/sti/delta/Makefile | 2 +- >> drivers/media/plat

Re: [PATCH v2 08/10] [media] st-delta: EOS (End Of Stream) support

2016-11-21 Thread Hugues FRUCHET
I will add commit message and fix missing space before comment. On 11/21/2016 02:58 PM, Hans Verkuil wrote: > Same here: no commit message. > > On 18/11/16 12:25, Hugues Fruchet wrote: >> Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> >> --- >> drivers/me

Re: [PATCH v2 06/10] [media] st-delta: add contiguous memory allocator

2016-11-21 Thread Hugues FRUCHET
r other patches in this series as > well, > please always provide a valid commit message! > > Regards, > > Hans > > On 18/11/16 12:25, Hugues Fruchet wrote: >> Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> >> --- >> drivers/media/plat

[PATCH v2 10/10] [media] st-delta: debug: trace stream/frame information & summary

2016-11-18 Thread Hugues Fruchet
Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- drivers/media/platform/sti/delta/Makefile | 2 +- drivers/media/platform/sti/delta/delta-debug.c | 72 ++ drivers/media/platform/sti/delta/delta-debug.h | 18 +++ drivers/media/platform/sti/delta

[PATCH v2 07/10] [media] st-delta: rpmsg ipc support

2016-11-18 Thread Hugues Fruchet
exchanged between both host and coprocessor. This avoids to manage tables on both sides to get back the running context of each instance. Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- drivers/media/platform/Kconfig| 1 + drivers/media/platform/sti/delta/Ma

[PATCH v2 08/10] [media] st-delta: EOS (End Of Stream) support

2016-11-18 Thread Hugues Fruchet
Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- drivers/media/platform/sti/delta/delta-v4l2.c | 143 +- drivers/media/platform/sti/delta/delta.h | 23 + 2 files changed, 165 insertions(+), 1 deletion(-) diff --git a/drivers/media/platform/sti

[PATCH v2 05/10] [media] st-delta: STiH4xx multi-format video decoder v4l2 driver

2016-11-18 Thread Hugues Fruchet
This V4L2 driver enables DELTA multi-format video decoder of STMicroelectronics STiH4xx SoC series. Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- drivers/media/platform/Kconfig| 20 + drivers/media/platform/Makefile |2 + drivers/media/platfo

[PATCH v2 09/10] [media] st-delta: add mjpeg support

2016-11-18 Thread Hugues Fruchet
Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- drivers/media/platform/Kconfig | 6 + drivers/media/platform/sti/delta/Makefile | 4 + drivers/media/platform/sti/delta/delta-cfg.h | 3 + drivers/media/platform/sti/delta/delta-mjpeg-dec.c

[PATCH v2 06/10] [media] st-delta: add contiguous memory allocator

2016-11-18 Thread Hugues Fruchet
Signed-off-by: Hugues Fruchet <hugues.fruc...@st.com> --- drivers/media/platform/sti/delta/Makefile| 2 +- drivers/media/platform/sti/delta/delta-mem.c | 51 drivers/media/platform/sti/delta/delta-mem.h | 14 drivers/media/platform/sti/delta/d

<    1   2   3   4   5   >