[igt-dev] [PATCH i-g-t 4/4] tests/intel/gem_spin_batch: Skip some test on MTL

Kamil Konieczny kamil.konieczny at linux.intel.com
Wed Sep 20 07:51:45 UTC 2023


Hi Nirmoy,
On 2023-09-18 at 18:47:47 +0200, Nirmoy Das wrote:
> We do GGTT update on MTL using bcs engine, blocking that would
> fail the test so skip such subtests on bcs engine for MTL.
> 
> Signed-off-by: Nirmoy Das <nirmoy.das at intel.com>

Reviewed-by: Kamil Konieczny <kamil.konieczny at linux.intel.com>

> ---
>  tests/intel/gem_spin_batch.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/tests/intel/gem_spin_batch.c b/tests/intel/gem_spin_batch.c
> index 18873be16..ec1458e35 100644
> --- a/tests/intel/gem_spin_batch.c
> +++ b/tests/intel/gem_spin_batch.c
> @@ -227,6 +227,9 @@ static void spin_all(int i915, const intel_ctx_t *ctx, unsigned int flags)
>  		if (!gem_class_can_store_dword(i915, e->class))
>  			continue;
>  
> +		if (gem_engine_can_block_ggtt_binder(i915, e))
> +			continue;
> +
>  		if (flags & PARALLEL_SPIN_NEW_CTX)
>  			ctx = intel_ctx_create(i915, &cfg);
>  		ahnd = get_reloc_ahnd(i915, ctx->id);
> -- 
> 2.41.0
> 


More information about the igt-dev mailing list