Intel Xe SR-IOV support status
Hi,
Starting with Tiger Lake, support for GVT-g was discontinued in favor of SR-IOV for graphics virtualization[1]. Currently, the upstream Xe drivers only support SR-IOV on Panther Lake. The table below summarizes the current state based on the .has_sriov flag.
| Intel Gen | drm-xe-next[2] | xe-for-CI[2] | intel lts i915[3] | | --------- | -------------- | ------------ | ----------------- | | TGL | no | no | v5.15 | | ADL/RPL | no | yes (debug) | v5.15 | | MTL | no | no | v6.1 | | ARL | no | no | no | | PTL | v6.13.1 | yes | no |
Interestingly, the xe/topic/xe-for-CI testing branch only covers SR-IOV testing on the ADL platform and not the MTL or ARL platforms.
Is there a reason why SR-IOV has not yet been enabled on the other platforms? Are there any plans or timeline for adding support for them?
Kind regards,
Marcello
---
[1] https://www.intel.com/content/www/us/en/support/articles/000058558/graphics.html
[2] https://gitlab.freedesktop.org/drm/xe
[3] https://github.com/intel/linux-intel-lts
[4] https://patchwork.freedesktop.org/patch/603316/
Hi Marcello,
Quoted 7 lines · Marcello Sylvester Bauer
Hi,
Starting with Tiger Lake, support for GVT-g was discontinued in favor of SR-IOV for graphics virtualization[1]. Currently, the upstream Xe drivers only support SR-IOV on Panther Lake. The table below summarizes the current state based on the .has_sriov flag.
Quoted 7 lines
| Intel Gen | drm-xe-next[2] | xe-for-CI[2] | intel lts i915[3] | | --------- | -------------- | ------------ | ----------------- | | TGL | no | no | v5.15 | | ADL/RPL | no | yes (debug) | v5.15 | | MTL | no | no | v6.1 | | ARL | no | no | no | | PTL | v6.13.1 | yes | no |
Note that we also have
| ATSM | no | yes (debug) |
Quoted 6 lines
Interestingly, the xe/topic/xe-for-CI testing branch only covers SR-IOV testing on the ADL platform and not the MTL or ARL platforms.
Is there a reason why SR-IOV has not yet been enabled on the other platforms?
Since platforms before LNL are not officially supported by the Xe driver, we have only enabled SR-IOV on those SDV platforms which are actively used and tested by our public CI.
Quoted 1 line
Are there any plans or timeline for adding support for them?
AFAIK it’s unlikely. While in case of TGL the enabling is just a one-liner patch with new .has_sriov flag, however for robust MTL it would require much more SR-IOV specific code to be added, but there is no point to add anything until those platforms itself will be fully tested in the native mode (non-virtualized).
Michal
Quoted 9 lines
Kind regards,
Marcello
---
[1] https://www.intel.com/content/www/us/en/support/articles/000058558/
graphics.html
[2] https://gitlab.freedesktop.org/drm/xe
[3] https://github.com/intel/linux-intel-lts
[4] https://patchwork.freedesktop.org/patch/603316/
Hi Michal,
Quoted 18 lines · Michal Wajdeczko
Hi Marcello,
Quoted 7 lines · Marcello Sylvester Bauer
Hi,
Starting with Tiger Lake, support for GVT-g was discontinued in favor of SR-IOV for graphics virtualization[1]. Currently, the upstream Xe drivers only support SR-IOV on Panther Lake. The table below summarizes the current state based on the .has_sriov flag.
Quoted 7 lines
| Intel Gen | drm-xe-next[2] | xe-for-CI[2] | intel lts i915[3] | | --------- | -------------- | ------------ | ----------------- | | TGL | no | no | v5.15 | | ADL/RPL | no | yes (debug) | v5.15 | | MTL | no | no | v6.1 | | ARL | no | no | no | | PTL | v6.13.1 | yes | no |
Quoted 4 lines
Note that we also have
| ATSM | no | yes (debug) |
Ah, right. I should have clarified that the list only includes platforms with integrated GPUs.
Quoted 11 lines
Quoted 6 lines
Interestingly, the xe/topic/xe-for-CI testing branch only covers SR-IOV testing on the ADL platform and not the MTL or ARL platforms.
Is there a reason why SR-IOV has not yet been enabled on the other platforms?
Since platforms before LNL are not officially supported by the Xe driver, we have only enabled SR-IOV on those SDV platforms which are actively used and tested by our public CI.
That's unfortunate but understandable.
I suppose this means there won't be official support for SR-IOV on platforms using either the i915 or Xe driver.
Quoted 8 lines
Quoted 2 lines
Are there any plans or timeline for adding support for them?
AFAIK it’s unlikely. While in case of TGL the enabling is just a one-liner patch with new .has_sriov flag, however for robust MTL it would require much more SR-IOV specific code to be added, but there is no point to add anything until those platforms itself will be fully tested in the native mode (non-virtualized).
Thanks for clarifying! I'm particularly interested in the status of MTL and ARL because they are the most recent generations on the market. We are already experimenting with SR-IOV on these platforms to see how stable they are performing.
Marcello
Quoted 13 lines
Michal
Quoted 9 lines
Kind regards,
Marcello
---
[1] https://www.intel.com/content/www/us/en/support/articles/000058558/
graphics.html
[2] https://gitlab.freedesktop.org/drm/xe
[3] https://github.com/intel/linux-intel-lts
[4] https://patchwork.freedesktop.org/patch/603316/