Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/xe: Skip survivability mode for VF
@ 2025-01-31  8:05 Riana Tauro
  2025-01-31  7:51 ` ✓ CI.Patch_applied: success for " Patchwork
                   ` (8 more replies)
  0 siblings, 9 replies; 11+ messages in thread
From: Riana Tauro @ 2025-01-31  8:05 UTC (permalink / raw)
  To: intel-xe; +Cc: riana.tauro, anshuman.gupta, rodrigo.vivi, satyanarayana.k.v.p

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@intel.com>
Signed-off-by: Riana Tauro <riana.tauro@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


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2025-01-31 12:56 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-31  8:05 [PATCH] drm/xe: Skip survivability mode for VF Riana Tauro
2025-01-31  7:51 ` ✓ CI.Patch_applied: success for " Patchwork
2025-01-31  7:51 ` ✓ CI.checkpatch: " Patchwork
2025-01-31  7:52 ` ✓ CI.KUnit: " Patchwork
2025-01-31  8:09 ` ✓ CI.Build: " Patchwork
2025-01-31  8:11 ` ✓ CI.Hooks: " Patchwork
2025-01-31  8:13 ` ✓ CI.checksparse: " Patchwork
2025-01-31  8:37 ` [PATCH] " K V P, Satyanarayana
2025-01-31 10:41   ` Rodrigo Vivi
2025-01-31  8:44 ` ✓ Xe.CI.BAT: success for " Patchwork
2025-01-31 12:56 ` ✗ Xe.CI.Full: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox