drivers/accel/amdxdna

AMD XDNA Neural Processing Units (Ryzen AI NPUs)

The on-die AI accelerator (neural processing unit) found in AMD's Ryzen AI laptop and embedded processors, branded XDNA. It offloads machine-learning inference workloads from the CPU and GPU and is exposed to userspace through the kernel's accelerator framework as a PCI device.

keep conf=0.94 deploy=medium replacement=none subsystem=accel category=other
94%

recommendation

It should stay in the kernel because this supports the NPU (neural processing unit) built into AMD's Ryzen AI client and embedded CPUs, which is current shipping silicon. AMD launched Ryzen AI 300 laptops with XDNA 2 in early 2025 and announced Ryzen AI Embedded parts using the same NPU in early 2026, and the driver itself is actively maintained upstream with regular bug fixes and no signs of retirement.

repository signals

34 files
9,780 source lines
111 commits, 5y
+11,704 / −1,881 lines added / removed, 5y
17 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 111 total · active in 17/61 months
2021 2022 2023 2024 2025 2026 2021-04: 0 commits · +0 −0 2021-05: 0 commits · +0 −0 2021-06: 0 commits · +0 −0 2021-07: 0 commits · +0 −0 2021-08: 0 commits · +0 −0 2021-09: 0 commits · +0 −0 2021-10: 0 commits · +0 −0 2021-11: 0 commits · +0 −0 2021-12: 0 commits · +0 −0 2022-01: 0 commits · +0 −0 2022-02: 0 commits · +0 −0 2022-03: 0 commits · +0 −0 2022-04: 0 commits · +0 −0 2022-05: 0 commits · +0 −0 2022-06: 0 commits · +0 −0 2022-07: 0 commits · +0 −0 2022-08: 0 commits · +0 −0 2022-09: 0 commits · +0 −0 2022-10: 0 commits · +0 −0 2022-11: 0 commits · +0 −0 2022-12: 0 commits · +0 −0 2023-01: 0 commits · +0 −0 2023-02: 0 commits · +0 −0 2023-03: 0 commits · +0 −0 2023-04: 0 commits · +0 −0 2023-05: 0 commits · +0 −0 2023-06: 0 commits · +0 −0 2023-07: 0 commits · +0 −0 2023-08: 0 commits · +0 −0 2023-09: 0 commits · +0 −0 2023-10: 0 commits · +0 −0 2023-11: 0 commits · +0 −0 2023-12: 0 commits · +0 −0 2024-01: 0 commits · +0 −0 2024-02: 0 commits · +0 −0 2024-03: 0 commits · +0 −0 2024-04: 0 commits · +0 −0 2024-05: 0 commits · +0 −0 2024-06: 0 commits · +0 −0 2024-07: 0 commits · +0 −0 2024-08: 0 commits · +0 −0 2024-09: 0 commits · +0 −0 2024-10: 0 commits · +0 −0 2024-11: 9 commits · +7,510 −16 2024-12: 11 commits · +793 −261 2025-01: 11 commits · +81 −73 2025-02: 4 commits · +28 −7 2025-03: 2 commits · +406 −110 2025-04: 2 commits · +9 −20 2025-05: 2 commits · +14 −11 2025-06: 2 commits · +108 −94 2025-07: 3 commits · +369 −32 2025-08: 4 commits · +180 −233 2025-09: 4 commits · +406 −213 2025-10: 8 commits · +790 −206 2025-11: 8 commits · +414 −21 2025-12: 13 commits · +224 −305 2026-01: 4 commits · +19 −3 2026-02: 21 commits · +228 −173 2026-03: 3 commits · +125 −103 2026-04: 0 commits · +0 −0

sources

  1. docs.kernel.org

    Upstream kernel documentation has a dedicated amdxdna driver section and states it supports the AMD NPU.

  2. amd.com

    AMD said Ryzen AI 300 / PRO 300 systems with AMD XDNA 2 NPUs were expected to ship starting in Q1 2025, showing fresh commercial deployment in the target window.

  3. amd.com

    AMD announced Ryzen AI Embedded processors in 2026 with XDNA 2 NPUs and an open software stack, indicating ongoing new embedded deployments beyond laptops.

codex reasoning notes (technical)

Keep. Local inspection via shell `sed` of Kconfig and `amdxdna_pci_drv.c` showed this is a real PCI DRM accel driver for AMD NPUs integrated into Ryzen AI client CPUs, with firmware entries and supported device IDs. Local git history via `git -c safe.directory=... log` showed active maintenance through 2026-03-10 with many bugfixes and no deprecation/removal discussion hits for the directory; the only 'remove' subjects were scoped internal cleanups such as dropping specific support paths, not driver retirement. URLs were obtained with web search plus `open`/`find`: kernel docs page for official upstream scope, AMD's 2025 CES press release for new-in-2025 Ryzen AI 300 availability, and AMD's 2026 embedded press release for continued current-market XDNA deployment. `lei`/lore MCP was unavailable in this environment, so upstream-attention checking used the local kernel history fallback instead of live lore queries.