mirror of
				https://github.com/tiagovignatti/intel-gpu-tools.git
				synced 2025-11-04 12:07:12 +00:00 
			
		
		
		
	Add Cherryview PCI IDs
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
This commit is contained in:
		
							parent
							
								
									ce3c443641
								
							
						
					
					
						commit
						a40f091d81
					
				@ -184,6 +184,11 @@ void intel_check_pch(void);
 | 
			
		||||
#define PCI_CHIP_VALLEYVIEW_2		0x0f32
 | 
			
		||||
#define PCI_CHIP_VALLEYVIEW_3		0x0f33
 | 
			
		||||
 | 
			
		||||
#define PCI_CHIP_CHERRYVIEW_0		0x22b0
 | 
			
		||||
#define PCI_CHIP_CHERRYVIEW_1		0x22b1
 | 
			
		||||
#define PCI_CHIP_CHERRYVIEW_2		0x22b2
 | 
			
		||||
#define PCI_CHIP_CHERRYVIEW_3		0x22b3
 | 
			
		||||
 | 
			
		||||
#endif /* __GTK_DOC_IGNORE__ */
 | 
			
		||||
 | 
			
		||||
#define IS_MOBILE(devid)	((devid) == PCI_CHIP_I855_GM || \
 | 
			
		||||
@ -337,8 +342,13 @@ void intel_check_pch(void);
 | 
			
		||||
				 (((devid) & 0x000f) == BDW_WORKSTATION) ? 1 : \
 | 
			
		||||
				 (((devid) & 0x000f) == BDW_ULX) ? 1 : 0)
 | 
			
		||||
 | 
			
		||||
#define IS_CHERRYVIEW(devid)	((devid) == PCI_CHIP_CHERRYVIEW_0 || \
 | 
			
		||||
				 (devid) == PCI_CHIP_CHERRYVIEW_1 || \
 | 
			
		||||
				 (devid) == PCI_CHIP_CHERRYVIEW_2 || \
 | 
			
		||||
				 (devid) == PCI_CHIP_CHERRYVIEW_3)
 | 
			
		||||
 | 
			
		||||
#define IS_GEN8(devid)		IS_BROADWELL(devid)
 | 
			
		||||
#define IS_GEN8(devid)		(IS_BROADWELL(devid) || \
 | 
			
		||||
				 IS_CHERRYVIEW(devid))
 | 
			
		||||
 | 
			
		||||
#define IS_965(devid)		(IS_GEN4(devid) || \
 | 
			
		||||
				 IS_GEN5(devid) || \
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user