[Libva] [PATCH Intel-vaapi 2/3] bdw: Follow the spec to update the PIPE_CONTROL command

yakui.zhao at intel.com yakui.zhao at intel.com
Fri Feb 28 00:09:34 PST 2014


From: Zhao Yakui <yakui.zhao at intel.com>

This is the hardware requirement.

Signed-off-by: Zhao Yakui <Yakui.zhao at intel.com>
---
 src/intel_batchbuffer.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/intel_batchbuffer.c b/src/intel_batchbuffer.c
index 52bf443..9dc496d 100644
--- a/src/intel_batchbuffer.c
+++ b/src/intel_batchbuffer.c
@@ -192,6 +192,7 @@ intel_batchbuffer_emit_mi_flush(struct intel_batchbuffer *batch)
                 OUT_BATCH(batch, CMD_PIPE_CONTROL | (6 - 2));
 
                 OUT_BATCH(batch,
+                          CMD_PIPE_CONTROL_CS_STALL |
                           CMD_PIPE_CONTROL_WC_FLUSH |
                           CMD_PIPE_CONTROL_TC_FLUSH |
                           CMD_PIPE_CONTROL_DC_FLUSH |
-- 
1.7.12-rc1



More information about the Libva mailing list