mirror of
				https://github.com/tiagovignatti/intel-gpu-tools.git
				synced 2025-11-04 12:07:12 +00:00 
			
		
		
		
	tests/gem_cs_tlb: make it more robust
... using a fine roll of duct-tape. Dunno what exactly leaks out from the previous testcase, but the bo gets moved about a bit and makes the self-check of the test fail.
This commit is contained in:
		
							parent
							
								
									ea50871f15
								
							
						
					
					
						commit
						554237f351
					
				@ -151,6 +151,11 @@ int main(int argc, char **argv)
 | 
			
		||||
	fd = drm_open_any();
 | 
			
		||||
	devid = intel_get_drm_devid(fd);
 | 
			
		||||
 | 
			
		||||
	/* This test is very sensitive to residual gtt_mm noise from previous
 | 
			
		||||
	 * tests. Try to quiet thing down first. */
 | 
			
		||||
	gem_quiescent_gpu(fd);
 | 
			
		||||
	sleep(5); /* needs more serious ducttape */
 | 
			
		||||
 | 
			
		||||
	run_on_ring(fd, I915_EXEC_RENDER, "render");
 | 
			
		||||
 | 
			
		||||
	if (HAS_BSD_RING(devid))
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user