[PATCH] drm/xe: Skip survivability mode for VF
Riana Tauro
riana.tauro at intel.com
Fri Jan 31 08:05:27 UTC 2025
Follow the probe flow in case of VF and do not enter survivability mode
in case of pcode init failure.
Fixes: 5e940312a2ac ("drm/xe: Add functions and sysfs for boot survivability")
Suggested-by: Satyanarayana K V P <satyanarayana.k.v.p at intel.com>
Signed-off-by: Riana Tauro <riana.tauro at intel.com>
---
drivers/gpu/drm/xe/xe_survivability_mode.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_survivability_mode.c b/drivers/gpu/drm/xe/xe_survivability_mode.c
index c619560af74f..02b4eadf8407 100644
--- a/drivers/gpu/drm/xe/xe_survivability_mode.c
+++ b/drivers/gpu/drm/xe/xe_survivability_mode.c
@@ -177,7 +177,7 @@ bool xe_survivability_mode_required(struct xe_device *xe)
struct xe_mmio *mmio = xe_root_tile_mmio(xe);
u32 data;
- if (!IS_DGFX(xe) || xe->info.platform < XE_BATTLEMAGE)
+ if (!IS_DGFX(xe) || xe->info.platform < XE_BATTLEMAGE || IS_SRIOV_VF(xe))
return false;
data = xe_mmio_read32(mmio, PCODE_SCRATCH(0));
--
2.47.1
More information about the Intel-xe
mailing list