mirror of
				https://github.com/tiagovignatti/intel-gpu-tools.git
				synced 2025-11-03 19:47:15 +00:00 
			
		
		
		
	Modifications to 'null_state_gen' so it can generate GEN9
golden context batch buffer source for SKL.
v2: - rebased on top of gen8 changes (Mika)
    - fixed state base address command size (Mika)
    - base address size macro as pages (Mika)
v3: - rebased on top of current master (Mika)
    - removed obsolete #includes (Mika)
    - added copyright (Mika)
    - render and component packing added (Mika)
Cc: Damien Lespiau <damien.lespiau@intel.com>
Cc: Armin Reese <armin.c.reese@intel.com>
Cc: Volkin, Bradley D <bradley.d.volkin@intel.com>
Reviewed-by: Volkin, Bradley D <bradley.d.volkin@intel.com> (v2)
Signed-off-by: Armin Reese <armin.c.reese@intel.com> (v1)
Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
		
	
			
		
			
				
	
	
		
			18 lines
		
	
	
		
			461 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			461 B
		
	
	
	
		
			C
		
	
	
	
	
	
#ifndef GEN9_RENDER_H
 | 
						|
#define GEN9_RENDER_H
 | 
						|
 | 
						|
#include "gen8_render.h"
 | 
						|
 | 
						|
#define GEN7_3DSTATE_VF				GEN6_3D(3, 0, 0x0c)
 | 
						|
#define GEN9_3DSTATE_COMPONENT_PACKING		GEN6_3D(3, 0, 0x55)
 | 
						|
 | 
						|
#define GEN9_SBE_ACTIVE_COMPONENT_NONE		0
 | 
						|
#define GEN9_SBE_ACTIVE_COMPONENT_XY		1
 | 
						|
#define GEN9_SBE_ACTIVE_COMPONENT_XYZ		2
 | 
						|
#define GEN9_SBE_ACTIVE_COMPONENT_XYZW		3
 | 
						|
 | 
						|
#define GEN9_PIPELINE_SELECTION_MASK		(3 << 8)
 | 
						|
#define GEN9_PIPELINE_SELECT			(GEN6_3D(1, 1, 4) | (3 << 8))
 | 
						|
 | 
						|
#endif
 |