From 3eae640b817fc506aafafb417e432b521517ed1a Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Fri, 22 Jan 2016 19:52:51 +0000 Subject: [PATCH] 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 --- tests/gem_concurrent_all.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/gem_concurrent_all.c b/tests/gem_concurrent_all.c index 9039ccb2..130a4de0 100644 --- a/tests/gem_concurrent_all.c +++ b/tests/gem_concurrent_all.c @@ -1435,7 +1435,8 @@ run_modes(const char *style, const struct access_mode *mode, unsigned allow_mem) return; 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); igt_fork_signal_helper();