arm64: allwinner: h616: Support Video Engine
Subsystems (5)
Chen-Yu Tsai
maintainercover arm64: allwinner: h616: Support Video Engine
Hi folks,
This series adds support for the Cedar video engine found in the Allwinner H616 SoC. On the way, it also fixes some issues with the DT representation for the Allwinner H6 SoC.
Patch 1 fixes the video engine's number of IOMMU endpoints on the H6 in the DT binding.
Patch 2 fixes the video engine's number of SRAM regions on the H6 in the DT binding.
Patch 3 adds a new compatible for the H616's video engine.
Patch 4 adds the new compatible for the H616's video engine to the cedrus driver.
Patch 5 adds the video engine's missing SRAM region to the H6 dtsi.
Patch 6 adds the video engine's missing IOMMU endpoint to the H6 dtsi.
Patch 7 adds a device node for the video engine to the H616 dtsi.
Patches 1-4 should go through the media tree, while patches 5-7 will go through the soc tree via the sunxi tree.
Please have a look.
Thanks
ChenYu
Chen-Yu Tsai (6):
dt-bindings: media: sun4i-a10-video-engine: Fix IOMMU count for H6
dt-bindings: media: sun4i-a10-video-engine: Fix SRAM count for H6
dt-bindings: media: sun4i-a10-video-engine: Add H616 compatible
drivers: staging: media: sunxi: cedrus: add H616 variant
arm64: dts: allwinner: sun50i-h6: Add missing SRAM region for video
engine
arm64: dts: allwinner: sun50i-h6: Add missing IOMMU for video engine
Jernej Skrabec (1):
arm64: dts: allwinner: sun50i-h616: Add video engine
.../allwinner,sun4i-a10-video-engine.yaml | 45 ++++++++++++++++++- arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 4 +- .../arm64/boot/dts/allwinner/sun50i-h616.dtsi | 12 +++++ drivers/staging/media/sunxi/cedrus/cedrus.c | 4 ++ 4 files changed, 61 insertions(+), 4 deletions(-)
Signature · 1 line
2.47.3
Chen-Yu Tsai
maintainerPATCH 1/7 dt-bindings: media: sun4i-a10-video-engine: Fix IOMMU count for H6
On the H6 SoC, the Video Engine has two memory ports, thus two IOMMU connections. The secondary one that is missing is likely used for reading reference frames. The newer H616 is the same. On the other hand, the D1 only has one memory port.
Add the missing IOMMU connection for the Video Engine.
--- .../allwinner,sun4i-a10-video-engine.yaml | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/media/allwinner,sun4i-a10-video-engine.yaml +20 -1
@@ -55,7 +55,10 @@ properties: description: Phandle to the device SRAM iommus: - maxItems: 1 + minItems: 1 + items: + - description: VE port on IOMMU + - description: VE_R port on IOMMU memory-region: maxItems: 1
@@ -82,6 +85,22 @@ required: - resets - allwinner,sram +allOf: + - if: + properties: + compatible: + contains: + enum: + - allwinner,sun50i-h6-video-engine + then: + properties: + iommus: + minItems: 2 + else: + properties: + iommus: + maxItems: 1 + additionalProperties: false examples:
Signature · 1 line
2.47.3
Chen-Yu Tsai
maintainerPATCH 2/7 dt-bindings: media: sun4i-a10-video-engine: Fix SRAM count for H6
In reply to Chen-Yu TsaiOn the H6, the SRAM C region includes an alias of part of the VE SRAM used by the video engine. This region should also be claimed so that no access happens through the alias window.
Add a second SRAM region phandle to the video engine for the H6.
--- .../allwinner,sun4i-a10-video-engine.yaml | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/media/allwinner,sun4i-a10-video-engine.yaml +20 -1
@@ -48,11 +48,15 @@ properties: allwinner,sram: $ref: /schemas/types.yaml#/definitions/phandle-array + minItems: 1 items: - items: - description: phandle to SRAM - description: register value for device - description: Phandle to the device SRAM + - items: + - description: phandle to SRAM alias + - description: register value for device + description: Phandle to the device SRAM(s) iommus: minItems: 1
@@ -101,6 +105,21 @@ allOf: iommus: maxItems: 1 + - if: + properties: + compatible: + contains: + enum: + - allwinner,sun50i-h6-video-engine + then: + properties: + allwinner,sram: + minItems: 2 + else: + properties: + allwinner,sram: + maxItems: 1 + additionalProperties: false examples:
Signature · 1 line
2.47.3
Chen-Yu Tsai
maintainerPATCH 3/7 dt-bindings: media: sun4i-a10-video-engine: Add H616 compatible
In reply to Chen-Yu TsaiThe H616 contains a video engine similar to past SoCs.
Add a new compatible for it.
--- .../bindings/media/allwinner,sun4i-a10-video-engine.yaml | 3 +++ 1 file changed, 3 insertions(+)
Documentation/devicetree/bindings/media/allwinner,sun4i-a10-video-engine.yaml +3 -0
@@ -24,6 +24,7 @@ properties: - allwinner,sun50i-a64-video-engine - allwinner,sun50i-h5-video-engine - allwinner,sun50i-h6-video-engine + - allwinner,sun50i-h616-video-engine reg: maxItems: 1
@@ -96,6 +97,7 @@ allOf: contains: enum: - allwinner,sun50i-h6-video-engine + - allwinner,sun50i-h616-video-engine then: properties: iommus:
@@ -111,6 +113,7 @@ allOf: contains: enum: - allwinner,sun50i-h6-video-engine + - allwinner,sun50i-h616-video-engine then: properties: allwinner,sram:
Signature · 1 line
2.47.3
Chen-Yu Tsai
maintainerPATCH 4/7 drivers: staging: media: sunxi: cedrus: add H616 variant
In reply to Chen-Yu TsaiThe Allwinner H616 SoC has a video engine hardware block like the one found on previous generations such as the H6. In addition to the currently supported features of the H6, it is also supposed to include a VP9 decoder. However software support for this is currently missing and still needs to be reverse engineered from the vendor BSP.
Add the compatible for the H616 variant, using the H6 variant data.
--- drivers/staging/media/sunxi/cedrus/cedrus.c | 4 ++++ 1 file changed, 4 insertions(+)
drivers/staging/media/sunxi/cedrus/cedrus.c +4 -0
@@ -695,6 +695,10 @@ static const struct of_device_id cedrus_dt_match[] = { .compatible = "allwinner,sun50i-h6-video-engine", .data = &sun50i_h6_cedrus_variant, }, + { + .compatible = "allwinner,sun50i-h616-video-engine", + .data = &sun50i_h6_cedrus_variant, + }, {/* sentinel */ } };MODULE_DEVICE_TABLE (of, cedrus_dt_match);
Signature · 1 line
2.47.3
Chen-Yu Tsai
maintainerPATCH 5/7 arm64: dts: allwinner: sun50i-h6: Add missing SRAM region for video engine
In reply to Chen-Yu TsaiThe SRAM C region contains a partial alias to the VE SRAM already referenced by the video engine. To avoid access through this alias window, the region should also be claimed by the video engine.
Add a reference to the SRAM C region to the video engine node.
--- arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi +1 -1
@@ -205,7 +205,7 @@ video-codec@1c0e000 { clock-names = "ahb", "mod", "ram"; resets = <&ccu RST_BUS_VE>; interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>; - allwinner,sram = <&ve_sram 1>; + allwinner,sram = <&ve_sram 1>, <&de2_sram 1>; iommus = <&iommu 3>; };
Signature · 1 line
2.47.3
Chen-Yu Tsai
maintainerPATCH 6/7 arm64: dts: allwinner: sun50i-h6: Add missing IOMMU for video engine
In reply to Chen-Yu TsaiThe video engine on the H6 actually has two IOMMU ports. The one already listed is simply named "VE" in the user manual. The missing one is named "VE_R" and is probably either read-only or used for reference frames. Either way, it should be listed.
Add a reference to the "VE_R" IOMMU port to the video engine node.
--- arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi +1 -1
@@ -206,7 +206,7 @@ video-codec@1c0e000 { resets = <&ccu RST_BUS_VE>; interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>; allwinner,sram = <&ve_sram 1>, <&de2_sram 1>; - iommus = <&iommu 3>; + iommus = <&iommu 3>, <&iommu 1>; }; gpu: gpu@1800000 {
Signature · 1 line
2.47.3
Chen-Yu Tsai
maintainerPATCH 7/7 arm64: dts: allwinner: sun50i-h616: Add video engine
In reply to Chen-Yu TsaiFrom: Jernej Skrabec <[email protected]>
The H616 SoC has a video engine, and two SRAM regions needed by it.
Add the video engine to the dtsi file.
--- arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+)
arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi +12 -0
@@ -175,6 +175,18 @@ crypto: crypto@1904000 { resets = <&ccu RST_BUS_CE>; }; + video-codec@1c0e000 { + compatible = "allwinner,sun50i-h616-video-engine"; + reg = <0x01c0e000 0x2000>; + clocks = <&ccu CLK_BUS_VE>, <&ccu CLK_VE>, + <&ccu CLK_MBUS_VE>; + clock-names = "ahb", "mod", "ram"; + resets = <&ccu RST_BUS_VE>; + interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>; + iommus = <&iommu 3>, <&iommu 1>; + allwinner,sram = <&ve_sram 1>, <&sram_c 1>; + }; + syscon: syscon@3000000 { compatible = "allwinner,sun50i-h616-system-control"; reg = <0x03000000 0x1000>;
Signature · 1 line
2.47.3
Re: [PATCH 1/7] dt-bindings: media: sun4i-a10-video-engine: Fix IOMMU count for H6
In reply to Chen-Yu TsaiDne torek, 5. maj 2026 ob 15:48:05 Srednjeevropski poletni čas je Chen-Yu Tsai napisal(a):
Quoted 9 lines
On the H6 SoC, the Video Engine has two memory ports, thus two IOMMU connections. The secondary one that is missing is likely used for reading reference frames. The newer H616 is the same. On the other hand, the D1 only has one memory port.
Add the missing IOMMU connection for the Video Engine.
Fixes 62a8ccf3a248 ("arm64: dts: allwinner: h6: Fix Cedrus IOMMU usage")Signed-off-by Chen-Yu Tsai <[email protected]>
Best regards,
Jernej
Re: [PATCH 2/7] dt-bindings: media: sun4i-a10-video-engine: Fix SRAM count for H6
In reply to Chen-Yu TsaiDne torek, 5. maj 2026 ob 15:48:06 Srednjeevropski poletni čas je Chen-Yu Tsai napisal(a):
Quoted 45 lines
On the H6, the SRAM C region includes an alias of part of the VE SRAM used by the video engine. This region should also be claimed so that no access happens through the alias window.
Add a second SRAM region phandle to the video engine for the H6.
Signed-off-by Chen-Yu Tsai <[email protected]>--- .../allwinner,sun4i-a10-video-engine.yaml | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-)Documentation/devicetree/bindings/media/allwinner,sun4i-a10-video-engine.yaml +13
-1@@ -48,11 +48,15 @@ properties: allwinner,sram: $ref: /schemas/types.yaml#/definitions/phandle-array + minItems: 1 items: - items: - description: phandle to SRAM - description: register value for device - description: Phandle to the device SRAM + - items: + - description: phandle to SRAM alias + - description: register value for device + description: Phandle to the device SRAM(s) iommus: minItems: 1@@ -101,6 +105,21 @@ allOf: iommus: maxItems: 1 + - if: + properties: + compatible: + contains: + enum: + - allwinner,sun50i-h6-video-engine + then: + properties:
Documentation/devicetree/bindings/media/allwinner,sun4i-a10-video-engine.yaml allOf: · line 125
Quoted 10 lines
Documentation/devicetree/bindings/media/allwinner,sun4i-a10-video-engine.yaml +7
-0+ allwinner,sram: + minItems: 2 + else: + properties: + allwinner,sram: + maxItems: 1 + additionalProperties: false examples:
Best regards,
Jernej
Re: [PATCH 3/7] dt-bindings: media: sun4i-a10-video-engine: Add H616 compatible
In reply to Chen-Yu TsaiDne torek, 5. maj 2026 ob 15:48:07 Srednjeevropski poletni čas je Chen-Yu Tsai napisal(a):
Quoted 1 line
The H616 contains a video engine similar to past SoCs.
Maybe add that it's first to support VP9?
Quoted 4 lines
Add a new compatible for it.
Signed-off-by Chen-Yu Tsai <[email protected]>
Either way:
Best regards,
Jernej
Re: [PATCH 4/7] drivers: staging: media: sunxi: cedrus: add H616 variant
In reply to Chen-Yu TsaiDne torek, 5. maj 2026 ob 15:48:08 Srednjeevropski poletni čas je Chen-Yu Tsai napisal(a):
Quoted 3 lines
The Allwinner H616 SoC has a video engine hardware block like the one found on previous generations such as the H6. In addition to the currently supported features of the H6, it is also supposed to include
Remove "supposed".
Quoted 6 lines
a VP9 decoder. However software support for this is currently missing and still needs to be reverse engineered from the vendor BSP.
Add the compatible for the H616 variant, using the H6 variant data.
Signed-off-by Chen-Yu Tsai <[email protected]>
With that:
Best regards,
Jernej
Re: [PATCH 5/7] arm64: dts: allwinner: sun50i-h6: Add missing SRAM region for video engine
In reply to Chen-Yu TsaiDne torek, 5. maj 2026 ob 15:48:09 Srednjeevropski poletni čas je Chen-Yu Tsai napisal(a):
Quoted 8 lines
The SRAM C region contains a partial alias to the VE SRAM already referenced by the video engine. To avoid access through this alias window, the region should also be claimed by the video engine.
Add a reference to the SRAM C region to the video engine node.
Fixes b542570e5605 ("arm64: dts: allwinner: h6: Add Video Engine node")Signed-off-by Chen-Yu Tsai <[email protected]>
Best regards,
Jernej
Re: [PATCH 6/7] arm64: dts: allwinner: sun50i-h6: Add missing IOMMU for video engine
In reply to Chen-Yu TsaiDne torek, 5. maj 2026 ob 15:48:10 Srednjeevropski poletni čas je Chen-Yu Tsai napisal(a):
Quoted 9 lines
The video engine on the H6 actually has two IOMMU ports. The one already listed is simply named "VE" in the user manual. The missing one is named "
VE_R" and is probably either read-only or used for reference frames. Either way, it should be listed.Add a reference to the "
VE_R" IOMMU port to the video engine node.Fixes 62a8ccf3a248 ("arm64: dts: allwinner: h6: Fix Cedrus IOMMU usage")Signed-off-by Chen-Yu Tsai <[email protected]>
Best regards,
Jernej
Paul Kocialkowski
maintainerRe: [PATCH 5/7] arm64: dts: allwinner: sun50i-h6: Add missing SRAM region for video engine
In reply to Chen-Yu TsaiHi Chen-Yu,
Quoted 5 lines · Chen-Yu Tsai
The SRAM C region contains a partial alias to the VE SRAM already referenced by the video engine. To avoid access through this alias window, the region should also be claimed by the video engine.
Add a reference to the SRAM C region to the video engine node.
It feels very weird to have a reference to the DE2 SRAM region in the VE node. It seems unlikely that the same region would be used by both DE2 and VE and I am pretty sure can have both running at the same time without overstepping.
From what I can see we have so far assumed that the SRAM C and SRAM C1 are two different physical SRAM areas, but this is most likely not the case. My guess would be that SRAM C1 is actually a part of SRAM C and the DE2 is using another part of it. The syscon block probably allows switching access to these different parts of SRAM C.
Also the sram_c1 node implies it's 2 MiB, which sounds quite unlikely.
All the best,
Paul
Quoted 23 lines
Fixes b542570e5605 ("arm64: dts: allwinner: h6: Add Video Engine node")Signed-off-by Chen-Yu Tsai <[email protected]>--- arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi +1
-1@@ -205,7 +205,7 @@ video-codec@1c0e000 { clock-names = "ahb", "mod", "ram"; resets = <&ccu RST_BUS_VE>; interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>; - allwinner,sram = <&ve_sram 1>; + allwinner,sram = <&ve_sram 1>, <&de2_sram 1>; iommus = <&iommu 3>; };Signature · 1 line
2.47.3
Signature · 6 lines
Paul Kocialkowski, Independent contractor - sys-base - https://www.sys-base.io/ Free software developer - https://www.paulk.fr/ Expert in multimedia, graphics and embedded hardware support with Linux.
Re: [PATCH 2/7] dt-bindings: media: sun4i-a10-video-engine: Fix SRAM count for H6
In reply to Chen-Yu TsaiQuoted 11 lines · Chen-Yu Tsai
On the H6, the SRAM C region includes an alias of part of the VE SRAM used by the video engine. This region should also be claimed so that no access happens through the alias window.
Add a second SRAM region phandle to the video engine for the H6.
Signed-off-by Chen-Yu Tsai <[email protected]>--- .../allwinner,sun4i-a10-video-engine.yaml | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-)
Re: [PATCH 1/7] dt-bindings: media: sun4i-a10-video-engine: Fix IOMMU count for H6
In reply to Chen-Yu TsaiQuoted 5 lines · Chen-Yu Tsai
On the H6 SoC, the Video Engine has two memory ports, thus two IOMMU connections. The secondary one that is missing is likely used for reading reference frames. The newer H616 is the same. On the other hand, the D1 only has one memory port.
Quoted 8 lines
Add the missing IOMMU connection for the Video Engine.
Fixes 62a8ccf3a248 ("arm64: dts: allwinner: h6: Fix Cedrus IOMMU usage")Signed-off-by Chen-Yu Tsai <[email protected]>--- .../allwinner,sun4i-a10-video-engine.yaml | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-)
Re: [PATCH 3/7] dt-bindings: media: sun4i-a10-video-engine: Add H616 compatible
In reply to Chen-Yu TsaiQuoted 9 lines · Chen-Yu Tsai
The H616 contains a video engine similar to past SoCs.
Add a new compatible for it.
Signed-off-by Chen-Yu Tsai <[email protected]>--- .../bindings/media/allwinner,sun4i-a10-video-engine.yaml | 3 +++ 1 file changed, 3 insertions(+)
Chen-Yu Tsai
maintainerRe: [PATCH 5/7] arm64: dts: allwinner: sun50i-h6: Add missing SRAM region for video engine
In reply to Paul KocialkowskiQuoted 10 lines · Paul Kocialkowski
Hi Chen-Yu,
Quoted 5 lines · Chen-Yu Tsai
The SRAM C region contains a partial alias to the VE SRAM already referenced by the video engine. To avoid access through this alias window, the region should also be claimed by the video engine.
Add a reference to the SRAM C region to the video engine node.
Quoted 8 lines
It feels very weird to have a reference to the DE2 SRAM region in the VE node. It seems unlikely that the same region would be used by both DE2 and VE and I am pretty sure can have both running at the same time without overstepping.
From what I can see we have so far assumed that the SRAM C and SRAM C1 are two different physical SRAM areas, but this is most likely not the case. My guess would be that SRAM C1 is actually a part of SRAM C and the DE2 is
No. It's the opposite. 0x28000 maps to the same SRAM block at 0x1a00000. If you write to one, you see the results in both. However the alias at 028000 can be disabled while retaining access to 0x1a00000. I don't remember how much of the alias points to VE SRAM (0x1a00000). Maybe it was the whole alias on the H6.
Also, I can't remember if this was tested on the H6 or H616, but the VE indeed writes to VE SRAM (0x1a00000), so that part is indeed used by the video engine.
Quoted 2 lines
using another part of it. The syscon block probably allows switching access to these different parts of SRAM C.
From what I've seen in the vendor BSP, both drivers toggle the switch. I believe the goal is to prevent the CPU from having access, rather than either peripheral claiming it as its own. And that is also what our SRAM driver does. It claims the SRAM from the CPU. That's all. The toggle bit pattern used by both drivers is the same.
Quoted 1 line
Also the
sram_c1node implies it's 2 MiB, which sounds quite unlikely.
That is what the memory map says. Calling it SRAM C1 is probably wrong.
ChenYu
Quoted 35 lines
All the best,
Paul
Quoted 21 lines
Fixes b542570e5605 ("arm64: dts: allwinner: h6: Add Video Engine node")Signed-off-by Chen-Yu Tsai <[email protected]>--- arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi +1
-2@@ -205,7 +205,7 @@ video-codec@1c0e000 { clock-names = "ahb", "mod", "ram"; resets = <&ccu RST_BUS_VE>; interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>; - allwinner,sram = <&ve_sram 1>; + allwinner,sram = <&ve_sram 1>, <&de2_sram 1>; iommus = <&iommu 3>; }; --Quoted 2 lines
2.47.3
--
Paul Kocialkowski,Independent contractor - sys-base - https://www.sys-base.io/
Free software developer - https://www.paulk.fr/Expert in multimedia, graphics and embedded hardware support with Linux.
Chen-Yu Tsai
maintainerRe: [PATCH 4/7] drivers: staging: media: sunxi: cedrus: add H616 variant
In reply to Jernej ŠkrabecQuoted 7 lines · Jernej Škrabec
Dne torek, 5. maj 2026 ob 15:48:08 Srednjeevropski poletni čas je Chen-Yu Tsai napisal(a):
Quoted 3 lines
The Allwinner H616 SoC has a video engine hardware block like the one found on previous generations such as the H6. In addition to the currently supported features of the H6, it is also supposed to include
Remove "supposed".
I can't actually verify that, so "supposed" is accurate from my point of view.
ChenYu
Quoted 14 lines
Quoted 6 lines
a VP9 decoder. However software support for this is currently missing and still needs to be reverse engineered from the vendor BSP.
Add the compatible for the H616 variant, using the H6 variant data.
Signed-off-by Chen-Yu Tsai <[email protected]>With that:
Reviewed-by Jernej Skrabec <[email protected]>Best regards,
Jernej
Jernej Škrabec
maintainerRe: [PATCH 4/7] drivers: staging: media: sunxi: cedrus: add H616 variant
Dne sobota, 30. maj 2026 ob 18:43:05 Srednjeevropski poletni čas je Chen-Yu Tsai napisal(a):
Quoted 11 lines · Jernej Škrabec
Quoted 7 lines
Dne torek, 5. maj 2026 ob 15:48:08 Srednjeevropski poletni čas je Chen-Yu Tsai napisal(a):
Quoted 3 lines
The Allwinner H616 SoC has a video engine hardware block like the one found on previous generations such as the H6. In addition to the currently supported features of the H6, it is also supposed to include
Remove "supposed".
I can't actually verify that, so "supposed" is accurate from my point of view.
Isn't info from manual good enough?
In the interest of unblocking this, I would be fine with "supposed" too, but manual and all my experiments show VP9 is supported.
Best regards,
Jernej
Quoted 18 lines
ChenYu
Quoted 14 lines
Quoted 6 lines
a VP9 decoder. However software support for this is currently missing and still needs to be reverse engineered from the vendor BSP.
Add the compatible for the H616 variant, using the H6 variant data.
Signed-off-by Chen-Yu Tsai <[email protected]>With that:
Reviewed-by Jernej Skrabec <[email protected]>Best regards,
Jernej
Chen-Yu Tsai
maintainerRe: [PATCH 4/7] drivers: staging: media: sunxi: cedrus: add H616 variant
Quoted 9 lines · Jernej Škrabec
Dne sobota, 30. maj 2026 ob 18:43:05 Srednjeevropski poletni čas je Chen-Yu Tsai napisal(a):
Quoted 7 lines · Jernej Škrabec
Quoted 6 lines
Dne torek, 5. maj 2026 ob 15:48:08 Srednjeevropski poletni čas je Chen-Yu Tsai napisal(a):
Quoted 3 lines
The Allwinner H616 SoC has a video engine hardware block like the one found on previous generations such as the H6. In addition to the currently supported features of the H6, it is also supposed to include
Quoted 6 lines
Quoted 4 lines
Quoted 1 line
Remove "supposed".
I can't actually verify that, so "supposed" is accurate from my point of view.
Isn't info from manual good enough?
The manual says the SoC supports it. Same was said for the H6. Then we discovered that the VP9 decoder was a separate Hantro block.
So again, *I* cannot claim in the commit message that the hardware block supports VP9 decoding, because I have not verified it.
Quoted 2 lines
In the interest of unblocking this, I would be fine with "supposed" too, but manual and all my experiments show VP9 is supported.
Please give an ack or reviewed-by with a comment at the end stating VP9 verified.
Thanks
ChenYu
Quoted 26 lines
Best regards,
JernejQuoted 18 lines
ChenYu
Quoted 14 lines
Quoted 6 lines
a VP9 decoder. However software support for this is currently missing and still needs to be reverse engineered from the vendor BSP.
Add the compatible for the H616 variant, using the H6 variant data.
Signed-off-by Chen-Yu Tsai <[email protected]>With that:
Reviewed-by Jernej Skrabec <[email protected]>Best regards,
Jernej
Re: [PATCH 4/7] drivers: staging: media: sunxi: cedrus: add H616 variant
Dne sobota, 13. junij 2026 ob 16:34:00 Srednjeevropski poletni čas je Chen-Yu Tsai napisal(a):
Quoted 20 lines · Jernej Škrabec
Quoted 9 lines
Dne sobota, 30. maj 2026 ob 18:43:05 Srednjeevropski poletni čas je Chen-Yu Tsai napisal(a):
Quoted 7 lines · Jernej Škrabec
Quoted 6 lines
Dne torek, 5. maj 2026 ob 15:48:08 Srednjeevropski poletni čas je Chen-Yu Tsai napisal(a):
Quoted 3 lines
The Allwinner H616 SoC has a video engine hardware block like the one found on previous generations such as the H6. In addition to the currently supported features of the H6, it is also supposed to include
Quoted 6 lines
Quoted 4 lines
Quoted 1 line
Remove "supposed".
I can't actually verify that, so "supposed" is accurate from my point of view.
Isn't info from manual good enough?
The manual says the SoC supports it. Same was said for the H6. Then we discovered that the VP9 decoder was a separate Hantro block.
Quoted 8 lines
So again, *I* cannot claim in the commit message that the hardware block supports VP9 decoding, because I have not verified it.
Quoted 2 lines
In the interest of unblocking this, I would be fine with "supposed" too, but manual and all my experiments show VP9 is supported.
Please give an ack or reviewed-by with a comment at the end stating VP9 verified.
Well, just go with original text.
Best regards,
Jernej
Quoted 33 lines
Thanks
ChenYuQuoted 26 lines
Best regards,
JernejQuoted 18 lines
ChenYu
Quoted 14 lines
Quoted 6 lines
a VP9 decoder. However software support for this is currently missing and still needs to be reverse engineered from the vendor BSP.
Add the compatible for the H616 variant, using the H6 variant data.
Signed-off-by Chen-Yu Tsai <[email protected]>With that:
Reviewed-by Jernej Skrabec <[email protected]>Best regards,
Jernej