linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] Enable JPEG encoding on rk3588
@ 2024-03-20 17:37 Emmanuel Gil Peyrot
  2024-03-20 17:37 ` [PATCH 1/4] dt-bindings: iommu: rockchip: Fix rk3588 variant Emmanuel Gil Peyrot
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: Emmanuel Gil Peyrot @ 2024-03-20 17:37 UTC (permalink / raw)
  To: linux-kernel
  Cc: Emmanuel Gil Peyrot, Ezequiel Garcia, Philipp Zabel,
	Mauro Carvalho Chehab, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Heiko Stuebner, Joerg Roedel, Will Deacon,
	Robin Murphy, Sebastian Reichel, Cristian Ciocaltea, Dragan Simic,
	Shreeya Patel, Chris Morgan, Andy Yan, Nicolas Frattaroli,
	linux-media, linux-rockchip, devicetree, linux-arm-kernel, iommu

Only the JPEG encoder is available for now, although there are patches
for the undocumented VP8 encoder floating around[0].

This has been tested on a rock-5b, resulting in four /dev/video*
encoders.  The userspace program I’ve been using to test them is
Onix[1], using the jpeg-encoder example, it will pick one of these four
at random (but displays the one it picked):
% ffmpeg -i <input image> -pix_fmt yuvj420p temp.yuv
% jpeg-encoder temp.yuv <width> <height> NV12 <quality> output.jpeg

[0] https://patchwork.kernel.org/project/linux-rockchip/list/?series=789885
[1] https://crates.io/crates/onix

Emmanuel Gil Peyrot (4):
  dt-bindings: iommu: rockchip: Fix rk3588 variant
  media: dt-binding: media: Document rk3588’s vepu121
  arm64: dts: rockchip: Add VEPU121 to rk3588
  media: verisilicon: Enable VEPU121 on rk3588

 .../bindings/media/rockchip,rk3568-vepu.yaml  |  1 +
 arch/arm64/boot/dts/rockchip/rk3588s.dtsi     | 82 ++++++++++++++++++-
 drivers/iommu/rockchip-iommu.c                |  3 +
 .../media/platform/verisilicon/hantro_drv.c   |  1 +
 .../media/platform/verisilicon/hantro_hw.h    |  1 +
 .../platform/verisilicon/rockchip_vpu_hw.c    | 13 +++
 6 files changed, 100 insertions(+), 1 deletion(-)

-- 
2.44.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2024-03-27 13:10 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-20 17:37 [PATCH 0/4] Enable JPEG encoding on rk3588 Emmanuel Gil Peyrot
2024-03-20 17:37 ` [PATCH 1/4] dt-bindings: iommu: rockchip: Fix rk3588 variant Emmanuel Gil Peyrot
2024-03-20 19:15   ` Sebastian Reichel
2024-03-21  8:14   ` Krzysztof Kozlowski
2024-03-20 17:37 ` [PATCH 2/4] media: dt-binding: media: Document rk3588’s vepu121 Emmanuel Gil Peyrot
2024-03-20 20:16   ` Sebastian Reichel
2024-03-21  8:14   ` Krzysztof Kozlowski
2024-03-21  8:47     ` Heiko Stübner
2024-03-21  9:19       ` Krzysztof Kozlowski
2024-03-21  9:32         ` Heiko Stübner
2024-03-22 14:57           ` Nicolas Dufresne
2024-03-20 17:37 ` [PATCH 3/4] arm64: dts: rockchip: Add VEPU121 to rk3588 Emmanuel Gil Peyrot
2024-03-21  8:15   ` Krzysztof Kozlowski
2024-03-27 12:40     ` Link Mauve
2024-03-27 13:09       ` Sebastian Reichel
2024-03-20 17:37 ` [PATCH 4/4] media: verisilicon: Enable VEPU121 on rk3588 Emmanuel Gil Peyrot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).