drivers/gpu/drm/amd/amdkfd

AMD KFD compute driver for Instinct and Radeon GPUs (ROCm/HSA)

The kernel-side compute interface that lets AMD Instinct accelerators and compute-capable Radeon and Radeon PRO GPUs run general-purpose GPU workloads under the ROCm and HSA stacks. It works alongside the main amdgpu graphics driver to expose queues, memory, and signalling for machine-learning and HPC software.

keep conf=0.95 deploy=medium replacement=none subsystem=gpu category=graphics-display
95%

recommendation

It should stay because this is the in-tree home of AMD's ROCm/HSA compute support, paired with amdgpu and actively maintained: recent work includes 2025 enablement on LoongArch and fixes landing upstream in 2026, and AMD continues to sell and support Instinct and Radeon PRO accelerators that depend on it. There is no alternative driver for this role.

repository signals

68 files
47,332 source lines
1,099 commits, 5y
+42,387 / −23,747 lines added / removed, 5y
150 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 1,099 total · active in 60/61 months
2021 2022 2023 2024 2025 2026 2021-04: 23 commits · +775 −223 2021-05: 20 commits · +220 −143 2021-06: 25 commits · +596 −287 2021-07: 22 commits · +263 −179 2021-08: 14 commits · +701 −189 2021-09: 13 commits · +54 −90 2021-10: 29 commits · +816 −590 2021-11: 34 commits · +907 −925 2021-12: 27 commits · +866 −222 2022-01: 17 commits · +332 −138 2022-02: 33 commits · +496 −2,394 2022-03: 28 commits · +961 −360 2022-04: 31 commits · +3,299 −275 2022-05: 40 commits · +4,313 −1,990 2022-06: 17 commits · +115 −63 2022-07: 11 commits · +644 −99 2022-08: 11 commits · +516 −476 2022-09: 17 commits · +897 −683 2022-10: 12 commits · +568 −718 2022-11: 13 commits · +479 −389 2022-12: 11 commits · +66 −47 2023-01: 15 commits · +95 −60 2023-02: 18 commits · +330 −192 2023-03: 26 commits · +378 −163 2023-04: 3 commits · +15 −3 2023-05: 23 commits · +695 −88 2023-06: 16 commits · +273 −85 2023-07: 24 commits · +781 −1,777 2023-08: 33 commits · +1,063 −350 2023-09: 17 commits · +176 −164 2023-10: 15 commits · +503 −379 2023-11: 7 commits · +385 −358 2023-12: 9 commits · +269 −255 2024-01: 23 commits · +850 −639 2024-02: 16 commits · +712 −275 2024-03: 16 commits · +169 −92 2024-04: 22 commits · +163 −86 2024-05: 22 commits · +1,350 −1,203 2024-06: 21 commits · +1,488 −189 2024-07: 13 commits · +243 −84 2024-08: 13 commits · +228 −176 2024-09: 10 commits · +110 −40 2024-10: 15 commits · +1,283 −271 2024-11: 15 commits · +183 −83 2024-12: 13 commits · +90 −61 2025-01: 16 commits · +2,375 −2,118 2025-02: 27 commits · +1,905 −551 2025-03: 20 commits · +404 −200 2025-04: 14 commits · +303 −90 2025-05: 12 commits · +173 −107 2025-06: 12 commits · +83 −93 2025-07: 8 commits · +180 −36 2025-08: 21 commits · +199 −151 2025-09: 14 commits · +1,160 −336 2025-10: 18 commits · +857 −549 2025-11: 17 commits · +281 −123 2025-12: 16 commits · +104 −58 2026-01: 19 commits · +1,462 −1,355 2026-02: 8 commits · +122 −110 2026-03: 5 commits · +26 −18 2026-04: 0 commits · +0 −0

sources

  1. cateee.net

    LKDDb identifies this directory as CONFIG_HSA_AMD, the HSA kernel driver for AMD GPU devices, with module name amdkfd and presence through current kernel series.

  2. rocm.docs.amd.com

    AMD ROCm system requirements list currently supported Instinct and Radeon/PRO GPUs, including current-generation accelerators, showing the hardware class is still sold and deployed.

  3. lkml.rescloud.iu.edu

    A 2025 patch series enabled KFD on LoongArch 64-bit systems, indicating ongoing feature work rather than retirement.

  4. mail-archive.com

    A March 25, 2026 amd-gfx thread shows a recent amdkfd fix being applied upstream, demonstrating active maintenance.

codex reasoning notes (technical)

Keep. This is an active production compute driver subtree, not legacy-only code. Local shell inspection of Kconfig and `git -c safe.directory=... log` showed many substantive 2026 fixes in this path and no actual deprecation/removal series; the grep hits for 'remove' were code-cleanup commits, not removal discussion. Sources obtained via web search: turn1search0 (LKDDb for driver identity/current kernel presence), turn0search0 (AMD ROCm supported GPU list for present-day hardware/deployment evidence), turn1search7 (2025 LoongArch enablement patch), and turn2search4 (2026 applied upstream fix thread). No natural replacement driver exists for the same HSA/ROCm kernel-compute role; amdkfd remains the in-tree implementation paired with amdgpu.