[Intel-gfx] [PATCH i-g-t 12/17] tests/gem_ppgtt: Start rcs before bcs for context tests
Daniel Vetter
daniel.vetter at ffwll.ch
Tue Feb 10 10:05:55 PST 2015
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 <daniel.vetter at ffwll.ch>
---
tests/gem_ppgtt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/gem_ppgtt.c b/tests/gem_ppgtt.c
index 0ee4f5b2a31e..850c99ea4b8a 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();
--
2.1.4
More information about the Intel-gfx
mailing list