The latest work that Raspberry Pi is working to upstream to the mainline Linux kernel is a HEVC/H.265 video decode driver that works on Raspberry Pi 4 and Raspberry Pi 5 single board computers.
Dave Stevenson of Raspberry Pi posted this HEVC decoder driver on Friday for review on the Linux kernel mailing list. He summarized:
“This has been in the pipeline for a while, but I’ve finally cleaned up our HEVC decoder driver to be in a shape to at least get a first review.
John Cox has done almost all of the work under contract to Raspberry Pi, and I’m largely just doing the process of patch curation and sending.”
This Raspberry Pi HEVC decode driver for the Linux kernel’s media subsystem is just under five thousand lines of code. This decode driver works for Broadcom BCM2711 and BCM2712 SoCs found within the Raspberry Pi 4 and Raspberry Pi 5 boards.
This new driver exposes the HEVC/H.265 decode block as a stateless Video 4 Linux 2 (V4L2) decoder device that can then be used by Linux user-space applications.
Those interested in this new Raspberry Pi HEVC decode driver now being reviewed for the mainline Linux kernel can find the initial code via this patch series. Hopefully the review will go well and it won’t be too long into 2025 before finding this new “VIDEO_RPI_HEVC_DEC” driver in the mainline Linux kernel.