Difference between revisions of "Merged Drivers"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
=== Known Issues === | === Known Issues === | ||
# SR-IOV functionality is undocumented in the [https://01.org/linuxgraphics/gfx-docs/drm/gpu/i915.html i915 driver API documentation]. | # SR-IOV functionality is undocumented in the [https://01.org/linuxgraphics/gfx-docs/drm/gpu/i915.html i915 driver API documentation]. ''Confirmed affected versions: '''*'''''[[File:Intel i915 Host DRM + VFIO-Mdev..png|thumb|A diagram depicting i915's shared host + VFIO-Mdev driver model.]] | ||
== Nvidia == | == Nvidia == | ||
Line 14: | Line 14: | ||
=== Known Issues === | === Known Issues === | ||
# Power management on laptops running mediated graphics functionality may causes graphical errors when not plugged in to AC power. | # Power management on laptops running mediated graphics functionality may causes graphical errors when not plugged in to AC power. ''Confirmed affected versions: '''460.32.01, 460.73.04''''' Possible mitigation (vfio/pci power management patch): https://lore.kernel.org/lkml/[email protected]/ ''"vfio/pci: Change the PF power state to D0 before enabling VFs"'' | ||
# VFIO-vmalloc errors may occur as a result of page collisions between host & guest on GPUs with smaller VRAM frame buffer sizes. ''Confirmed affected versions: '''460.32.01, 460.73.04''''' | # VFIO-vmalloc errors may occur as a result of page collisions between host & guest on GPUs with smaller VRAM frame buffer sizes. ''Confirmed affected versions: '''460.32.01, 460.73.04''''' | ||
Line 22: | Line 22: | ||
=== Known Issues === | === Known Issues === | ||
# Host DRM does not work alongside guest VFIO-Mdev. | # Host DRM does not work alongside guest VFIO-Mdev. ''Confirmed affected versions: '''*''''' | ||
# Hardware accelerated encoding/decoding via GPU-IOV Module (GIM) does not work. | # Hardware accelerated encoding/decoding via GPU-IOV Module (GIM) does not work. ''Confirmed affected versions: '''3.0''''' |
Revision as of 15:37, 25 April 2022
The following page will provide specifications and details on the current state of host DRM + VFIO-Mdev drivers in support of various vendors.
Intel i915

Intel's slides mention the ability to accelerate up to '8 VMs plus DOM0'. Source: https://01.org/sites/default/files/documentation/an_introduction_to_intel_gvt-g_for_external.pdf
Intel currently supports host DRM and VFIO-Mdev functionality in it's i915 driver sources.
Known Issues
- SR-IOV functionality is undocumented in the i915 driver API documentation. Confirmed affected versions: *
Nvidia
For more information on host DRM and VFIO-Mdev support on Nvidia drivers refer to section 6 of the vGPU Community Wiki.
Known Issues
- Power management on laptops running mediated graphics functionality may causes graphical errors when not plugged in to AC power. Confirmed affected versions: 460.32.01, 460.73.04 Possible mitigation (vfio/pci power management patch): https://lore.kernel.org/lkml/[email protected]/ "vfio/pci: Change the PF power state to D0 before enabling VFs"
- VFIO-vmalloc errors may occur as a result of page collisions between host & guest on GPUs with smaller VRAM frame buffer sizes. Confirmed affected versions: 460.32.01, 460.73.04
AMDGPU + GPU-IOV Module Merged
At this time AMDGPU does not currently support VFIO-Mdev functionality. It may be possible to merge the GPU-IOV Module (GIM) sources with the Linux kernel's AMDGPU driver sources to produce a merged driver for use on AMD GPUs.
Known Issues
- Host DRM does not work alongside guest VFIO-Mdev. Confirmed affected versions: *
- Hardware accelerated encoding/decoding via GPU-IOV Module (GIM) does not work. Confirmed affected versions: 3.0