Initial USB Audio Offloading Code Merged For Linux 6.16

Initial USB Audio Offloading Code Merged For Linux 6.16

Merged on Friday to the Linux 6.16 kernel by the use of the USB/Thunderbolt department was the huge set of patches (12k+ strains of code) for USB offload help for audio gadgets.

This work was the huge enterprise by Qualcomm to help USB audio offloading to profit at the very least their SoCs with an audio DSP that may take accountability for issuing transfers to the USB host controller to release system sources. This USB audio offloading code to get to the mainline Linux kernel took years and 30+ rounds of code evaluation.

For Qualcomm {hardware} the place the USB audio will be offloaded to a devoted audio DSP for dealing with the transfers to the USB host controller, this lessens the work of the primary CPU cores and can assist with energy administration so these CPU cores can hit decrease energy states or deal with different work. Other {hardware} distributors will hopefully comply with swimsuit of their help for the upstream help round USB audio offloading.

USB subsystem maintainer Greg Kroah-Hartman summed it up within the USB pull request as:

"USB offload help for audio gadgets. I believe this takes the document for probably the most variety of patch sequence (30+) over the longest time period (2+ years) to get merged correctly. Many props go to Wesley Cheng for seeing this effort via, they took a significant out-of-tree hacked-up-monstrosity that was created by a number of distributors for his or her particular gadgets, received all of it merged right into a semi-coherent set of adjustments, and received all the completely different main subsystems to agree on how this ought to be carried out each with adjustments to their code in addition to userspace apis, AND wrangled the {hardware} corporations into agreeing to go ahead with this, regardless of making all of them redo work that they had already completed of their non-public machine timber. This function provides main energy financial savings on embedded gadgets the place a USB audio stream can proceed to stream whereas the remainder of the system is sleeping, one thing that gadgets operating on battery energy actually care about. There are nonetheless some extra small tweaks left to be completed right here, and people patches are nonetheless out for evaluation and arguing among the many completely different {hardware} corporations, however it is a main step ahead and an ideal instance of methods to do upstream growth properly."

The USB updates for Linux 6.16 additionally cleared out some very previous driver code to lighten the kernel by some 11k strains of code, so it balances issues out with all the new USB audio code merged.

HI-FI News

through Phoronix https://ift.tt/lYDEnNy

June 7, 2025 at 12:33PM