[PATCH 00/12] PF: Improve VF control
Michal Wajdeczko
michal.wajdeczko at intel.com
Fri Aug 9 16:51:47 UTC 2024
Our initial VF control implementation was focused on providing
a very minimal support for the VF_STATE_NOTIFY events just to
meet GuC requirements, without tracking a VF state or doing any
expected actions (like cleanup in case of the FLR notification).
Cc: Lucas De Marchi <lucas.demarchi at intel.com>
Cc: Piotr Piórkowski <piotr.piorkowski at intel.com>
Michal Wajdeczko (12):
drm/xe/pf: Add function to sanitize VF resources
drm/xe/pf: Fix documentation formatting
drm/xe/pf: Drop GuC notifications for non-existing VF
drm/xe/pf: Improve VF control
drm/xe/tests: Allow deferred function call during KUnit test
drm/xe/tests: Add helper macro to detect if KUnit is running
drm/xe/tests: Add helpers to call stubs out of KUnit context
drm/xe/guc: Define stub for xe_guc_ct_send_recv()
drm/xe/pf: Define stub for pf_sanitize_vf_resources()
drm/xe/pf: Define stub for pf_send_vf_control_cmd()
drm/xe/tests: Add KUnit tests for VF control state machines
drm/xe/tests: Add KUnit tests for VF control GuC messages
.../xe/tests/xe_gt_sriov_pf_control_kunit.c | 1554 +++++++++++++++++
drivers/gpu/drm/xe/tests/xe_kunit_helpers.c | 148 ++
drivers/gpu/drm/xe/tests/xe_kunit_helpers.h | 38 +
drivers/gpu/drm/xe/tests/xe_test.h | 77 +
drivers/gpu/drm/xe/xe_gt_sriov_pf.c | 6 +
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 86 +
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.h | 1 +
.../gpu/drm/xe/xe_gt_sriov_pf_config_types.h | 5 +
drivers/gpu/drm/xe/xe_gt_sriov_pf_control.c | 1271 +++++++++++++-
drivers/gpu/drm/xe/xe_gt_sriov_pf_control.h | 3 +
.../gpu/drm/xe/xe_gt_sriov_pf_control_types.h | 114 ++
drivers/gpu/drm/xe/xe_gt_sriov_pf_types.h | 6 +
drivers/gpu/drm/xe/xe_guc_ct.c | 2 +
drivers/gpu/drm/xe/xe_guc_ct_types.h | 5 +
14 files changed, 3275 insertions(+), 41 deletions(-)
create mode 100644 drivers/gpu/drm/xe/tests/xe_gt_sriov_pf_control_kunit.c
create mode 100644 drivers/gpu/drm/xe/xe_gt_sriov_pf_control_types.h
--
2.43.0
More information about the Intel-xe
mailing list