mirror of
				https://github.com/tiagovignatti/intel-gpu-tools.git
				synced 2025-11-04 03:58:27 +00:00 
			
		
		
		
	tests: More bdw fallout
This commit is contained in:
		
							parent
							
								
									f7abef6618
								
							
						
					
					
						commit
						df5e880bea
					
				@ -102,13 +102,13 @@ intel_batchbuffer_require_space(struct intel_batchbuffer *batch,
 | 
			
		||||
		OUT_BATCH(XY_SRC_COPY_BLT_CMD | \
 | 
			
		||||
				XY_SRC_COPY_BLT_WRITE_ALPHA | \
 | 
			
		||||
				XY_SRC_COPY_BLT_WRITE_RGB | \
 | 
			
		||||
				flags | 8); \
 | 
			
		||||
				(flags) | 8); \
 | 
			
		||||
	} else { \
 | 
			
		||||
		BEGIN_BATCH(8); \
 | 
			
		||||
		OUT_BATCH(XY_SRC_COPY_BLT_CMD | \
 | 
			
		||||
				XY_SRC_COPY_BLT_WRITE_ALPHA | \
 | 
			
		||||
				XY_SRC_COPY_BLT_WRITE_RGB | \
 | 
			
		||||
				flags | 6); \
 | 
			
		||||
				(flags) | 6); \
 | 
			
		||||
	} \
 | 
			
		||||
} while(0)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -155,7 +155,6 @@ uint32_t batch_size = sizeof(gen6_batch);
 | 
			
		||||
 | 
			
		||||
int main(int argc, char **argv)
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
	const uint32_t hang[] = {-1, -1, -1, -1};
 | 
			
		||||
	const uint32_t end[] = {MI_BATCH_BUFFER_END, 0};
 | 
			
		||||
	uint64_t aper_size;
 | 
			
		||||
 | 
			
		||||
@ -98,7 +98,7 @@ copy(int fd, uint32_t dst, uint32_t src)
 | 
			
		||||
 | 
			
		||||
	batch[0] = XY_SRC_COPY_BLT_CMD |
 | 
			
		||||
		  XY_SRC_COPY_BLT_WRITE_ALPHA |
 | 
			
		||||
		  XY_SRC_COPY_BLT_WRITE_RGB;
 | 
			
		||||
		  XY_SRC_COPY_BLT_WRITE_RGB | 6;
 | 
			
		||||
	batch[1] = (3 << 24) | /* 32 bits */
 | 
			
		||||
		  (0xcc << 16) | /* copy ROP */
 | 
			
		||||
		  WIDTH*4;
 | 
			
		||||
 | 
			
		||||
@ -334,7 +334,7 @@ static void blt_copy(int fd, uint32_t dst, uint32_t src)
 | 
			
		||||
 | 
			
		||||
	*b++ = (XY_SRC_COPY_BLT_CMD |
 | 
			
		||||
		XY_SRC_COPY_BLT_WRITE_ALPHA |
 | 
			
		||||
		XY_SRC_COPY_BLT_WRITE_RGB);
 | 
			
		||||
		XY_SRC_COPY_BLT_WRITE_RGB | 6);
 | 
			
		||||
	*b++ = 3 << 24 | 0xcc << 16 | WIDTH * 4;
 | 
			
		||||
	*b++ = 0;
 | 
			
		||||
	*b++ = HEIGHT << 16 | WIDTH;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user