mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-23 15:56:33 +00:00
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:
parent
4645630d3e
commit
3eae640b81
@ -1435,6 +1435,7 @@ 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);
|
||||||
|
if (mode->create_bo != userptr_create_bo)
|
||||||
run_basic_modes(style, mode, "-child", run_child);
|
run_basic_modes(style, mode, "-child", run_child);
|
||||||
run_basic_modes(style, mode, "-forked", run_forked);
|
run_basic_modes(style, mode, "-forked", run_forked);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user