VOOZH about

URL: https://www.phoronix.com/news/AMDXDNA-Expandable-Heap

⇱ Ryzen AI AMDXDNA Driver Adding Expandable Heap Support With Linux 7.2 - Phoronix


👁 Phoronix

Ryzen AI AMDXDNA Driver Adding Expandable Heap Support With Linux 7.2

Written by Michael Larabel in AMD on 21 May 2026 at 08:57 AM EDT. Add A Comment
AMD engineers continue enhancing the AMDXDNA accelerator driver for supporting the Ryzen AI NPUs on Linux.

Already queued in DRM-Next ahead of the Linux 7.2 merge window in June is support for AMD's next-gen "AIE4" NPU hardware with the AMDXDNA driver and other improvements. As part of the latest round of DRM-Misc-Next patches this week, another AMDXDNA feature is coming for Linux 7.2: expandable heap.

The AMDXDNA driver's expandable heap support is to allow avoiding the allocation of a large heap initially. With this new code, it's now possible to allocate a smaller initial heap and to then grow its size on-demand.

👁 AMD Ryzen AI


User-space software moving forward will now be able to trigger heap expansion on-demand as needed via the heap buffer object creation IOCTL. AMD Ryzen AI NPU firmware at least for now does not support the notion of heap shrinking but only heap expansion.

AMDXDNA expandable heap support is the main noteworthy item of the DRM-Misc-Next pull request while there are also some DRM core fixes, bug fixes for the Arm Ethos-U driver, Surface Pro 12 panel support, and other minor changes.

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.