[PATCH 1/2] lib/batchbuffer: Fix COLOR_BLIT_COPY_BATCH_START

Daniel Vetter
2015-03-25T20:48:07Z

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
---
lib/intel_batchbuffer.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/lib/intel_batchbuffer.h b/lib/intel_batchbuffer.h
index fa8875b3e472..8b440ca84824 100644
--- a/lib/intel_batchbuffer.h
+++ b/lib/intel_batchbuffer.h
@@ -175,6 +175,7 @@ intel_batchbuffer_require_space(struct intel_batchbuffer *batch,
OUT_BATCH(XY_COLOR_BLT_CMD_NOLEN | \
COLOR_BLT_WRITE_ALPHA | \
XY_COLOR_BLT_WRITE_RGB | \
+ (flags) | \
(4 + (batch->gen >= 8))); \
} while(0)

--
1.9.3