mirror of
				https://github.com/tiagovignatti/intel-gpu-tools.git
				synced 2025-11-04 03:58:27 +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,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();
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user