@@ -367,17 +367,17 @@ static void i915_mc_one_time_state_emit(XvMCContext * context)
/* Sample state buffer */
OUT_RELOC(pI915XvMC->ssb_bo, I915_GEM_DOMAIN_INSTRUCTION, 0,
- STATE_VALID | STATE_FORCE);
+ (STATE_VALID | STATE_FORCE));
OUT_BATCH(7); /* 8 - 1 */
/* Pixel shader program buffer */
OUT_RELOC(pI915XvMC->psp_bo, I915_GEM_DOMAIN_INSTRUCTION, 0,
- STATE_VALID | STATE_FORCE);
+ (STATE_VALID | STATE_FORCE));
OUT_BATCH(66); /* 4 + 16 + 16 + 31 - 1 */
/* Pixel shader constant buffer */
OUT_RELOC(pI915XvMC->psc_bo, I915_GEM_DOMAIN_INSTRUCTION, 0,
- STATE_VALID | STATE_FORCE);
+ (STATE_VALID | STATE_FORCE));
OUT_BATCH(5); /* 6 - 1 */
ADVANCE_BATCH();
}
@@ -705,12 +705,12 @@ static void i915_mc_load_indirect_render_emit(XvMCContext * context)
/* Static Indirect state buffer (dest buffer info) */
OUT_RELOC(pI915XvMC->sis_bo, I915_GEM_DOMAIN_INSTRUCTION, 0,
- STATE_VALID | STATE_FORCE);
+ (STATE_VALID | STATE_FORCE));
OUT_BATCH(16); /* 4 * 3 + 2 + 3 - 1 */
/* Map state buffer (reference buffer info) */
OUT_RELOC(pI915XvMC->msb_bo, I915_GEM_DOMAIN_INSTRUCTION, 0,
- STATE_VALID | STATE_FORCE);
+ (STATE_VALID | STATE_FORCE));
OUT_BATCH(23); /* 3 * 8 - 1 */
ADVANCE_BATCH();
}