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

Ashutosh Dixit ashutosh.dixit at intel.com
Tue Aug 8 01:00:12 UTC 2023


Temporarily test xe without render_copy.

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