]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/xe/guc: Fix version check for page-reclaim feature
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Mon, 15 Dec 2025 17:04:33 +0000 (18:04 +0100)
committerMatthew Brost <matthew.brost@intel.com>
Mon, 15 Dec 2025 21:33:55 +0000 (13:33 -0800)
commit47f5cee4197719f5d06a899a2e827968a4e85d0b
treed6c216fddb1e838ec956319bcd474357454309c0
parent83f4151787c5dd2f38a426cb01423149baa3bbf5
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
drivers/gpu/drm/xe/xe_guc.c