[Libva] [PATCH 1/2] VPP: Flush batch buffer to assure that previous GPU operation is submitted

Zhao Yakui yakui.zhao at intel.com
Thu Aug 13 23:55:50 PDT 2015


Tested-by: Zaverel <zaverel at free.fr>
Signed-off-by: Zhao Yakui <yakui.zhao at intel.com>
---
 src/i965_post_processing.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/i965_post_processing.c b/src/i965_post_processing.c
index 6cb6681..7efb75b 100755
--- a/src/i965_post_processing.c
+++ b/src/i965_post_processing.c
@@ -5957,6 +5957,8 @@ i965_proc_picture(VADriverContextP ctx,
                                obj_surface,
                                pipeline_param->output_background_color);
 
+        intel_batchbuffer_flush(hw_context->batch);
+
         saved_filter_flag = i965pp_context->filter_flags;
         i965pp_context->filter_flags = VA_FILTER_SCALING_HQ;
 
-- 
1.9.1



More information about the Libva mailing list