igt/gem_concurrent_blit: Disable userptr+child tests

The issue here is that the pointer inherited upon the child is
copied-on-write, i.e. the pointer is private to each process, but the
handle is shared. This means that writes and reads in the child are
going to a different set of pages than the GPU's object - the test is
simply broken. To overcome this we would need to mmap the shared buffer
into the child.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2016-01-22 19:52:51 +00:00
parent 4645630d3e
commit 3eae640b81

View File

@ -1435,7 +1435,8 @@ run_modes(const char *style, const struct access_mode *mode, unsigned allow_mem)
return; return;
run_basic_modes(style, mode, "", run_single); run_basic_modes(style, mode, "", run_single);
run_basic_modes(style, mode, "-child", run_child); if (mode->create_bo != userptr_create_bo)
run_basic_modes(style, mode, "-child", run_child);
run_basic_modes(style, mode, "-forked", run_forked); run_basic_modes(style, mode, "-forked", run_forked);
igt_fork_signal_helper(); igt_fork_signal_helper();