summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-01-22 19:52:51 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2016-01-22 20:01:55 +0000
commit3eae640b817fc506aafafb417e432b521517ed1a (patch)
tree76b82b9e6e7dd223e88bd4e7a82407a3d45eb3d1 /tests
parent4645630d3e7d1dcc8050e5f7da42318747002944 (diff)
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>
Diffstat (limited to 'tests')
-rw-r--r--tests/gem_concurrent_all.c3
1 files changed, 2 insertions, 1 deletions
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();