summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorImre Deak <imre.deak@intel.com>2013-09-04 17:06:00 +0300
committerImre Deak <imre.deak@intel.com>2013-09-04 17:07:28 +0300
commitcaf4608809012766c1db62865b39829cbe2c0c1d (patch)
treed93db8fc9d7cf03f968b72438778e6bf618b5761
parent52221651ab2bd2994a9e1d97f717ade432430c91 (diff)
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>
-rw-r--r--lib/intel_batchbuffer.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/intel_batchbuffer.c b/lib/intel_batchbuffer.c
index 8dfadfb7..e356729b 100644
--- a/lib/intel_batchbuffer.c
+++ b/lib/intel_batchbuffer.c
@@ -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;