batch: Fix typo in BLIT_BATCH_BEGIN
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 30 Aug 2014 13:48:36 +0000 (14:48 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Sat, 30 Aug 2014 13:48:36 +0000 (14:48 +0100)
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
lib/intel_batchbuffer.h

index 74cf13b..77a6334 100644 (file)
@@ -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 { \