On 2025-07-09 02:51, Han Gao wrote:
KFD has been confirmed that can run on LoongArch systems.
It's necessary to support CONFIG_HSA_AMD on LoongArch.

Signed-off-by: Han Gao <[email protected]>

Thank you. I'm applying this patch to amd-staging-drm-next.

Reviewed-by: Felix Kuehling <[email protected]>


---

Changes in v2:
   Add 64BIT

v1: 
https://lore.kernel.org/amd-gfx/[email protected]/T/#t

  drivers/gpu/drm/amd/amdkfd/Kconfig | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdkfd/Kconfig 
b/drivers/gpu/drm/amd/amdkfd/Kconfig
index 62e88e5362e9..16e12c9913f9 100644
--- a/drivers/gpu/drm/amd/amdkfd/Kconfig
+++ b/drivers/gpu/drm/amd/amdkfd/Kconfig
@@ -5,7 +5,7 @@
config HSA_AMD
        bool "HSA kernel driver for AMD GPU devices"
-       depends on DRM_AMDGPU && (X86_64 || ARM64 || PPC64 || (RISCV && 64BIT))
+       depends on DRM_AMDGPU && (X86_64 || ARM64 || PPC64 || (RISCV && 64BIT) || 
(LOONGARCH && 64BIT))
        select HMM_MIRROR
        select MMU_NOTIFIER
        select DRM_AMDGPU_USERPTR

Reply via email to