drm/xe/pf: Restart VFs provisioning after GT reset
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Mon, 1 Jul 2024 10:27:37 +0000 (12:27 +0200)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Mon, 1 Jul 2024 17:43:52 +0000 (19:43 +0200)
commit411220808ceeaf91b11a9fa9bc992d59568a7ee0
treecbb9b0f8bb0d4b5c127a5a16949bb93709bf95b9
parent234670cea9a2995554dad6e084e5e18b0bcd151d
drm/xe/pf: Restart VFs provisioning after GT reset

Any prior configurations pushed to the GuC are lost when the GT
is reset. Push again all non-empty VF configurations to the GuC
as part of the GuC reset procedure.

This will also help restore early manual provisioning, when the
PF was in the meantime suspended and then resumed.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Piotr PiĆ³rkowski <piotr.piorkowski@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240701102738.934-3-michal.wajdeczko@intel.com
drivers/gpu/drm/xe/xe_gt.c
drivers/gpu/drm/xe/xe_gt_sriov_pf.c
drivers/gpu/drm/xe/xe_gt_sriov_pf.h
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.h