On 11/7/2025 5:10 PM, Michał Winiarski wrote:
> All the feature enabling code is in place - drop the debug flag
> requirement for VF resource fixup.
>
> Signed-off-by: Michał Winiarski <[email protected]>
Reviewed-by: Michal Wajdeczko <[email protected]>
> ---
> drivers/gpu/drm/xe/xe_sriov_vf.c | 8 --------
> 1 file changed, 8 deletions(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_sriov_vf.c
> b/drivers/gpu/drm/xe/xe_sriov_vf.c
> index 39c829daa97c7..284ce37ca92d7 100644
> --- a/drivers/gpu/drm/xe/xe_sriov_vf.c
> +++ b/drivers/gpu/drm/xe/xe_sriov_vf.c
> @@ -156,14 +156,6 @@ void xe_sriov_vf_migration_disable(struct xe_device *xe,
> const char *fmt, ...)
>
> static void vf_migration_init_early(struct xe_device *xe)
> {
> - /*
> - * TODO: Add conditions to allow specific platforms, when they're
> - * supported at production quality.
> - */
> - if (!IS_ENABLED(CONFIG_DRM_XE_DEBUG))
> - return xe_sriov_vf_migration_disable(xe,
> - "experimental feature not available on
> production builds");
> -
> if (!xe_device_has_memirq(xe))
> return xe_sriov_vf_migration_disable(xe, "requires memory-based
> IRQ support");
>