[PATCH 1/6] V4L2: Add Renesas R-Car JPEG codec driver.

2014-08-19 Thread Mikhail Ulyanov
Signed-off-by: Mikhail Ulyanov mikhail.ulya...@cogentembedded.com --- drivers/media/platform/Kconfig | 11 + drivers/media/platform/Makefile |2 + drivers/media/platform/jpu.c| 1630 +++ 3 files changed, 1646 insertions(+) create mode 100644 drivers

[PATCH 0/6] R-Car JPEG Processing Unit

2014-08-19 Thread Mikhail Ulyanov
for destination. This series of patches is against the 'devel' branch of kernel.googlesource.com/pub/scm/linux/kernel/git/horms/renesas repo. Mikhail Ulyanov (6): V4L2: Add Renesas R-Car JPEG codec driver. ARM: shmobile: r8a7790: Add JPU clock dt and CPG define. ARM: shmobile: r8a7790: Add JPU device

[PATCH 5/6] ARM: shmobile: r8a7791: Add JPU device node.

2014-08-19 Thread Mikhail Ulyanov
Signed-off-by: Mikhail Ulyanov mikhail.ulya...@cogentembedded.com --- arch/arm/boot/dts/r8a7791.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791.dtsi index c2d0c6e..464962a 100644 --- a/arch/arm/boot/dts/r8a7791.dtsi +++ b

[PATCH 6/6] devicetree: bindings: Document Renesas JPEG Processing Unit.

2014-08-19 Thread Mikhail Ulyanov
Signed-off-by: Mikhail Ulyanov mikhail.ulya...@cogentembedded.com --- .../devicetree/bindings/media/renesas,jpu.txt | 23 ++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/renesas,jpu.txt diff --git a/Documentation/devicetree

[PATCH 2/6] ARM: shmobile: r8a7790: Add JPU clock dt and CPG define.

2014-08-19 Thread Mikhail Ulyanov
Signed-off-by: Mikhail Ulyanov mikhail.ulya...@cogentembedded.com --- arch/arm/boot/dts/r8a7790.dtsi| 6 +++--- include/dt-bindings/clock/r8a7790-clock.h | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790

[PATCH 3/6] ARM: shmobile: r8a7790: Add JPU device node.

2014-08-19 Thread Mikhail Ulyanov
Signed-off-by: Mikhail Ulyanov mikhail.ulya...@cogentembedded.com --- arch/arm/boot/dts/r8a7790.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi index 61fd193..c8bc048 100644 --- a/arch/arm/boot/dts/r8a7790.dtsi +++ b

[PATCH 4/6] ARM: shmobile: r8a7791: Add JPU clock dt and CPG define.

2014-08-19 Thread Mikhail Ulyanov
Signed-off-by: Mikhail Ulyanov mikhail.ulya...@cogentembedded.com --- arch/arm/boot/dts/r8a7791.dtsi| 6 +++--- include/dt-bindings/clock/r8a7791-clock.h | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791

[PATCH v2 1/6] V4L2: Add Renesas R-Car JPEG codec driver.

2014-08-25 Thread Mikhail Ulyanov
v4l2_ctrl_subscribe_event and v4l2_event_unsubscribe now in use by the same reason Signed-off-by: Mikhail Ulyanov mikhail.ulya...@cogentembedded.com --- drivers/media/platform/Kconfig | 11 + drivers/media/platform/Makefile |2 + drivers/media/platform/jpu.c | 1628

[PATCH v2 6/6] devicetree: bindings: Document Renesas JPEG Processing Unit.

2014-08-25 Thread Mikhail Ulyanov
Documentation for Renesas JPU devicetree node. Changes since v1: - First line typo fixed - renesas,jpu-gen2 compatability option added Signed-off-by: Mikhail Ulyanov mikhail.ulya...@cogentembedded.com --- .../devicetree/bindings/media/renesas,jpu.txt | 23

[PATCH v3 1/1] V4L2: platform: Renesas R-Car JPEG codec driver

2015-04-29 Thread Mikhail Ulyanov
and V4L2_PIX_FMT_NV12M and V4L2_PIX_FMT_NV16M for destination. Performance of current version: 1280x800 NV12 image encoding/decoding decoding ~121 FPS encoding ~190 FPS Signed-off-by: Mikhail Ulyanov mikhail.ulya...@cogentembedded.com --- Changes since v2: - Kconfig entry reordered

Re: [PATCH v3 1/1] V4L2: platform: Renesas R-Car JPEG codec driver

2015-06-26 Thread Mikhail Ulyanov
Hi, Thanks everybody for comments. 2015-06-22 17:54 GMT+03:00 Kamil Debski ka...@wypas.org: Hi, I am adding Jacek Anaszewski to CC loop. He was working with the s5p-jpeg driver some time ago. I've spoken with him about questions in this email recently. Jacek, thank you for your comments :)

Re: [PATCH v3 1/1] V4L2: platform: Renesas R-Car JPEG codec driver

2015-06-26 Thread Mikhail Ulyanov
2015-06-26 15:14 GMT+03:00 Kamil Debski ka...@wypas.org: Hi Mikhail, On 26 June 2015 at 12:34, Mikhail Ulyanov mikhail.ulya...@cogentembedded.com wrote: Hi, Thanks everybody for comments. 2015-06-22 17:54 GMT+03:00 Kamil Debski ka...@wypas.org: Hi, I am adding Jacek Anaszewski to CC

[PATCH v4 1/1] V4L2: platform: Add Renesas R-Car JPEG codec driver.

2015-06-26 Thread Mikhail Ulyanov
Signed-off-by: Mikhail Ulyanov mikhail.ulya...@cogentembedded.com --- Changes since v3: - driver file renamed to rcar_jpu.c - semiplanar formats NV12 and NV16 support - new callbacks streamon, job_abort and stop_streaming - extra processing error information printout irq handler

Re: [PATCH 0/3] R-Car JPEG Processing Unit

2015-07-21 Thread Mikhail Ulyanov
Hi Simon, 2015-07-22 3:41 GMT+03:00 Simon Horman ho...@verge.net.au: Hi Mikhail, On Tue, Jul 21, 2015 at 05:00:19AM +0300, Mikhail Ulyanov wrote: This series of patches contains a driver for the JPEG codec integrated peripheral found in the Renesas R-Car SoCs and associated DT documentation

[PATCH 0/3] R-Car JPEG Processing Unit

2015-07-22 Thread Mikhail Ulyanov
test VIDIOC_EXPBUF: OK Test input 0: Streaming ioctls: test read/write: OK (Not Supported) test MMAP: OK test USERPTR: OK (Not Supported) test DMABUF: Cannot test, specify --expbuf-device Total: 45, Succeeded: 45, Failed: 0, Warnings: 0 Mikhail

[PATCH v6 1/3] V4L2: platform: Add Renesas R-Car JPEG codec driver

2015-07-22 Thread Mikhail Ulyanov
Signed-off-by: Mikhail Ulyanov mikhail.ulya...@cogentembedded.com --- Changes since v5: - VIDIOC_CREATE_BUFS support added(m2m helper and jpu_queue_setup fix) - VIDIOC_EXPBUF support added(m2m helper) Changes since v4: - ARCH dependency added to Kconfig - module name fix in Kconfig

[PATCH v3 2/3] devicetree: bindings: Document Renesas R-Car JPEG Processing Unit

2015-07-22 Thread Mikhail Ulyanov
Add Renesas R-Car JPEG processing unit driver device tree bindings documentation. Signed-off-by: Mikhail Ulyanov mikhail.ulya...@cogentembedded.com --- Changes since v2: - remove generic renesas,jpu-gen2 descriptor Changes since v1: - Fix typos .../devicetree/bindings/media/renesas,jpu.txt

[PATCH 3/3] MAINTAINERS: V4L2: PLATFORM: Add entry for Renesas JPEG Processing Unit driver

2015-07-22 Thread Mikhail Ulyanov
Update RENESAS JPU driver maintainer in MAINTAINERS file. Signed-off-by: Mikhail Ulyanov mikhail.ulya...@cogentembedded.com --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index b65b22b..da57ec1 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

Re: [PATCH v4 1/1] V4L2: platform: Add Renesas R-Car JPEG codec driver.

2015-07-15 Thread Mikhail Ulyanov
Hello, If you have any comments or suggestion, please let me know :) Asking because it seems stuck for nearly a 3 weeks... 2015-06-26 14:37 GMT+03:00 Mikhail Ulyanov mikhail.ulya...@cogentembedded.com: Here's the driver for the Renesas R-Car JPEG processing unit. [snip] -- W.B.R, Mikhail

Re: [PATCH v4 1/1] V4L2: platform: Add Renesas R-Car JPEG codec driver.

2015-07-19 Thread Mikhail Ulyanov
, Warnings: 2 2015-07-17 11:50 GMT+03:00 Hans Verkuil hverk...@xs4all.nl: Hi Mikhail, On 06/26/2015 01:37 PM, Mikhail Ulyanov wrote: Here's the driver for the Renesas R-Car JPEG processing unit. The driver is implemented within the V4L2 framework as a memory-to-memory device. It presents

Re: [PATCH] v4l2-mem2mem: drop lock in v4l2_m2m_fop_mmap

2015-07-20 Thread Mikhail Ulyanov
Hi Hans, 2015-07-20 10:58 GMT+03:00 Hans Verkuil hverk...@xs4all.nl: Since vb2_fop_mmap doesn't take the lock, neither should v4l2_m2m_fop_mmap. Signed-off-by: Hans Verkuil hans.verk...@cisco.com [snip] Tested-by: Mikhail Ulyanov mikhail.ulya...@cogentembedded.com -- W.B.R, Mikhail

[PATCH v5 1/3] V4L2: platform: Add Renesas R-Car JPEG codec driver

2015-07-20 Thread Mikhail Ulyanov
Signed-off-by: Mikhail Ulyanov mikhail.ulya...@cogentembedded.com --- Changes since v4: - ARCH dependency added to Kconfig - module name fix in Kconfig - add v4l2_buf.sequence number filling - add v4l2_buf.field copy from source to destination buffer - only valid flags in destination

[PATCH v3 2/3] devicetree: bindings: Document Renesas R-Car JPEG Processing Unit

2015-07-20 Thread Mikhail Ulyanov
Add Renesas R-Car JPEG processing unit driver device tree bindings documentation. Signed-off-by: Mikhail Ulyanov mikhail.ulya...@cogentembedded.com --- Changes since v2: - remove generic renesas,jpu-gen2 descriptor Changes since v1: - Fix typos .../devicetree/bindings/media/renesas,jpu.txt

[PATCH 0/3] R-Car JPEG Processing Unit

2015-07-20 Thread Mikhail Ulyanov
) test MMAP: OK test USERPTR: OK (Not Supported) test DMABUF: Cannot test, specify --expbuf-device Total: 45, Succeeded: 45, Failed: 0, Warnings: 2 Mikhail Ulyanov (3): V4L2: platform: Add Renesas R-Car JPEG codec driver. devicetree: bindings: Document Renesas JPEG

[PATCH 3/3] MAINTAINERS: V4L2: PLATFORM: Add entry for Renesas JPEG Processing Unit driver

2015-07-20 Thread Mikhail Ulyanov
Update RENESAS JPU driver maintainer in MAINTAINERS file. Signed-off-by: Mikhail Ulyanov mikhail.ulya...@cogentembedded.com --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index b65b22b..da57ec1 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

Re: [PATCH] [media] VIDEO_RENESAS_JPU should depend on HAS_DMA

2015-09-14 Thread Mikhail Ulyanov
s JPEG Processing Unit" > - depends on VIDEO_DEV && VIDEO_V4L2 > + depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA > depends on ARCH_SHMOBILE || COMPILE_TEST > select VIDEOBUF2_DMA_CONTIG > select V4L2_MEM2MEM_DEV > -- > 1.9.1 >

[PATCH 1/2] V4L2: platform: rcar_jpu: remove redundant code

2015-10-01 Thread Mikhail Ulyanov
Remove redundant code. Following code line do what we want. Signed-off-by: Mikhail Ulyanov <mikhail.ulya...@cogentembedded.com> --- drivers/media/platform/rcar_jpu.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/media/platform/rcar_jpu.c b/drivers/media/platform/rcar_jpu.c

[PATCH 0/2] media: platform: rcar_jpu: code cleanup and release function changes

2015-10-01 Thread Mikhail Ulyanov
This series of patches includes improvements and code cleanup for rcar_jpu driver. Mikhail Ulyanov (2): V4L2: platform: rcar_jpu: remove redundant code V4L2: platform: rcar_jpu: switch off clock on release later drivers/media/platform/rcar_jpu.c | 13 + 1 file changed, 5

[PATCH 2/2] V4L2: platform: rcar_jpu: switch off clock on release later

2015-10-01 Thread Mikhail Ulyanov
Give JPU peripheral chance to finish current job. Don't switch off clock until context release. Signed-off-by: Mikhail Ulyanov <mikhail.ulya...@cogentembedded.com> --- drivers/media/platform/rcar_jpu.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers

Re: [PATCH -next] [media] rcar_jpu: Add missing clk_disable_unprepare() on error in jpu_open()

2016-07-12 Thread Mikhail Ulyanov
<yongjun_...@trendmicro.com.cn> Hello, Wei Yongjun. Thanks for the patch! Acked-by: Mikhail Ulyanov <mikhail.ulya...@cogentembedded.com> -- W.B.R, Mikhail. -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kerne

Re: [PATCH 04/12] [media] V4L2: platform: rcar_jpu: constify v4l2_m2m_ops structures

2017-08-10 Thread Mikhail Ulyanov
On Sun, Aug 6, 2017 at 11:25 AM, Julia Lawall wrote: > The v4l2_m2m_ops structures are only passed as the only > argument to v4l2_m2m_init, which is declared as const. > Thus the v4l2_m2m_ops structures themselves can be const. > > Done with the help of Coccinelle. > > // >

Re: [PATCH v2 1/3] rcar_jpu: Remove unrequired wait in .job_abort

2018-07-06 Thread Mikhail Ulyanov
Acked-by: Mikhail Ulyanov On Mon, Jun 18, 2018 at 7:38 AM, Ezequiel Garcia wrote: > As per the documentation, job_abort is not required > to wait until the current job finishes. It is redundant > to do so, as the core will perform the wait operation. > > Remove the wait