mirror of
				https://github.com/tiagovignatti/intel-gpu-tools.git
				synced 2025-11-04 03:58:27 +00:00 
			
		
		
		
	testdisplay: automatically enable TEST_PLANES if possible
Just look for the ADDFB2 ioctl and enable the new code if it exists.
This commit is contained in:
		
							parent
							
								
									8969b839b5
								
							
						
					
					
						commit
						e235f93288
					
				@ -67,6 +67,10 @@
 | 
			
		||||
#include "xf86drmMode.h"
 | 
			
		||||
#include "i915_drm.h"
 | 
			
		||||
 | 
			
		||||
#ifdef DRM_IOCTL_MODE_ADDFB2
 | 
			
		||||
#define TEST_PLANES 1
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
struct udev_monitor *uevent_monitor;
 | 
			
		||||
drmModeRes *resources;
 | 
			
		||||
int fd, modes;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user