HeadlinesBriefing favicon HeadlinesBriefing.com

Rockchip Video Decoders Officially Supported in Linux Kernel

Hacker News •
×

The upstream Linux kernel now includes support for Rockchip's VDPU381 and VDPU383 video decoders, found in the RK3588 and RK3576 SoCs respectively. This integration brings native hardware decoding for H.264 and HEVC to the mainline kernel. A critical fix addressed a subtle IOMMU reset issue where decoder resets inadvertently wiped cached address mappings, causing decoding failures after error recovery.

The solution explicitly restores IOMMU mappings post-reset. Additionally, new V4L2 stateless HEVC UAPI controls were added to handle explicit short-term and long-term reference picture sets, crucial for Rockchip's decoder architecture and ensuring Vulkan Video Decode API compatibility. The driver now uses C structs to represent register layouts, enforcing complete register writes and strict write order, essential for reliability and future multi-core support on RK3588.