Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] drm/xe/guc: Disable lite restore for MTL
@ 2025-03-19 17:28 Zhanjun Dong
  2025-03-19 17:33 ` ✓ CI.Patch_applied: success for drm/xe/guc: Disable lite restore for MTL (rev2) Patchwork
                   ` (8 more replies)
  0 siblings, 9 replies; 12+ messages in thread
From: Zhanjun Dong @ 2025-03-19 17:28 UTC (permalink / raw)
  To: intel-xe; +Cc: Zhanjun Dong, Julia Filipchuk

Lite restore for MTL is not POR for Xe, then disable it for MTL.

Signed-off-by: Zhanjun Dong <zhanjun.dong@intel.com>
Reviewed-by: Julia Filipchuk <julia.filipchuk@intel.com>
---
Changes from prior revs:
  v2:- Changed long conditional initialization to simple if statement.

 drivers/gpu/drm/xe/xe_guc.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/xe/xe_guc.c b/drivers/gpu/drm/xe/xe_guc.c
index bc5714a5b36b..d9a0daf584b4 100644
--- a/drivers/gpu/drm/xe/xe_guc.c
+++ b/drivers/gpu/drm/xe/xe_guc.c
@@ -80,9 +80,13 @@ static u32 guc_ctl_debug_flags(struct xe_guc *guc)
 
 static u32 guc_ctl_feature_flags(struct xe_guc *guc)
 {
+	struct xe_device *xe = guc_to_xe(guc);
 	u32 flags = GUC_CTL_ENABLE_LITE_RESTORE;
 
-	if (!guc_to_xe(guc)->info.skip_guc_pc)
+	if (xe->info.platform == XE_METEORLAKE)
+		flags &= ~GUC_CTL_ENABLE_LITE_RESTORE;
+
+	if (!xe->info.skip_guc_pc)
 		flags |= GUC_CTL_ENABLE_SLPC;
 
 	return flags;
-- 
2.34.1


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

end of thread, other threads:[~2025-03-20 14:27 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-19 17:28 [PATCH v2] drm/xe/guc: Disable lite restore for MTL Zhanjun Dong
2025-03-19 17:33 ` ✓ CI.Patch_applied: success for drm/xe/guc: Disable lite restore for MTL (rev2) Patchwork
2025-03-19 17:33 ` ✓ CI.checkpatch: " Patchwork
2025-03-19 17:34 ` ✓ CI.KUnit: " Patchwork
2025-03-19 17:51 ` ✓ CI.Build: " Patchwork
2025-03-19 17:53 ` ✓ CI.Hooks: " Patchwork
2025-03-19 17:54 ` ✓ CI.checksparse: " Patchwork
2025-03-19 18:15 ` ✓ Xe.CI.BAT: " Patchwork
2025-03-19 19:15 ` ✗ Xe.CI.Full: failure " Patchwork
2025-03-19 20:20 ` [PATCH v2] drm/xe/guc: Disable lite restore for MTL John Harrison
2025-03-20 10:23   ` Kenneth Graunke
2025-03-20 14:27     ` Dong, Zhanjun

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