[PATCH v2 0/4] Fixes for VF GuC version

Daniele Ceraolo Spurio daniele.ceraolospurio at intel.com
Wed May 28 23:42:30 UTC 2025


The VF currently stores the negotiated GuC compatibility version in a
private VF struct, so all the runtime checks using the common struct in
guc->fw are not working as expected. We can fix this by copying the value
over.

This also fixes the guc_info debugfs, printing the correct values for
the wanted and found versions.

v2: split out prep change to its own patch, bootstrap media GT early,
remove already merged debugfs MMIO fix

Cc: Michal Wajdeczko <michal.wajdeczko at intel.com>
Cc: Lukasz Laguna <lukasz.laguna at intel.com>

Daniele Ceraolo Spurio (4):
  drm/xe/uc: Prepare uc_fw_version for storing the VF ABI version
  drm/xe/vf: Boostrap all GTs immediately after MMIO init
  drm/xe/vf: Use uc_fw_version to store the negotiated GuC ABI
  drm/xe/vf: Store the GuC FW info in guc->fw

 drivers/gpu/drm/xe/xe_device.c              |  11 +-
 drivers/gpu/drm/xe/xe_gt_sriov_vf.c         | 165 ++++++++++++--------
 drivers/gpu/drm/xe/xe_gt_sriov_vf.h         |   4 +
 drivers/gpu/drm/xe/xe_gt_sriov_vf_types.h   |  19 +--
 drivers/gpu/drm/xe/xe_guc.c                 |   4 -
 drivers/gpu/drm/xe/xe_guc_engine_activity.c |   2 +-
 drivers/gpu/drm/xe/xe_uc_fw.c               |  37 ++++-
 drivers/gpu/drm/xe/xe_uc_fw_types.h         |   2 +
 8 files changed, 150 insertions(+), 94 deletions(-)

-- 
2.43.0



More information about the Intel-xe mailing list