Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #89165 > unrolled thread

Bug#1114868: Please enable CONFIG_DRM_ACCEL_AMDXDNA for AMD Ryzen AI NPU support

Started byneptune <nomail@address.com>
First post2025-09-11 01:10 +0200
Last post2025-12-15 21:20 +0100
Articles 5 — 4 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#1114868: Please enable CONFIG_DRM_ACCEL_AMDXDNA for AMD Ryzen AI NPU support neptune <nomail@address.com> - 2025-09-11 01:10 +0200
    Bug#1114868: Please enable CONFIG_DRM_ACCEL_AMDXDNA for AMD Ryzen AI NPU support Helmut Grohne <helmut@subdivi.de> - 2025-12-05 15:10 +0100
      Bug#1114868: Please enable CONFIG_DRM_ACCEL_AMDXDNA for AMD Ryzen AI NPU support Salvatore Bonaccorso <carnil@debian.org> - 2025-12-06 13:30 +0100
    Processed: Re: Bug#1114868: Please enable CONFIG_DRM_ACCEL_AMDXDNA  for AMD Ryzen AI NPU support "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-12-06 13:30 +0100
    Bug#1114868: marked as done (Please enable CONFIG_DRM_ACCEL_AMDXDNA  for AMD Ryzen AI NPU support) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-12-15 21:20 +0100

#89165 — Bug#1114868: Please enable CONFIG_DRM_ACCEL_AMDXDNA for AMD Ryzen AI NPU support

Fromneptune <nomail@address.com>
Date2025-09-11 01:10 +0200
SubjectBug#1114868: Please enable CONFIG_DRM_ACCEL_AMDXDNA for AMD Ryzen AI NPU support
Message-ID<LtC6R-enYY-3@gated-at.bofh.it>
Package: linux-image-amd64
Version: 6.16.5-1
Severity: wishlist
X-Debbugs-Cc: nomail@address.com

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

I have an AMD Ryzen AI HX 370 processor with integrated NPU (Neural Processing Unit). The hardware is detected by the system but the AMDXDNA driver is disabled in the Debian kernel configuration, preventing NPU acceleration usage.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

- Verified hardware detection: NPU visible via lspci as "Strix/Krackan/Strix Halo Neural Processing Unit"
- Installed latest firmware-amd-graphics from testing
- Updated to kernel 6.16.5+deb14-amd64 (latest unstable)
- Checked kernel configuration: CONFIG_DRM_ACCEL_AMDXDNA is disabled

   * What was the outcome of this action?

The AMDXDNA driver module is not available, preventing NPU functionality despite hardware support and upstream driver availability since kernel 6.14.

Additional details:
Hardware: AMD Ryzen AI HX 370 with NPU
$ lspci | grep Neural
c7:00.1 Signal processing controller: Advanced Micro Devices, Inc. [AMD] Strix/Krackan/Strix Halo Neural Processing Unit (rev 10)

Kernel config status:
$ grep -i AMDXDNA /boot/config-$(uname -r)
# CONFIG_DRM_ACCEL_AMDXDNA is not set

However: CONFIG_DRM_ACCEL=y (framework is enabled)

Request: Please enable CONFIG_DRM_ACCEL_AMDXDNA=m in future Debian kernel builds to support AMD Ryzen AI NPU hardware acceleration.

The AMDXDNA driver has been upstream and stable since kernel 6.14, and would benefit many users with recent AMD Ryzen AI processors.

Thank you for your consideration.

   * What outcome did you expect instead?

CONFIG_DRM_ACCEL_AMDXDNA=m should be enabled in the kernel configuration, allowing the AMDXDNA driver module to be built and made available for AMD Ryzen AI NPU hardware acceleration.

-- System Information:
Debian Release: 13.1
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable'), (450, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.16.5+deb14-amd64 (SMP w/24 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages linux-image-amd64 depends on:
ii  linux-image-6.16.5+deb14-amd64  6.16.5-1

linux-image-amd64 recommends no packages.

linux-image-amd64 suggests no packages.

-- no debconf information

[toc] | [next] | [standalone]


#90371

FromHelmut Grohne <helmut@subdivi.de>
Date2025-12-05 15:10 +0100
Message-ID<LYEFr-zx6-7@gated-at.bofh.it>
In reply to#89165
On Thu, Sep 11, 2025 at 01:04:10AM +0200, neptune wrote:
> Package: linux-image-amd64
> Version: 6.16.5-1
> Severity: wishlist
> X-Debbugs-Cc: nomail@address.com
> 
>    * What exactly did you do (or not do) that was effective (or
>      ineffective)?
> 
> - Verified hardware detection: NPU visible via lspci as "Strix/Krackan/Strix Halo Neural Processing Unit"
> - Installed latest firmware-amd-graphics from testing
> - Updated to kernel 6.16.5+deb14-amd64 (latest unstable)
> - Checked kernel configuration: CONFIG_DRM_ACCEL_AMDXDNA is disabled
> 
>    * What was the outcome of this action?
> 
> The AMDXDNA driver module is not available, preventing NPU functionality despite hardware support and upstream driver availability since kernel 6.14.
> 
> Additional details:
> Hardware: AMD Ryzen AI HX 370 with NPU
> $ lspci | grep Neural
> c7:00.1 Signal processing controller: Advanced Micro Devices, Inc. [AMD] Strix/Krackan/Strix Halo Neural Processing Unit (rev 10)
> 
> Kernel config status:
> $ grep -i AMDXDNA /boot/config-$(uname -r)
> # CONFIG_DRM_ACCEL_AMDXDNA is not set
> 
> However: CONFIG_DRM_ACCEL=y (framework is enabled)
> 
> Request: Please enable CONFIG_DRM_ACCEL_AMDXDNA=m in future Debian kernel builds to support AMD Ryzen AI NPU hardware acceleration.
> 
> The AMDXDNA driver has been upstream and stable since kernel 6.14, and would benefit many users with recent AMD Ryzen AI processors.

I note that this driver also applies to all AMD Ryzen AI 5 and AMD Ryzen 
AI 7 processors such as those installed into Framework 13 AMD
and Tuxedo Infinity Book 14 laptops.

The userland software for this driver is completely missing in Debian. 
Cordell Bloor has done an initial writeup of what is needed at
https://wiki.debian.org/XDNA

In any case, the availability of this driver would lay the foundation of 
forwarding the hardware device into podman containers that would 
actually be able to make use o the functionality. Therefore, I suggest 
that the addition of the driver would be useful to enable tinkering with 
this hardware feature.

Helmut

[toc] | [prev] | [next] | [standalone]


#90376

FromSalvatore Bonaccorso <carnil@debian.org>
Date2025-12-06 13:30 +0100
Message-ID<LYZAd-N3p-15@gated-at.bofh.it>
In reply to#90371
Control: forwarded -1 https://salsa.debian.org/kernel-team/linux/-/merge_requests/1737 
Control: tags -1 + patch

Hi Helmut,

On Thu, Dec 04, 2025 at 01:44:36PM +0100, Helmut Grohne wrote:
> On Thu, Sep 11, 2025 at 01:04:10AM +0200, neptune wrote:
> > Package: linux-image-amd64
> > Version: 6.16.5-1
> > Severity: wishlist
> > X-Debbugs-Cc: nomail@address.com
> > 
> >    * What exactly did you do (or not do) that was effective (or
> >      ineffective)?
> > 
> > - Verified hardware detection: NPU visible via lspci as "Strix/Krackan/Strix Halo Neural Processing Unit"
> > - Installed latest firmware-amd-graphics from testing
> > - Updated to kernel 6.16.5+deb14-amd64 (latest unstable)
> > - Checked kernel configuration: CONFIG_DRM_ACCEL_AMDXDNA is disabled
> > 
> >    * What was the outcome of this action?
> > 
> > The AMDXDNA driver module is not available, preventing NPU functionality despite hardware support and upstream driver availability since kernel 6.14.
> > 
> > Additional details:
> > Hardware: AMD Ryzen AI HX 370 with NPU
> > $ lspci | grep Neural
> > c7:00.1 Signal processing controller: Advanced Micro Devices, Inc. [AMD] Strix/Krackan/Strix Halo Neural Processing Unit (rev 10)
> > 
> > Kernel config status:
> > $ grep -i AMDXDNA /boot/config-$(uname -r)
> > # CONFIG_DRM_ACCEL_AMDXDNA is not set
> > 
> > However: CONFIG_DRM_ACCEL=y (framework is enabled)
> > 
> > Request: Please enable CONFIG_DRM_ACCEL_AMDXDNA=m in future Debian kernel builds to support AMD Ryzen AI NPU hardware acceleration.
> > 
> > The AMDXDNA driver has been upstream and stable since kernel 6.14, and would benefit many users with recent AMD Ryzen AI processors.
> 
> I note that this driver also applies to all AMD Ryzen AI 5 and AMD Ryzen 
> AI 7 processors such as those installed into Framework 13 AMD
> and Tuxedo Infinity Book 14 laptops.
> 
> The userland software for this driver is completely missing in Debian. 
> Cordell Bloor has done an initial writeup of what is needed at
> https://wiki.debian.org/XDNA
> 
> In any case, the availability of this driver would lay the foundation of 
> forwarding the hardware device into podman containers that would 
> actually be able to make use o the functionality. Therefore, I suggest 
> that the addition of the driver would be useful to enable tinkering with 
> this hardware feature.

Okay make sense to me. I have opened a MR for this for review of the
other team members if they agree on having it already enabled.

https://salsa.debian.org/kernel-team/linux/-/merge_requests/1737

Regards,
Salvatore

[toc] | [prev] | [next] | [standalone]


#90377 — Processed: Re: Bug#1114868: Please enable CONFIG_DRM_ACCEL_AMDXDNA for AMD Ryzen AI NPU support

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2025-12-06 13:30 +0100
SubjectProcessed: Re: Bug#1114868: Please enable CONFIG_DRM_ACCEL_AMDXDNA for AMD Ryzen AI NPU support
Message-ID<LYZAd-N3p-17@gated-at.bofh.it>
In reply to#89165
Processing control commands:

> forwarded -1 https://salsa.debian.org/kernel-team/linux/-/merge_requests/1737
Bug #1114868 [src:linux] Please enable CONFIG_DRM_ACCEL_AMDXDNA for AMD Ryzen AI NPU support
Set Bug forwarded-to-address to 'https://salsa.debian.org/kernel-team/linux/-/merge_requests/1737'.
> tags -1 + patch
Bug #1114868 [src:linux] Please enable CONFIG_DRM_ACCEL_AMDXDNA for AMD Ryzen AI NPU support
Added tag(s) patch.

-- 
1114868: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1114868
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#90479 — Bug#1114868: marked as done (Please enable CONFIG_DRM_ACCEL_AMDXDNA for AMD Ryzen AI NPU support)

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2025-12-15 21:20 +0100
SubjectBug#1114868: marked as done (Please enable CONFIG_DRM_ACCEL_AMDXDNA for AMD Ryzen AI NPU support)
Message-ID<M2nd1-39KH-39@gated-at.bofh.it>
In reply to#89165

[Multipart message — attachments visible in raw view] — view raw

Your message dated Mon, 15 Dec 2025 20:10:12 +0000
with message-id <E1vVEtY-00GipN-29@fasolo.debian.org>
and subject line Bug#1114868: fixed in linux 6.18.1-1~exp1
has caused the Debian Bug report #1114868,
regarding Please enable CONFIG_DRM_ACCEL_AMDXDNA for AMD Ryzen AI NPU support
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1114868: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1114868
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web