News: 0001559257

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

AMDKFD Kernel Compute Driver Used By ROCm Can Work On LoongArch Hardware

([AMD] 11 Hours Ago AMDKFD + LoongArch)


The [1]AMDKFD "Kernel Fusion Driver" used as the Linux kernel GPU compute driver and necessary part of their [2]ROCm compute stack it turns out can build and run on the Chinese-developed LoongArch systems rather easily.

Similar to what I pointed out a few weeks back of [3]AMDKFD coming to RISC-V systems , a similar patch has now been proposed for enabling AMDKFD / AMD HSA compute driver support for LoongArch CPU architecture systems.

Like with the recent RISC-V support and before that POWER 64-bit, the AMD kernel driver can compile easily on LoongArch too -- joining x86_64 and ARM64/AArch64 as the other supported architectures currently.

Just updating the "HSA_AMD" Kconfig dependencies to adding LoongArch is all that's needed for this kernel driver to build on LoongArch hardware. [4]This patch lays it out.

"KFD has been confirmed that can run on LoongArch systems.

It's necessary to support CONFIG_HSA_AMD on LoongArch."

Developer Han Gao didn't comment on the ROCm user-space software building for LoongArch, but given that it's already been built/tested on RISC-V and other architectures, is presumably working fine too on this MIPS/RISC-V inspired Chinese architecture.

This patch is currently under review but given that it's fairly straight-forward, it will presumably be picked up rather quickly by the kernel.



[1] https://www.phoronix.com/search/AMDKFD

[2] https://www.phoronix.com/search/ROCm

[3] https://www.phoronix.com/news/AMDKFD-RISC-V-Linux-6.16

[4] https://lists.freedesktop.org/archives/amd-gfx/2025-July/126998.html



uid313

cend

"Because he's a character who's looking for his own identity, [He-Man is]
an interesting role for an actor."
-- Dolph Lundgren, "actor"