[igt-dev] [i-g-t] tests/i915/exec_balancer: Added Skip invalid-bonds
Mastan Katragadda
mastanx.katragadda at intel.com
Thu Aug 19 06:10:29 UTC 2021
Added skip which ever gen12+ platforms not supporing bonding.
Disable bonding on gen12+ platforms aside from ones already supported by
the i915 - TGL, RKL, and ADL-S.
Link: https://cgit.freedesktop.org/drm-tip/commit/?id=ce7e75c7ef1bf8ea3d947da8c674d2f40fd7d73
Signed-off-by: Mastan Katragadda <mastanx.katragadda at intel.com>
---
tests/i915/gem_exec_balancer.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tests/i915/gem_exec_balancer.c b/tests/i915/gem_exec_balancer.c
index 2f98950b..2d9c1a53 100644
--- a/tests/i915/gem_exec_balancer.c
+++ b/tests/i915/gem_exec_balancer.c
@@ -349,6 +349,10 @@ static void invalid_bonds(int i915)
bonds[n].num_bonds = 1;
}
engines.extensions = to_user_pointer(&bonds);
+
+ igt_skip_on_f(__set_param_fresh_context(i915, p) == -ENODEV,
+ "Bonding not supported\n");
+
igt_assert_eq(__set_param_fresh_context(i915, p), 0);
bonds[0].base.next_extension = -1ull;
--
2.25.1
More information about the igt-dev
mailing list