summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-08-30 14:48:36 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2014-08-30 14:48:36 +0100
commitd6af0043bdde1413a3ccdc4e82d3f5b95b3ae271 (patch)
tree9a166f3c6fa741c2e4733cd899573a9813b8b3f8
parent10552b5ca6c193e0c696e96c9f5e0d6142f4d8ee (diff)
downloadintel-gpu-tools-d6af0043bdde1413a3ccdc4e82d3f5b95b3ae271.tar.gz
intel-gpu-tools-d6af0043bdde1413a3ccdc4e82d3f5b95b3ae271.tar.bz2
intel-gpu-tools-d6af0043bdde1413a3ccdc4e82d3f5b95b3ae271.zip
batch: Fix typo in BLIT_BATCH_BEGIN
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--lib/intel_batchbuffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/intel_batchbuffer.h b/lib/intel_batchbuffer.h
index 74cf13bb..77a63347 100644
--- a/lib/intel_batchbuffer.h
+++ b/lib/intel_batchbuffer.h
@@ -160,7 +160,7 @@ intel_batchbuffer_require_space(struct intel_batchbuffer *batch,
XY_SRC_COPY_BLT_WRITE_ALPHA | \
XY_SRC_COPY_BLT_WRITE_RGB | \
(flags) | \
- (6 + (2*batch->gen >= 8))); \
+ (6 + 2*(batch->gen >= 8))); \
} while(0)
#define COLOR_BLIT_COPY_BATCH_START(flags) do { \