[igt-dev] [PATCH i-g-t 15/20] tests/i915/perf: Temporarily skip render_copy for xe

Zbigniew Kempczyński zbigniew.kempczynski at intel.com
Tue Aug 8 06:30:39 UTC 2023


On Mon, Aug 07, 2023 at 06:00:12PM -0700, Ashutosh Dixit wrote:
> Temporarily test xe without render_copy.

Hmm, render pipeline works for xe. Test gem_render_copy.c wasn't ported
to xe as xe_render_copy, but I'e checked on api_intel_bb at render.* and
it is working.

--
Zbigniew

> 
> Signed-off-by: Ashutosh Dixit <ashutosh.dixit at intel.com>
> ---
>  tests/i915/perf.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/tests/i915/perf.c b/tests/i915/perf.c
> index df6cb7edd017..0efa7f71477d 100644
> --- a/tests/i915/perf.c
> +++ b/tests/i915/perf.c
> @@ -5995,7 +5995,8 @@ igt_main
>  		perf_oa_groups = get_engine_groups(drm_fd, &num_perf_oa_groups);
>  		igt_assert(perf_oa_groups && num_perf_oa_groups);
>  
> -		if (has_class_instance(drm_fd, I915_ENGINE_CLASS_RENDER, 0))
> +		if (has_class_instance(drm_fd, I915_ENGINE_CLASS_RENDER, 0) &&
> +		    !is_xe_device(drm_fd))
>  			render_copy = igt_get_render_copyfunc(devid);
>  	}
>  
> -- 
> 2.41.0
> 


More information about the igt-dev mailing list