mirror of
				https://github.com/tiagovignatti/intel-gpu-tools.git
				synced 2025-11-04 12:07:12 +00:00 
			
		
		
		
	gem_wait_render_timeout: Fix SKIP return code
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
		
							parent
							
								
									3b9a76d2fa
								
							
						
					
					
						commit
						ef45b44036
					
				@ -133,7 +133,7 @@ int main(int argc, char **argv)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	if (gem_bo_wait_timeout(fd, dst->handle, &timeout) == -EINVAL) {
 | 
						if (gem_bo_wait_timeout(fd, dst->handle, &timeout) == -EINVAL) {
 | 
				
			||||||
		printf("kernel doesn't support wait_timeout, skipping test\n");
 | 
							printf("kernel doesn't support wait_timeout, skipping test\n");
 | 
				
			||||||
		return -77;
 | 
							return 77;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	timeout = ENOUGH_WORK_IN_SECONDS * NSEC_PER_SEC;
 | 
						timeout = ENOUGH_WORK_IN_SECONDS * NSEC_PER_SEC;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user