mirror of
				https://github.com/tiagovignatti/intel-gpu-tools.git
				synced 2025-11-04 12:07:12 +00:00 
			
		
		
		
	rendercopy/bdw: Fix length of a bunch of zeroed out packets.
A bunch of packets were too short. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Reviewed-by: Damien Lespiau <damien.lespiau@intel.com> Cc: Ben Widawsky <ben@bwidawsk.net> Cc: Damien Lespiau <damien.lespiau@intel.com>
This commit is contained in:
		
							parent
							
								
									fdbdc7f325
								
							
						
					
					
						commit
						f034817b40
					
				@ -584,7 +584,10 @@ gen8_emit_vs(struct intel_batchbuffer *batch) {
 | 
			
		||||
	OUT_BATCH(0);
 | 
			
		||||
	OUT_BATCH(0);
 | 
			
		||||
 | 
			
		||||
	OUT_BATCH(GEN6_3DSTATE_VS | (6-2));
 | 
			
		||||
	OUT_BATCH(GEN6_3DSTATE_VS | (9-2));
 | 
			
		||||
	OUT_BATCH(0);
 | 
			
		||||
	OUT_BATCH(0);
 | 
			
		||||
	OUT_BATCH(0);
 | 
			
		||||
	OUT_BATCH(0);
 | 
			
		||||
	OUT_BATCH(0);
 | 
			
		||||
	OUT_BATCH(0);
 | 
			
		||||
@ -606,7 +609,9 @@ gen8_emit_hs(struct intel_batchbuffer *batch) {
 | 
			
		||||
	OUT_BATCH(0);
 | 
			
		||||
	OUT_BATCH(0);
 | 
			
		||||
 | 
			
		||||
	OUT_BATCH(GEN7_3DSTATE_HS | (7-2));
 | 
			
		||||
	OUT_BATCH(GEN7_3DSTATE_HS | (9-2));
 | 
			
		||||
	OUT_BATCH(0);
 | 
			
		||||
	OUT_BATCH(0);
 | 
			
		||||
	OUT_BATCH(0);
 | 
			
		||||
	OUT_BATCH(0);
 | 
			
		||||
	OUT_BATCH(0);
 | 
			
		||||
@ -635,7 +640,10 @@ gen8_emit_gs(struct intel_batchbuffer *batch) {
 | 
			
		||||
	OUT_BATCH(0);
 | 
			
		||||
	OUT_BATCH(0);
 | 
			
		||||
 | 
			
		||||
	OUT_BATCH(GEN7_3DSTATE_GS | (7-2));
 | 
			
		||||
	OUT_BATCH(GEN7_3DSTATE_GS | (10-2));
 | 
			
		||||
	OUT_BATCH(0);
 | 
			
		||||
	OUT_BATCH(0);
 | 
			
		||||
	OUT_BATCH(0);
 | 
			
		||||
	OUT_BATCH(0);
 | 
			
		||||
	OUT_BATCH(0);
 | 
			
		||||
	OUT_BATCH(0);
 | 
			
		||||
@ -664,7 +672,10 @@ gen8_emit_ds(struct intel_batchbuffer *batch) {
 | 
			
		||||
	OUT_BATCH(0);
 | 
			
		||||
	OUT_BATCH(0);
 | 
			
		||||
 | 
			
		||||
	OUT_BATCH(GEN7_3DSTATE_DS | (6-2));
 | 
			
		||||
	OUT_BATCH(GEN7_3DSTATE_DS | (9-2));
 | 
			
		||||
	OUT_BATCH(0);
 | 
			
		||||
	OUT_BATCH(0);
 | 
			
		||||
	OUT_BATCH(0);
 | 
			
		||||
	OUT_BATCH(0);
 | 
			
		||||
	OUT_BATCH(0);
 | 
			
		||||
	OUT_BATCH(0);
 | 
			
		||||
@ -786,7 +797,8 @@ gen8_emit_ps(struct intel_batchbuffer *batch, uint32_t kernel) {
 | 
			
		||||
 | 
			
		||||
static void
 | 
			
		||||
gen8_emit_depth(struct intel_batchbuffer *batch) {
 | 
			
		||||
	OUT_BATCH(GEN7_3DSTATE_DEPTH_BUFFER | (7-2));
 | 
			
		||||
	OUT_BATCH(GEN7_3DSTATE_DEPTH_BUFFER | (8-2));
 | 
			
		||||
	OUT_BATCH(0);
 | 
			
		||||
	OUT_BATCH(0);
 | 
			
		||||
	OUT_BATCH(0);
 | 
			
		||||
	OUT_BATCH(0);
 | 
			
		||||
@ -937,7 +949,9 @@ void gen8_render_copyfunc(struct intel_batchbuffer *batch,
 | 
			
		||||
 | 
			
		||||
	gen8_emit_null_state(batch);
 | 
			
		||||
 | 
			
		||||
	OUT_BATCH(GEN7_3DSTATE_STREAMOUT | 1);
 | 
			
		||||
	OUT_BATCH(GEN7_3DSTATE_STREAMOUT | (5-2));
 | 
			
		||||
	OUT_BATCH(0);
 | 
			
		||||
	OUT_BATCH(0);
 | 
			
		||||
	OUT_BATCH(0);
 | 
			
		||||
	OUT_BATCH(0);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user