[PATCH i-g-t 2/2] tests/intel/xe_pmu: Check default scheduling attributes before test
Marcin Bernatowicz
marcin.bernatowicz at linux.intel.com
Tue May 6 10:15:54 UTC 2025
Ensure that default scheduling attributes are set before running the
test. This avoids unexpected configuration during VF provisioning.
Cc: Jakub Kolakowski <jakub1.kolakowski at intel.com>
Cc: Riana Tauro <riana.tauro at intel.com>
Cc: Satyanarayana K V P <satyanarayana.k.v.p at intel.com>
Signed-off-by: Marcin Bernatowicz <marcin.bernatowicz at linux.intel.com>
---
tests/intel/xe_pmu.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/intel/xe_pmu.c b/tests/intel/xe_pmu.c
index 8cbbf6916..806a62cdb 100644
--- a/tests/intel/xe_pmu.c
+++ b/tests/intel/xe_pmu.c
@@ -471,6 +471,7 @@ static unsigned int enable_and_provision_vfs(int fd)
igt_require(igt_sriov_is_pf(fd));
igt_require(igt_sriov_get_enabled_vfs(fd) == 0);
+ xe_sriov_require_default_scheduling_attributes(fd);
autoprobe = igt_sriov_is_driver_autoprobe_enabled(fd);
/* Enable VF's */
--
2.31.1
More information about the igt-dev
mailing list