[Libva] [LIBVA-INTEL-DRIVER PATCH 2/5] Fix the incorrect configuration of media_pipeline power domain
Zhao Yakui
yakui.zhao at intel.com
Tue Jan 17 00:40:17 UTC 2017
Signed-off-by: Zhao Yakui <yakui.zhao at intel.com>
---
src/gen8_mfc.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/gen8_mfc.c b/src/gen8_mfc.c
index 7efe66e..9ea7423 100644
--- a/src/gen8_mfc.c
+++ b/src/gen8_mfc.c
@@ -1642,11 +1642,12 @@ gen8_mfc_avc_batchbuffer_pipeline(VADriverContextP ctx,
mfc_context->aux_batchbuffer = NULL;
}
+ if (IS_GEN9(i965->intel.device_info))
+ gen9_gpe_pipeline_end(ctx, &mfc_context->gpe_context, batch);
+
intel_batchbuffer_end_atomic(batch);
intel_batchbuffer_flush(batch);
- if (IS_GEN9(i965->intel.device_info))
- gen9_gpe_pipeline_end(ctx, &mfc_context->gpe_context, batch);
}
static void
--
1.9.1
More information about the Libva
mailing list