AMD submits 34-patch series for AMDGPU SR-IOV host driver support
AMD is introducing Single Root I/O Virtualization (SR-IOV) support to the amdgpu kernel driver to enable hardware partitioning for virtual machines and containers.
Summary
AMD has submitted a Request for Comments (RFC) consisting of 34 patches to the Linux kernel to implement Physical Function (PF) SR-IOV host driver support within the amdgpu driver. This development introduces a new control plane located at drivers/gpu/drm/amd/sriov/ to manage the lifecycle of the physical device and its associated Virtual Functions (VFs).
The primary goal of this implementation is to allow a host system to configure an SR-IOV capable graphics card and subsequently create and manage VFs for use in virtual machines or containers. The current validation target for this patch series is the successful bring-up of a single VF on real silicon, ensuring that a guest amdgpu driver can load and execute workloads after the host configures the hardware.
Technical implementation of AMDGPU SR-IOV
- Control Plane Architecture: The patches introduce a dedicated
drivers/gpu/drm/amd/sriov/subsystem to handle the management of the physical function (PF) under the existing amdgpu device lifecycle. - Hardware Target: The current implementation includes GPUIOV provider support specifically for GFX 13.0.1 (RDNA5) architecture.
- Virtualization Workflow: The driver enables the host to configure the PF to spawn VFs, which allows guest operating systems to utilize hardware-accelerated graphics through a dedicated driver instance.
- Scheduling Logic: The patch series includes new PF scheduler functionality designed to manage resources across the partitioned hardware functions.
Why it matters
This development is critical for data center and workstation virtualization, allowing multiple isolated environments to share a single high-performance GPU. While the patches specifically target GFX13/RDNA5 hardware, they represent a significant step toward standardized GPU partitioning in the Linux kernel for both enterprise and potentially professional-grade consumer hardware.
Original reference: www.phoronix.com →