diff options
| -rw-r--r-- | drivers/gpu/drm/xe/xe_sriov_vf.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/gpu/drm/xe/xe_sriov_vf.c b/drivers/gpu/drm/xe/xe_sriov_vf.c index 13d6c094ae8f..39c829daa97c 100644 --- a/drivers/gpu/drm/xe/xe_sriov_vf.c +++ b/drivers/gpu/drm/xe/xe_sriov_vf.c @@ -164,10 +164,9 @@ static void vf_migration_init_early(struct xe_device *xe) return xe_sriov_vf_migration_disable(xe, "experimental feature not available on production builds"); - if (GRAPHICS_VER(xe) < 20) - return xe_sriov_vf_migration_disable(xe, - "requires gfx version >= 20, but only %u found", - GRAPHICS_VER(xe)); + if (!xe_device_has_memirq(xe)) + return xe_sriov_vf_migration_disable(xe, "requires memory-based IRQ support"); + } /** |
