[Intel-gfx] [PATCH 1/2] lib/batchbuffer: Fix COLOR_BLIT_COPY_BATCH_START

Daniel Vetter daniel.vetter at ffwll.ch
Wed Mar 25 13:15:34 PDT 2015


Signed-off-by: Daniel Vetter <daniel.vetter at 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



More information about the Intel-gfx mailing list