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 <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter 2015-02-06 23:09:45 +01:00
parent 7a03ddf994
commit bf5035a728

View File

@ -220,8 +220,8 @@ int main(int argc, char **argv)
igt_subtest("bcs-vs-rcs-ctxN") { igt_subtest("bcs-vs-rcs-ctxN") {
dri_bo *bcs[1], *rcs[N_CHILD]; 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_rcs_copy(0x8000 / N_CHILD, rcs, N_CHILD, CREATE_CONTEXT);
fork_bcs_copy(0x4000, bcs, 1);
igt_waitchildren(); igt_waitchildren();