Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/xe/guc: Fix version check for page-reclaim feature
@ 2025-12-15 17:04 Michal Wajdeczko
  2025-12-15 18:13 ` Nguyen, Brian3
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Michal Wajdeczko @ 2025-12-15 17:04 UTC (permalink / raw)
  To: intel-xe; +Cc: Michal Wajdeczko, Brian Nguyen, Matthew Brost, Shuicheng Lin

Page reclamation interfaces were introduced in GuC firmware version
70.31.0 (which corresponds to GuC ABI version 1.14.0), but since this
feature is also available for the VFs and VFs don't know the firmware
version, use GuC compatibility version check instead.

Fixes: 77ebc7c10d16 ("drm/xe/guc: Add page reclamation interface to GuC")
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Brian Nguyen <brian3.nguyen@intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: Shuicheng Lin <shuicheng.lin@intel.com>
---
 drivers/gpu/drm/xe/xe_guc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/xe/xe_guc.c b/drivers/gpu/drm/xe/xe_guc.c
index 7daae3294665..09ac092c3687 100644
--- a/drivers/gpu/drm/xe/xe_guc.c
+++ b/drivers/gpu/drm/xe/xe_guc.c
@@ -768,7 +768,7 @@ int xe_guc_init(struct xe_guc *guc)
 		return 0;
 
 	/* Disable page reclaim if GuC FW does not support */
-	if (GUC_FIRMWARE_VER(guc) < MAKE_GUC_VER(70, 31, 0))
+	if (GUC_SUBMIT_VER(guc) < MAKE_GUC_VER(1, 14, 0))
 		xe->info.has_page_reclaim_hw_assist = false;
 
 	if (IS_SRIOV_VF(xe)) {
-- 
2.47.1


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

end of thread, other threads:[~2025-12-16  3:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-15 17:04 [PATCH] drm/xe/guc: Fix version check for page-reclaim feature Michal Wajdeczko
2025-12-15 18:13 ` Nguyen, Brian3
2025-12-15 18:39 ` Daniele Ceraolo Spurio
2025-12-15 19:28 ` ✓ CI.KUnit: success for " Patchwork
2025-12-15 20:49 ` ✓ Xe.CI.BAT: " Patchwork
2025-12-16  3:50 ` ✗ 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