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

"...I could accept this openness, glasnost, perestroika, or whatever you want
to call it if they did these things: abolish the one party system; open the
Soviet frontier and allow Soviet people to travel freely; allow the Soviet
people to have real free enterprise; allow Western businessmen to do business
there, and permit freedom of speech and of the press. But so far, the whole
country is like a concentration camp. The barbed wire on the fence around
the Soviet Union is to keep people inside, in the dark. This openness that
you are seeing, all these changes, are cosmetic and they have been designed
to impress shortsighted, naive, sometimes stupid Western leaders. These
leaders gush over Gorbachev, hoping to do business with the Soviet Union or
appease it. He will say: "Yes, we can do business!" This while his
military machine in Afghanistan has killed over a million people out of a
population of 17 million. Can you imagine that?
-- Victor Belenko, MiG-25 fighter pilot who defected in 1976
"Defense Electronics", Vol 20, No. 6, pg. 110