mirror of
				https://github.com/tiagovignatti/intel-gpu-tools.git
				synced 2025-11-03 19:47:15 +00:00 
			
		
		
		
	kms_panel_fitting: Switched DRM format to a hardware agnostic alternative.
Changed the DRM format to LOCAL_DRM_FORMAT_MOD_NONE since it is hardware agnostic. Also fixed formatting/tabs. Signed-off-by: Robert Foss <robert.foss@collabora.com> Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Signed-off-by: Marius Vlad <marius.c.vlad@intel.com>
This commit is contained in:
		
							parent
							
								
									a9c0943fa2
								
							
						
					
					
						commit
						0fee72d810
					
				@ -67,7 +67,7 @@ static void prepare_crtc(data_t *data, igt_output_t *output, enum pipe pipe,
 | 
			
		||||
	data->fb_id1 = igt_create_pattern_fb(data->drm_fd,
 | 
			
		||||
						mode->hdisplay, mode->vdisplay,
 | 
			
		||||
						DRM_FORMAT_XRGB8888,
 | 
			
		||||
					     LOCAL_I915_FORMAT_MOD_X_TILED, /* tiled */
 | 
			
		||||
						LOCAL_DRM_FORMAT_MOD_NONE,
 | 
			
		||||
						&data->fb1);
 | 
			
		||||
	igt_assert(data->fb_id1);
 | 
			
		||||
 | 
			
		||||
@ -159,7 +159,7 @@ static void test_panel_fitting(data_t *d)
 | 
			
		||||
 | 
			
		||||
		d->fb_id2 = igt_create_image_fb(d->drm_fd, 0, 0,
 | 
			
		||||
						DRM_FORMAT_XRGB8888,
 | 
			
		||||
						LOCAL_I915_FORMAT_MOD_X_TILED, /* tiled */
 | 
			
		||||
						LOCAL_DRM_FORMAT_MOD_NONE,
 | 
			
		||||
						FILE_NAME, &d->fb2);
 | 
			
		||||
		igt_assert(d->fb_id2);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user