[igt-dev] [PATCH i-g-t] tests/xe/xe_exec_store: Fix the num of placements check to run test on all engines.

Kumar, Janga Rahul janga.rahul.kumar at intel.com
Wed Jul 26 06:29:33 UTC 2023



> -----Original Message-----
> From: Ch, Sai Gowtham <sai.gowtham.ch at intel.com>
> Sent: 26 July 2023 11:54
> To: igt-dev at lists.freedesktop.org; Kumar, Janga Rahul
> <janga.rahul.kumar at intel.com>; Ch, Sai Gowtham
> <sai.gowtham.ch at intel.com>
> Subject: [PATCH i-g-t] tests/xe/xe_exec_store: Fix the num of placements check
> to run test on all engines.
> 
> From: Sai Gowtham Ch <sai.gowtham.ch at intel.com>
> 
> Intension is to submit workload on all engine instances, this change will make
> test to run on all engines including render and copy engines.
  				        ^including engines which have single instance.
> 
> Signed-off-by: Sai Gowtham Ch <sai.gowtham.ch at intel.com>
> ---
>  tests/xe/xe_exec_store.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/xe/xe_exec_store.c b/tests/xe/xe_exec_store.c index
> ab1bde36e..fbce1aecc 100644
> --- a/tests/xe/xe_exec_store.c
> +++ b/tests/xe/xe_exec_store.c
> @@ -149,7 +149,7 @@ static void store_all(int fd, int gt, int class)
>  		eci[num_placements++] = *hwe;
>  	}
> 
> -	igt_require(num_placements > 1);
> +	igt_require(num_placements);
> 
>  	for (i = 0; i < num_placements; i++) {
>  		struct drm_xe_engine_create create = {
> --
> 2.39.1

Update commit description

LGTM
Reviewed-by: Janga Rahul Kumar<janga.rahul.kumar at intel.com>



More information about the igt-dev mailing list