[PATCH v2] drm/xe/guc: Disable lite restore for MTL
Zhanjun Dong
zhanjun.dong at intel.com
Wed Mar 19 17:28:25 UTC 2025
Lite restore for MTL is not POR for Xe, then disable it for MTL.
Signed-off-by: Zhanjun Dong <zhanjun.dong at intel.com>
Reviewed-by: Julia Filipchuk <julia.filipchuk at 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
More information about the Intel-xe
mailing list