Add selftests for drm_rect. A few basic ones for clipped and unclipped cases, and a few special ones for specific bugs we had in the code. I'm too lazy to think of more corner cases to check at this time. Maybe later. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20191122175623.13565-5-ville.syrjala@linux.intel.com Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Benjamin Gaignard <benjamin.gaignard@st.com>
		
			
				
	
	
		
			8 lines
		
	
	
		
			359 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			359 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| # SPDX-License-Identifier: GPL-2.0-only
 | |
| test-drm_modeset-y := test-drm_modeset_common.o test-drm_plane_helper.o \
 | |
|                       test-drm_format.o test-drm_framebuffer.o \
 | |
| 		      test-drm_damage_helper.o test-drm_dp_mst_helper.o \
 | |
| 		      test-drm_rect.o
 | |
| 
 | |
| obj-$(CONFIG_DRM_DEBUG_SELFTEST) += test-drm_mm.o test-drm_modeset.o test-drm_cmdline_parser.o
 |