summaryrefslogtreecommitdiff
path: root/lib/intel_batchbuffer.h
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-11-14 23:15:37 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-11-14 23:31:43 +0100
commitdf5e880beaffe2ab214eba8cdf27d9459dd99ead (patch)
tree00fabbae93adc3d7e883d580c7ea702eb7f82741 /lib/intel_batchbuffer.h
parentf7abef6618ab5b8c9a0358f9b765f3445f9f6be4 (diff)
tests: More bdw fallout
Diffstat (limited to 'lib/intel_batchbuffer.h')
-rw-r--r--lib/intel_batchbuffer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/intel_batchbuffer.h b/lib/intel_batchbuffer.h
index 11b7e6e5..6e24e984 100644
--- a/lib/intel_batchbuffer.h
+++ b/lib/intel_batchbuffer.h
@@ -102,13 +102,13 @@ intel_batchbuffer_require_space(struct intel_batchbuffer *batch,
OUT_BATCH(XY_SRC_COPY_BLT_CMD | \
XY_SRC_COPY_BLT_WRITE_ALPHA | \
XY_SRC_COPY_BLT_WRITE_RGB | \
- flags | 8); \
+ (flags) | 8); \
} else { \
BEGIN_BATCH(8); \
OUT_BATCH(XY_SRC_COPY_BLT_CMD | \
XY_SRC_COPY_BLT_WRITE_ALPHA | \
XY_SRC_COPY_BLT_WRITE_RGB | \
- flags | 6); \
+ (flags) | 6); \
} \
} while(0)