summaryrefslogtreecommitdiff
path: root/lib/intel_batchbuffer.h
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2015-03-25 21:15:34 +0100
committerPaulo Zanoni <paulo.r.zanoni@intel.com>2015-05-05 17:29:40 -0300
commit9bb2ca3a83efd528c11c8515ad85456d53717619 (patch)
treee0473bfff93cd022a5c9ef01bdc46c4d9fa578c1 /lib/intel_batchbuffer.h
parentc0ed7d344af4d60d2c9663041233c3e0fbc2dc38 (diff)
lib/batchbuffer: Fix COLOR_BLIT_COPY_BATCH_START
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'lib/intel_batchbuffer.h')
-rw-r--r--lib/intel_batchbuffer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/intel_batchbuffer.h b/lib/intel_batchbuffer.h
index 62c8396c..869747db 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)