Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] Fixes for VF GuC version
@ 2025-05-28 23:42 Daniele Ceraolo Spurio
  2025-05-28 23:42 ` [PATCH v2 1/4] drm/xe/uc: Prepare uc_fw_version for storing the VF ABI version Daniele Ceraolo Spurio
                   ` (11 more replies)
  0 siblings, 12 replies; 16+ messages in thread
From: Daniele Ceraolo Spurio @ 2025-05-28 23:42 UTC (permalink / raw)
  To: intel-xe; +Cc: Daniele Ceraolo Spurio, Michal Wajdeczko, Lukasz Laguna

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@intel.com>
Cc: Lukasz Laguna <lukasz.laguna@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


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

end of thread, other threads:[~2025-05-30 13:56 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-28 23:42 [PATCH v2 0/4] Fixes for VF GuC version Daniele Ceraolo Spurio
2025-05-28 23:42 ` [PATCH v2 1/4] drm/xe/uc: Prepare uc_fw_version for storing the VF ABI version Daniele Ceraolo Spurio
2025-05-29 20:35   ` Michal Wajdeczko
2025-05-28 23:42 ` [PATCH v2 2/4] drm/xe/vf: Boostrap all GTs immediately after MMIO init Daniele Ceraolo Spurio
2025-05-29 20:49   ` Michal Wajdeczko
2025-05-28 23:42 ` [PATCH v2 3/4] drm/xe/vf: Use uc_fw_version to store the negotiated GuC ABI Daniele Ceraolo Spurio
2025-05-28 23:42 ` [PATCH v2 4/4] drm/xe/vf: Store the GuC FW info in guc->fw Daniele Ceraolo Spurio
2025-05-30 13:55   ` Michal Wajdeczko
2025-05-28 23:48 ` ✓ CI.Patch_applied: success for Fixes for VF GuC version Patchwork
2025-05-28 23:48 ` ✗ CI.checkpatch: warning " Patchwork
2025-05-28 23:50 ` ✓ CI.KUnit: success " Patchwork
2025-05-29  0:00 ` ✓ CI.Build: " Patchwork
2025-05-29  0:03 ` ✓ CI.Hooks: " Patchwork
2025-05-29  0:04 ` ✓ CI.checksparse: " Patchwork
2025-05-29  0:49 ` ✓ Xe.CI.BAT: " Patchwork
2025-05-29  6:21 ` ✓ Xe.CI.Full: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox