From d6af0043bdde1413a3ccdc4e82d3f5b95b3ae271 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sat, 30 Aug 2014 14:48:36 +0100 Subject: [PATCH] batch: Fix typo in BLIT_BATCH_BEGIN Signed-off-by: Chris Wilson --- lib/intel_batchbuffer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/intel_batchbuffer.h b/lib/intel_batchbuffer.h index 74cf13b..77a6334 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 { \ -- 2.7.4