[igt-dev] [PATCH i-g-t 3/3] tests/gem_ctx_shared: Fix disjoint_timelines test requirements
Ashutosh Dixit
ashutosh.dixit at intel.com
Thu Oct 28 04:40:57 UTC 2021
Use gem_uses_ppgtt() for create vm and gem_scheduler_enabled() for
context re-ordering.
Suggested-by: Tvrtko Ursulin <tvrtko.ursulin at linux.intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.dixit at intel.com>
---
tests/i915/gem_ctx_shared.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/i915/gem_ctx_shared.c b/tests/i915/gem_ctx_shared.c
index 849713ff32f..670452f97fd 100644
--- a/tests/i915/gem_ctx_shared.c
+++ b/tests/i915/gem_ctx_shared.c
@@ -159,7 +159,7 @@ static void disjoint_timelines(int i915, const intel_ctx_cfg_t *cfg)
uint32_t plug;
uint64_t ahnd;
- igt_require(gem_using_execlists(i915) || gem_using_guc_submission(i915));
+ igt_require(gem_uses_ppgtt(i915) && gem_scheduler_enabled(i915));
/*
* Each context, although they share a vm, are expected to be
--
2.33.0
More information about the igt-dev
mailing list