2022-04-25 22:27:34

by Christopher Obbard

[permalink] [raw]
Subject: [PATCH v2 0/3] Rockchip RK3328 VDEC support

This series adds VDEC support for the Rockchip RK3328 SoC which
uses the staging rkvdec driver.

Testing was performed using both v4l-compliance and (mainline) gstreamer
using the fluster framework:

$ v4l2-compliance -m0
v4l2-compliance 1.22.1, 64 bits, 64-bit time_t
...
Grand Total for rkvdec device /dev/media0: 54, Succeeded: 54, Failed: 0, Warnings: 0


$ python3 fluster.py run -j1 -ts JVT-AVC_V1 -d GStreamer-H.264-V4L2SL-Gst1.0
...
Ran 111/135 tests successfully in 392.885 secs


$ python3 fluster.py run -j1 -ts VP9-TEST-VECTORS -d GStreamer-VP9-V4L2SL-Gst1.0
...
Ran 206/303 tests successfully in 1170.120 secs


Changes in v2:
- Fix mistake in dt-binding compatible documentation
- Remove unused reset nodes from devicetree
- Improve some commit messages
- Check all dts files against dtbs_check
- Collect review tags on unchanged patches

Christopher Obbard (3):
media: dt-bindings: media: rockchip-vdec: Add RK3328 compatible
arm64: dts: rockchip: Rename vdec_mmu node for RK3328
arm64: dts: rockchip: Add vdec support for RK3328

.../bindings/media/rockchip,vdec.yaml | 3 +++
arch/arm64/boot/dts/rockchip/rk3328.dtsi | 22 +++++++++++++++++--
2 files changed, 23 insertions(+), 2 deletions(-)

--
2.34.1


2022-04-25 23:01:13

by Christopher Obbard

[permalink] [raw]
Subject: [PATCH v2 2/3] arm64: dts: rockchip: Rename vdec_mmu node for RK3328

All other rockchip devices which have vdec nodes do not
have an rk prefix. Remove the prefix from the (currently
unused) rkvdec_mmu node for consistency with other
devices.

Signed-off-by: Christopher Obbard <[email protected]>
Reviewed-by: Ezequiel Garcia <[email protected]>
---
arch/arm64/boot/dts/rockchip/rk3328.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/rk3328.dtsi
index b822533dc7f1..f8ef149fedad 100644
--- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi
@@ -660,7 +660,7 @@ vpu_mmu: iommu@ff350800 {
power-domains = <&power RK3328_PD_VPU>;
};

- rkvdec_mmu: iommu@ff360480 {
+ vdec_mmu: iommu@ff360480 {
compatible = "rockchip,iommu";
reg = <0x0 0xff360480 0x0 0x40>, <0x0 0xff3604c0 0x0 0x40>;
interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
--
2.34.1