Skip to content

Commit 13fb4b3

Browse files
tomaszlimwajdecz
authored andcommitted
drm/xe/vf: Do not disable VF migration on ATS-M
Our current support for the VF migration depends on the availability of the MEMIRQ rather than specific graphics version 20. Relax our early migration support checks to allow also use some older platforms like ATS-M for experiments and testing. Do not allow ADL, as supporting VF migration through MMIO interrupts would require additional changes in order to achieve reliability. Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com> Cc: Michal Wajdeczko <michal.wajdeczko@intel.com> Signed-off-by: Tomasz Lis <tomasz.lis@intel.com> Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com> Link: https://lore.kernel.org/r/20251021224817.1593817-5-tomasz.lis@intel.com
1 parent 9a940bb commit 13fb4b3

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

drivers/gpu/drm/xe/xe_sriov_vf.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -164,10 +164,9 @@ static void vf_migration_init_early(struct xe_device *xe)
164164
return xe_sriov_vf_migration_disable(xe,
165165
"experimental feature not available on production builds");
166166

167-
if (GRAPHICS_VER(xe) < 20)
168-
return xe_sriov_vf_migration_disable(xe,
169-
"requires gfx version >= 20, but only %u found",
170-
GRAPHICS_VER(xe));
167+
if (!xe_device_has_memirq(xe))
168+
return xe_sriov_vf_migration_disable(xe, "requires memory-based IRQ support");
169+
171170
}
172171

173172
/**

0 commit comments

Comments
 (0)