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
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
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
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
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
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
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
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
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
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
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 :)
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
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
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
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
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
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
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
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
, 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
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
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
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
)
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
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
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
>
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
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
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
<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
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.
>
> //
>
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
32 matches
Mail list logo