From: Zhao Yakui <[email protected]>
Signed-off-by: Zhao Yakui <[email protected]>
Signed-off-by: Xiang, Haihao <[email protected]>
---
src/intel_batchbuffer.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/intel_batchbuffer.c b/src/intel_batchbuffer.c
index c6d3769..37755e5 100644
--- a/src/intel_batchbuffer.c
+++ b/src/intel_batchbuffer.c
@@ -185,9 +185,10 @@ intel_batchbuffer_emit_mi_flush(struct intel_batchbuffer
*batch)
if (IS_GEN6(intel->device_info) ||
IS_GEN7(intel->device_info) ||
- IS_GEN8(intel->device_info)) {
+ IS_GEN8(intel->device_info) ||
+ IS_GEN9(intel->device_info)) {
if (batch->flag == I915_EXEC_RENDER) {
- if (IS_GEN8(intel->device_info)) {
+ if (IS_GEN8(intel->device_info) || IS_GEN9(intel->device_info)) {
BEGIN_BATCH(batch, 6);
OUT_BATCH(batch, CMD_PIPE_CONTROL | (6 - 2));
--
1.9.1
_______________________________________________
Libva mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libva