summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhao Yakui <yakui.zhao@intel.com>2015-08-14 12:13:08 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2015-09-06 15:13:57 +0800
commit9d7c3d19026a886b5b2cd1c547c6b99078f9fb4b (patch)
treef2bbee83ed0d2eb8b221d3a67cbe5c0e1c41eee6
parent8e8d5487b09cd1d8f421e3147d671c4c35fdb039 (diff)
VPP: Flush batch buffer to assure that previous GPU operation is submitted
Tested-by: Zaverel <zaverel@free.fr> Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> (cherry picked from commit 67e122a4b100365d5d8bb6377c73e39f6c44abf9)
-rwxr-xr-xsrc/i965_post_processing.c2
1 files changed, 2 insertions, 0 deletions
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;