claude-noether afa456c92c Phase 2 close addendum: gitea push deferred (sideband disconnect)
Followup to 3834ba0. Two push attempts to gitea
(claude-noether/linux-rk3588-marfrit:vp9-enablement-iter1) failed with
"send-pack: unexpected disconnect while reading sideband packet".
Likely cause: the branch base linux-rk3588-marfrit on boltzmann is
ahead of gitea remote and the resulting pack is too large to push in
one shot under current ssh stability.

Workaround for next session:
  1. cd ~/src/linux-rockchip on boltzmann
  2. git push gitea linux-rk3588-marfrit  (sync the base first)
  3. git push gitea vp9-enablement-iter1  (then push the campaign branch)

Or use --push.optionspack to chunk; or use HTTPS+token if SSH stays
flaky.

Commits remain durable on boltzmann disk (~/src/linux-rockchip,
branch vp9-enablement-iter1, head 71cc0d96d212).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-16 23:23:42 +00:00

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:

  1. Ports VP9 enablement to vdpu381 register layout (new file rkvdec-vdpu381-vp9.c)
  2. Registers VP9 V4L2 controls in vdpu38x_vp9_ctrl_descs[]
  3. Adds VP9 fmt to vdpu381_coded_fmts[] with the new ops
  4. Verifies bit-perfect HW vs SW decode (per feedback_compare_hw_against_sw_reference)
  5. 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.c already 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.

S
Description
VP9 HW decode enablement on RK3588 rkvdec/vdpu381 — upstream-aligned port
Readme 78 KiB
Languages
Markdown 100%