drivers/gpu/drm/amd/amdxcp

AMD Instinct MI300/MI350 GPU Spatial Partitioning (XCP) Helper

A small DRM helper that supports AMD's spatial partitioning (XCP) feature on Instinct data-center accelerators such as the MI300X, MI325X, and MI350X/MI355X, allowing a single GPU to be carved into multiple isolated compute slices for AI and HPC workloads. It works alongside the main amdgpu driver rather than driving hardware on its own.

keep conf=0.84 deploy=low replacement=none subsystem=gpu category=graphics-display
84%

recommendation

It should stay because the underlying hardware is brand new — the MI350X launched in June 2025 — and AMD actively documents partitioning across its current Instinct lineup. Upstream activity confirms ongoing maintenance, including a 2025 fix for memory release on partition teardown, and there is no alternative implementation outside amdgpu itself. Deployments are narrow (data-center AI/HPC) but the code is current and necessary for that use case.

repository signals

3 files
182 source lines
7 commits, 5y
+223 / −16 lines added / removed, 5y
5 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 7 total · active in 7/61 months
2021 2022 2023 2024 2025 2026 2021-04: 0 commits · +0 −0 2021-05: 0 commits · +0 −0 2021-06: 0 commits · +0 −0 2021-07: 0 commits · +0 −0 2021-08: 0 commits · +0 −0 2021-09: 0 commits · +0 −0 2021-10: 0 commits · +0 −0 2021-11: 0 commits · +0 −0 2021-12: 0 commits · +0 −0 2022-01: 0 commits · +0 −0 2022-02: 0 commits · +0 −0 2022-03: 0 commits · +0 −0 2022-04: 0 commits · +0 −0 2022-05: 0 commits · +0 −0 2022-06: 0 commits · +0 −0 2022-07: 0 commits · +0 −0 2022-08: 0 commits · +0 −0 2022-09: 0 commits · +0 −0 2022-10: 0 commits · +0 −0 2022-11: 0 commits · +0 −0 2022-12: 0 commits · +0 −0 2023-01: 0 commits · +0 −0 2023-02: 0 commits · +0 −0 2023-03: 0 commits · +0 −0 2023-04: 1 commit · +164 −0 2023-05: 1 commit · +2 −2 2023-06: 0 commits · +0 −0 2023-07: 0 commits · +0 −0 2023-08: 0 commits · +0 −0 2023-09: 1 commit · +4 −3 2023-10: 0 commits · +0 −0 2023-11: 0 commits · +0 −0 2023-12: 0 commits · +0 −0 2024-01: 0 commits · +0 −0 2024-02: 0 commits · +0 −0 2024-03: 0 commits · +0 −0 2024-04: 1 commit · +3 −1 2024-05: 1 commit · +1 −1 2024-06: 0 commits · +0 −0 2024-07: 0 commits · +0 −0 2024-08: 0 commits · +0 −0 2024-09: 0 commits · +0 −0 2024-10: 0 commits · +0 −0 2024-11: 0 commits · +0 −0 2024-12: 0 commits · +0 −0 2025-01: 0 commits · +0 −0 2025-02: 0 commits · +0 −0 2025-03: 0 commits · +0 −0 2025-04: 0 commits · +0 −0 2025-05: 1 commit · +48 −9 2025-06: 1 commit · +1 −0 2025-07: 0 commits · +0 −0 2025-08: 0 commits · +0 −0 2025-09: 0 commits · +0 −0 2025-10: 0 commits · +0 −0 2025-11: 0 commits · +0 −0 2025-12: 0 commits · +0 −0 2026-01: 0 commits · +0 −0 2026-02: 0 commits · +0 −0 2026-03: 0 commits · +0 −0 2026-04: 0 commits · +0 −0

sources

  1. git.kernel.org

    Initial upstream addition says amdxcp was added to support amdgpu spatial partition.

  2. git.kernel.org

    Upstream saw a real functional fix in 2025 for unplug/release of XCP DRM memory, indicating current maintenance rather than abandonment.

  3. instinct.docs.amd.com

    AMD documents MI300X compute partitioning modes implemented in the driver layer, matching the XCP/spatial-partition use case.

  4. instinct.docs.amd.com

    AMD virtualization documentation lists spatial partitioning support for Instinct MI300X, MI325X and MI350X/MI355X, showing the feature spans current products.

  5. amd.com

    AMD product page shows Instinct MI350X launched on 2025-06-12, so relevant hardware was still being sold new in 2025.

codex reasoning notes (technical)

Local shell inspection shows this is a real DRM helper module, not headers/tests. Local `git -c safe.directory=... log/show` found 7 substantive commits from 2023-06-09 through 2025-08-04, including a 2025 functional bugfix, so upstream attention is active. A shell `lei` lore query could not run because `lei` is not installed; web lore searches returned no public removal-thread hits, so I found no evidence of deprecation/removal discussion. URLs for the two kernel commits are canonical kernel.org commit pages constructed from hashes obtained via shell; AMD deployment/product URLs were obtained via web search. Hardware scope is niche data-center AI/HPC partitioning rather than broad consumer deployment, so deployments are low, but the hardware/feature set is current and has no natural replacement outside amdgpu itself.