Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/xe/guc: Fix version check for page-reclaim feature

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>
Reviewed-by: Brian Nguyen <brian3.nguyen@intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patch.msgid.link/20251215170433.196398-1-michal.wajdeczko@intel.com

authored by

Michal Wajdeczko and committed by
Matthew Brost
47f5cee4 83f41517

+1 -1
+1 -1
drivers/gpu/drm/xe/xe_guc.c
··· 768 768 return 0; 769 769 770 770 /* Disable page reclaim if GuC FW does not support */ 771 - if (GUC_FIRMWARE_VER(guc) < MAKE_GUC_VER(70, 31, 0)) 771 + if (GUC_SUBMIT_VER(guc) < MAKE_GUC_VER(1, 14, 0)) 772 772 xe->info.has_page_reclaim_hw_assist = false; 773 773 774 774 if (IS_SRIOV_VF(xe)) {