[PATCH i-g-t 2/2] tests/intel/xe_pmu: Check default scheduling attributes before test

K V P, Satyanarayana satyanarayana.k.v.p at intel.com
Tue May 6 12:53:22 UTC 2025


> -----Original Message-----
> From: Marcin Bernatowicz <marcin.bernatowicz at linux.intel.com>
> Sent: Tuesday, May 6, 2025 3:46 PM
> To: igt-dev at lists.freedesktop.org
> Cc: Marcin Bernatowicz <marcin.bernatowicz at linux.intel.com>; Kolakowski,
> Jakub1 <jakub1.kolakowski at intel.com>; Tauro, Riana
> <riana.tauro at intel.com>; K V P, Satyanarayana
> <satyanarayana.k.v.p at intel.com>
> Subject: [PATCH i-g-t 2/2] tests/intel/xe_pmu: Check default scheduling
> attributes before test
> 
> 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 */
LGTM.
Reviewed-by: Satyanarayana K V P <satyanarayana.k.v.p at intel.com>
> --
> 2.31.1



More information about the igt-dev mailing list