Commit 63c4db0095ca on boltzmann vp9-enablement-iter1 branch adds the full register-packing path: RCB addresses, block clock-gating defaults, frame-area timeout threshold (with rkvdec_schedule_watchdog), 8-segment packing helper, ref/mode-deltas bit-packing into 28/14-bit combined fields, and first-cut probability storage aliasing. Branch is now at 4 commits, 1390 LoC across 4 files. Module compiles clean against 7.0.0-rc3 ARM64 kernel. What remains potentially-needed for first-light is in reg103_frame_flags (prob_update_en, ref/mode/single/comp refresh enables, etc.) — currently zero-init; will tune in Phase 6 if byte-compare diverges from SW. Phase 3 (hardware install + first decode) is the natural inflection point. Module artifact is at boltzmann:~/src/linux-rockchip/drivers/media /platform/rockchip/rkvdec/rockchip-vdec.ko, ready to install on ampere after backing up the current sibling-campaign module. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
ampere-vp9-enablement
Stand-alone port + upstream-targeting work to enable VP9 hardware decode on Rockchip RK3588's rkvdec (vdpu381 register layout).
Status (2026-05-17 ~01:00)
Upstream RK3588 mainline rkvdec (Casanova v7.0 series, landed in Linux 7.0) supports H.264 + HEVC only. VP9 is on Collabora's stated roadmap but no WIP series has been posted to linux-media as of this campaign open. The legacy rkvdec-vp9.c (RK3399 / vdpu341 hardware) is feature-complete at 1042 lines but its register-config logic does not translate directly to vdpu381.
This campaign:
- Ports VP9 enablement to vdpu381 register layout (new file
rkvdec-vdpu381-vp9.c) - Registers VP9 V4L2 controls in
vdpu38x_vp9_ctrl_descs[] - Adds VP9 fmt to
vdpu381_coded_fmts[]with the new ops - Verifies bit-perfect HW vs SW decode (per feedback_compare_hw_against_sw_reference)
- Proposes upstream via linux-media
Sibling campaign: ampere-kernel-decoders closed at HEVC bit-perfect (kernel-agent#14 + #15 are the prerequisite kernel fixes).
Scope (out of)
- VP9 on RK3399 (works via legacy
rkvdec-vp9.calready in mainline) - VP9 on hantro (hantro decoder on RK3588 doesn't expose VP9; this campaign targets rkvdec)
- AV1 on RK3588 (separate work; AV1 is on hantro fdc70000 already + per Collabora)
- VP8 (already works via hantro)
- HEVC (closed in ampere-kernel-decoders)
Process
8-phase loop (per ~/.claude/CLAUDE.md). All commits via claude-noether identity. Patches will be RFC-quality and routed via kernel-agent once ready.