AMDXDNA Driver Introducing Per-Process Memory Usage Queries In Linux 7.1
([Linux Kernel] 5 Hours Ago
Ryzen AI NPU Driver)
- Reference: 0001623456
- News link: https://www.phoronix.com/news/AMDXDNA-Per-Process-BO-Query
- Source link:
Sent out this week was another drm-misc-next pull heading to DRM-Next ahead of next month's Linux 7.1 merge window. Notable with this week's Direct Rendering Manager code changes was introducing per-process buffer object "BO" memory usage query support for user-space.
For this AMD Ryzen AI NPU accelerator driver, there is now a user-space API for supporting per-process memory usage querying for any user-space software wanting to report on memory usage statistics for the Ryzen AI NPU hardware. The buffer object memory usage tracking on a per-client/process basis is relying on counters from the GEM memory management.
See [1]this patch for those interested in the particulars of this per-process memory usage query support.
This week's [2]drm-misc-next pull request also brought other GEM code refactoring for AMDXDNA, improving the power-off sequence for the Imagination PowerVR DRM driver, Arm China Linlon D6 support for the Komeda driver, various new panels added, and various small driver fixes.
[1] https://cgit.freedesktop.org/drm/drm-misc/commit/?id=1f513a3ec3a945efb30c963681ac32ac7b99928b
[2] https://lore.kernel.org/dri-devel/20260326151812.GA76082@linux.fritz.box/T/#u
For this AMD Ryzen AI NPU accelerator driver, there is now a user-space API for supporting per-process memory usage querying for any user-space software wanting to report on memory usage statistics for the Ryzen AI NPU hardware. The buffer object memory usage tracking on a per-client/process basis is relying on counters from the GEM memory management.
See [1]this patch for those interested in the particulars of this per-process memory usage query support.
This week's [2]drm-misc-next pull request also brought other GEM code refactoring for AMDXDNA, improving the power-off sequence for the Imagination PowerVR DRM driver, Arm China Linlon D6 support for the Komeda driver, various new panels added, and various small driver fixes.
[1] https://cgit.freedesktop.org/drm/drm-misc/commit/?id=1f513a3ec3a945efb30c963681ac32ac7b99928b
[2] https://lore.kernel.org/dri-devel/20260326151812.GA76082@linux.fritz.box/T/#u