mirror of
				https://github.com/tiagovignatti/intel-gpu-tools.git
				synced 2025-11-04 12:07:12 +00:00 
			
		
		
		
	lib/intel_batchbuffer: remove code w/o effect
Introduced when refactoring the patch in
commit c1ee0bb53269ded7b79966d081518d689639bac7
Author: Imre Deak <imre.deak@intel.com>
Date:   Mon Jul 29 16:43:31 2013 +0300
    intel_batchbuffer: add support for non-32bit blt copies
No functional change.
Signed-off-by: Imre Deak <imre.deak@intel.com>
			
			
This commit is contained in:
		
							parent
							
								
									52221651ab
								
							
						
					
					
						commit
						caf4608809
					
				@ -203,13 +203,11 @@ intel_blt_copy(struct intel_batchbuffer *batch,
 | 
			
		||||
	drm_intel_bo_get_tiling(src_bo, &src_tiling, &swizzle);
 | 
			
		||||
	drm_intel_bo_get_tiling(dst_bo, &dst_tiling, &swizzle);
 | 
			
		||||
 | 
			
		||||
	src_pitch = src_pitch;
 | 
			
		||||
	if (IS_965(batch->devid) && src_tiling != I915_TILING_NONE) {
 | 
			
		||||
		src_pitch /= 4;
 | 
			
		||||
		cmd_bits |= XY_SRC_COPY_BLT_SRC_TILED;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	dst_pitch = dst_pitch;
 | 
			
		||||
	if (IS_965(batch->devid) && dst_tiling != I915_TILING_NONE) {
 | 
			
		||||
		dst_pitch /= 4;
 | 
			
		||||
		cmd_bits |= XY_SRC_COPY_BLT_DST_TILED;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user