diff options
author | Satyanarayana K V P <satyanarayana.k.v.p@intel.com> | 2025-02-24 15:58:07 +0530 |
---|---|---|
committer | Michal Wajdeczko <michal.wajdeczko@intel.com> | 2025-02-28 10:20:35 +0100 |
commit | ba757a65d2a28d46a8ccf50538f4f05036983f1b (patch) | |
tree | c56a93911c5d565a2d5a959616da7ec6352daa5e /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 8c0aff7d92e2be25717669eb65a81a89740a24f2 (diff) |
drm/xe/vf: Retry sending MMIO request to GUC on timeout error
Add support to allow retrying the sending of MMIO requests
from the VF to the GUC in the event of an error. During the
suspend/resume process, VFs begin resuming only after the PF has
resumed. Although the PF resumes, the GUC reset and provisioning
occur later in a separate worker process.
When there are a large number of VFs, some may attempt to resume
before the PF has completed its provisioning. Therefore, if a
MMIO request from a VF fails during this period, we will retry
sending the request up to GUC_RESET_VF_STATE_RETRY_MAX times,
which is set to a maximum of 10 attempts.
Signed-off-by: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
Cc: Michał Wajdeczko <michal.wajdeczko@intel.com>
Cc: Michał Winiarski <michal.winiarski@intel.com>
Cc: Piotr Piórkowski <piotr.piorkowski@intel.com>
Reviewed-by: Piotr Piorkowski <piotr.piorkowski@intel.com>
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250224102807.11065-3-satyanarayana.k.v.p@intel.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions