mirror of
				https://github.com/tiagovignatti/intel-gpu-tools.git
				synced 2025-11-04 12:07:12 +00:00 
			
		
		
		
	tests/kms_render: gen2/3 can't do 10bpc
So skip those. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=86236 Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
		
							parent
							
								
									08f0e1c625
								
							
						
					
					
						commit
						d8078911f6
					
				@ -179,10 +179,17 @@ static void test_connector(const char *test_name,
 | 
			
		||||
	int i;
 | 
			
		||||
 | 
			
		||||
	igt_get_all_formats(&formats, &format_count);
 | 
			
		||||
	for (i = 0; i < format_count; i++)
 | 
			
		||||
	for (i = 0; i < format_count; i++) {
 | 
			
		||||
		if (intel_gen(intel_get_drm_devid(drm_fd)) < 4
 | 
			
		||||
		    && formats[i] == DRM_FORMAT_XRGB2101010) {
 | 
			
		||||
			igt_info("gen2/3 don't support 10bpc, skipping\n");
 | 
			
		||||
			continue;
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		test_format(test_name,
 | 
			
		||||
			    cconf, &cconf->connector->modes[0],
 | 
			
		||||
			    formats[i], flags);
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static int run_test(const char *test_name, enum test_flags flags)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user