Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Zhanjun Dong <zhanjun.dong@intel.com>
To: intel-xe@lists.freedesktop.org
Cc: Zhanjun Dong <zhanjun.dong@intel.com>
Subject: [PATCH v1] drm/xe/guc: Disable lite restore for MTL
Date: Tue, 18 Mar 2025 07:18:02 -0700	[thread overview]
Message-ID: <20250318141802.2516616-1-zhanjun.dong@intel.com> (raw)

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

Signed-off-by: Zhanjun Dong <zhanjun.dong@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


             reply	other threads:[~2025-03-18 14:18 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-18 14:18 Zhanjun Dong [this message]
2025-03-18 14:32 ` ✓ CI.Patch_applied: success for drm/xe/guc: Disable lite restore for MTL Patchwork
2025-03-18 14:32 ` ✓ CI.checkpatch: " Patchwork
2025-03-18 14:33 ` ✓ CI.KUnit: " Patchwork
2025-03-18 14:35 ` [PATCH v1] " Michal Wajdeczko
2025-03-18 21:35   ` Julia Filipchuk
2025-03-19 15:29     ` Dong, Zhanjun
2025-03-18 14:50 ` ✓ CI.Build: success for " Patchwork
2025-03-18 14:52 ` ✓ CI.Hooks: " Patchwork
2025-03-18 14:53 ` ✓ CI.checksparse: " Patchwork
2025-03-18 15:13 ` ✓ Xe.CI.BAT: " Patchwork
2025-03-18 16:13 ` ✓ Xe.CI.Full: " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250318141802.2516616-1-zhanjun.dong@intel.com \
    --to=zhanjun.dong@intel.com \
    --cc=intel-xe@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox