[PATCH v1] drm/xe/guc: Disable lite restore for MTL
Zhanjun Dong
zhanjun.dong at intel.com
Tue Mar 18 14:18:02 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>
---
drivers/gpu/drm/xe/xe_guc.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_guc.c b/drivers/gpu/drm/xe/xe_guc.c
index bc5714a5b36b..0c2629e578d9 100644
--- a/drivers/gpu/drm/xe/xe_guc.c
+++ b/drivers/gpu/drm/xe/xe_guc.c
@@ -80,7 +80,9 @@ static u32 guc_ctl_debug_flags(struct xe_guc *guc)
static u32 guc_ctl_feature_flags(struct xe_guc *guc)
{
- u32 flags = GUC_CTL_ENABLE_LITE_RESTORE;
+ u32 flags = (guc_to_xe(guc)->info.platform == XE_METEORLAKE) ?
+ 0 : GUC_CTL_ENABLE_LITE_RESTORE;
+
if (!guc_to_xe(guc)->info.skip_guc_pc)
flags |= GUC_CTL_ENABLE_SLPC;
--
2.34.1
More information about the Intel-xe
mailing list