From bf5035a728b4f0cd06e7205bc1911069ff224433 Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Fri, 6 Feb 2015 23:09:45 +0100 Subject: tests/gem_ppgtt: Start rcs before bcs for context tests This way the igt_require for the ctx support is hit before we've launched a bazillion threads and need to wait until they're all done. Signed-off-by: Daniel Vetter --- tests/gem_ppgtt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/gem_ppgtt.c') diff --git a/tests/gem_ppgtt.c b/tests/gem_ppgtt.c index 0ee4f5b2..850c99ea 100644 --- a/tests/gem_ppgtt.c +++ b/tests/gem_ppgtt.c @@ -220,8 +220,8 @@ int main(int argc, char **argv) igt_subtest("bcs-vs-rcs-ctxN") { dri_bo *bcs[1], *rcs[N_CHILD]; - fork_bcs_copy(0x4000, bcs, 1); fork_rcs_copy(0x8000 / N_CHILD, rcs, N_CHILD, CREATE_CONTEXT); + fork_bcs_copy(0x4000, bcs, 1); igt_waitchildren(); -- cgit v1.2.3