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

"The best thing for being sad," replied Merlin, beginning to puff
and blow, "is to learn something. That's the only thing that never fails.
You may grow old and trembling in your anatomies, you may lie awake at
night listening to the disorder of your veins, you may miss your only love,
you may see the world about you devastated by evil lunatics, or know your
honour trampled in the sewers of baser minds. There is only one thing for
it then -- to learn. Learn why the world wags and what wags it. That is
the only thing which the mind can never exhaust, never alienate, never be
tortured by, never fear or distrust, and never dream of regretting. Learning
is the only thing for you. Look what a lot of things there are to learn."
-- T. H. White, "The Once and Future King"