Intel Xe driver prepares SR-IOV provisioning for vGPU profiles in Linux 7.5
The Intel Xe driver is implementing mutex-protected provisioning logic to support splitting physical GPUs into multiple virtual GPUs (vGPUs) via SR-IOV.
Summary
Intel driver engineers are introducing significant architectural changes to the Intel Xe driver to support Single Root I/O Virtualization (SR-IOV) based vGPU profiles. This development, arriving via the drm-xe-next pull request for the upcoming Linux 7.5 kernel cycle, focuses on how a single physical Intel GPU is partitioned into multiple virtual instances for use in different virtual machines.
The updates involve restructuring the Physical Function (PF) provisioning code to ensure thread safety during hardware configuration. By implementing stricter mutex management, the driver ensures that provisioning modes remain consistent during the critical window when virtual functions (VFs) are being created or destroyed. This work is likely intended to support upcoming Intel GPU D Series (Crescent Island) hardware.
Technical implementation of SR-IOV provisioning
- Concurrency Control: The patch series introduces static helpers for priority and provisioning mode changes that require the master mutex to be held by the caller.
- State Atomicity: By running mode changes, VF auto-provisioning, and unprovisioning under the master mutex, the driver prevents the provisioning mode from changing between the initial mode check and the actual hardware provisioning process.
- PF/VF Management: The changes specifically target the Physical Function (PF) provisioning logic to prepare for the introduction of dedicated vGPU profiles.
- Driver Optimizations: The drm-xe-next pull request also includes optimized suspend handling for CCS iGPU platforms and removes bug report requests when the driver is used with hardware force-probing.
Why it matters
This development is critical for data center and cloud environments using Intel hardware, as it enables more efficient GPU virtualization for multiple virtual machines. It paves the way for robust, hardware-accelerated vGPU support on upcoming Intel architectures, improving resource density for Linux-based virtualization stacks.
Original reference: www.phoronix.com →