[igt-dev] [PATCH i-g-t v3 04/31] i915/perf: Ensure rcs0 is present for gen12-mi-rpc
Umesh Nerlige Ramappa
umesh.nerlige.ramappa at intel.com
Thu Mar 16 23:32:56 UTC 2023
Make sure rcs0 is present for gen12-mi-rpc.
Signed-off-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa at intel.com>
Reviewed-by: Ashutosh Dixit <ashutosh.dixit at intel.com>
---
tests/i915/perf.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/tests/i915/perf.c b/tests/i915/perf.c
index ee5a77fc..2a1cecfe 100644
--- a/tests/i915/perf.c
+++ b/tests/i915/perf.c
@@ -5274,8 +5274,12 @@ igt_main
igt_fixture igt_require(intel_gen(devid) >= 12);
igt_describe("Test MI REPORT PERF COUNT for Gen 12");
- igt_subtest("gen12-mi-rpc")
+ igt_subtest("gen12-mi-rpc") {
+ igt_require_f(has_class_instance(drm_fd,
+ I915_ENGINE_CLASS_RENDER,
+ 0), "no render engine\n");
gen12_test_mi_rpc();
+ }
igt_describe("Test OA TLB invalidate");
igt_subtest("gen12-oa-tlb-invalidate")
--
2.36.1
More information about the igt-dev
mailing list