[PATCH 0/3] Fixes for VF GuC version and guc_info debugfs
Daniele Ceraolo Spurio
daniele.ceraolospurio at intel.com
Tue Apr 8 21:31:43 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 partially fixes the guc_info debugfs, printing the correct
values for the wanted and found versions, but we do still need to stop
it from reading VF-unaccessible registers.
Note that this series is technically a v2 of [1], but the approach and
the patches themselves are changed enough that it seemed cleaner to
restart from v1.
[1] https://patchwork.freedesktop.org/series/145667/
Cc: Michal Wajdeczko <michal.wajdeczko at intel.com>
Cc: Lukasz Laguna <lukasz.laguna at intel.com>
Daniele Ceraolo Spurio (3):
drm/xe/vf: use uc_fw_version to store the negotiated GuC ABI
drm/xe/vf: Store the GuC FW info in guc->fw
drm/xe/vf: Fix guc_info debugfs for VFs
drivers/gpu/drm/xe/xe_gt_sriov_vf.c | 175 +++++++++++++-------
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 | 44 ++---
drivers/gpu/drm/xe/xe_guc_engine_activity.c | 2 +-
drivers/gpu/drm/xe/xe_uc_fw.c | 46 +++--
drivers/gpu/drm/xe/xe_uc_fw_types.h | 2 +
7 files changed, 183 insertions(+), 109 deletions(-)
--
2.43.0
More information about the Intel-xe
mailing list