drivers/staging/media/sunxi/cedrus

Allwinner Cedrus video decode engine (VPU)

Hardware video decoder block (the "Cedar" / Cedrus VPU) built into Allwinner ARM SoCs, used for accelerated playback of MPEG-2, H.264, H.265 and similar formats on cheap single-board computers and set-top boxes. It powers video decoding on popular boards such as Orange Pi and many other Allwinner-based devices from the early 2010s through current H6/H616/H618 chips still sold in 2025.

keep-annotate conf=0.88 deploy=medium replacement=none subsystem=staging category=media-other
88%

recommendation

Worth keeping but its staging status should be documented, because the hardware is still shipping in new boards (Orange Pi Zero 3 and other H618 devices) and the code is actively maintained, with new format support and H.265 bitstream fixes landing in 2024-2025. It remains the only mainline path for hardware video decode on Allwinner SoCs, so the main loose end is finishing the work needed to graduate it out of drivers/staging.

repository signals

16 files
5,614 source lines
78 commits, 5y
+1,151 / −661 lines added / removed, 5y
22 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 78 total · active in 28/61 months
2021 2022 2023 2024 2025 2026 2021-04: 10 commits · +75 −105 2021-05: 1 commit · +7 −1 2021-06: 3 commits · +113 −16 2021-07: 2 commits · +1 −2 2021-08: 2 commits · +5 −5 2021-09: 2 commits · +48 −0 2021-10: 1 commit · +82 −62 2021-11: 1 commit · +12 −0 2021-12: 0 commits · +0 −0 2022-01: 1 commit · +1 −1 2022-02: 3 commits · +38 −2 2022-03: 1 commit · +1 −1 2022-04: 0 commits · +0 −0 2022-05: 0 commits · +0 −0 2022-06: 7 commits · +207 −28 2022-07: 6 commits · +89 −103 2022-08: 4 commits · +8 −6 2022-09: 0 commits · +0 −0 2022-10: 3 commits · +120 −104 2022-11: 13 commits · +245 −172 2022-12: 0 commits · +0 −0 2023-01: 0 commits · +0 −0 2023-02: 0 commits · +0 −0 2023-03: 1 commit · +1 −0 2023-04: 1 commit · +2 −4 2023-05: 0 commits · +0 −0 2023-06: 0 commits · +0 −0 2023-07: 1 commit · +1 −1 2023-08: 1 commit · +1 −1 2023-09: 1 commit · +12 −12 2023-10: 0 commits · +0 −0 2023-11: 3 commits · +30 −12 2023-12: 1 commit · +4 −6 2024-01: 0 commits · +0 −0 2024-02: 0 commits · +0 −0 2024-03: 0 commits · +0 −0 2024-04: 0 commits · +0 −0 2024-05: 0 commits · +0 −0 2024-06: 0 commits · +0 −0 2024-07: 0 commits · +0 −0 2024-08: 0 commits · +0 −0 2024-09: 0 commits · +0 −0 2024-10: 2 commits · +1 −3 2024-11: 0 commits · +0 −0 2024-12: 0 commits · +0 −0 2025-01: 0 commits · +0 −0 2025-02: 0 commits · +0 −0 2025-03: 0 commits · +0 −0 2025-04: 0 commits · +0 −0 2025-05: 1 commit · +36 −1 2025-06: 0 commits · +0 −0 2025-07: 0 commits · +0 −0 2025-08: 3 commits · +8 −10 2025-09: 0 commits · +0 −0 2025-10: 1 commit · +1 −1 2025-11: 0 commits · +0 −0 2025-12: 0 commits · +0 −0 2026-01: 0 commits · +0 −0 2026-02: 2 commits · +2 −2 2026-03: 0 commits · +0 −0 2026-04: 0 commits · +0 −0

sources

  1. cateee.net

    LKDDb lists CONFIG_VIDEO_SUNXI_CEDRUS through 7.0-rc+HEAD and shows support for multiple Allwinner video-engine compatibles, indicating ongoing upstream presence rather than retirement.

  2. git.kernel.org

    Recent substantive upstream work landed for cedrus ('media: cedrus: Add support for additional output formats'), showing active maintenance in the 2024-2025 window.

  3. git.kernel.org

    Another recent cedrus-specific fix ('media: cedrus: h265: Fix configuring bitstream size') shows continuing bug-fix traffic, not removal prep.

  4. orangepi.org

    Orange Pi still markets new Allwinner H618 boards, showing Cedrus-class Allwinner SoCs remain in new-device circulation.

  5. linux-sunxi.org

    The linux-sunxi project documents Cedrus as the mainline Linux kernel path for hardware-accelerated video decode on Allwinner SoCs, indicating there is not a separate successor kernel driver.

codex reasoning notes (technical)

Real driver, not an early-exit case. Local source inspection via exec_command on cedrus/Kconfig identified it as the 'Allwinner Cedrus VPU driver' for the Cedar video engine. Upstream activity was checked first from local git history via exec_command because MCP lore endpoints were unavailable here; recent cedrus-specific commits (hashes 193cd0fd5a60 and 3a11887f7f11) were then mapped to canonical git.kernel.org commit URLs by canonical recall. Deployment evidence came from web search_query hits to LKDDb, Orange Pi's official H618 product page, and linux-sunxi. Conclusion: active maintenance plus still-sold Allwinner boards argues against deprecation/removal; because it remains under staging, 'keep-annotate' fits better than plain 'keep'.