From 9b14a828db76dcc27302059ff5504170540c6e2f Mon Sep 17 00:00:00 2001 From: sguttula Date: Thu, 10 Nov 2016 00:59:53 -0500 Subject: [PATCH] st/va: flush pipeline after post processing MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This will flush the pipeline,which will allow to share dma-buf based buffers. Signed-off-by: Suresh Guttula Reviewed-by: Christian König --- src/gallium/state_trackers/va/postproc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/state_trackers/va/postproc.c b/src/gallium/state_trackers/va/postproc.c index d06f01617df..01e240f0167 100644 --- a/src/gallium/state_trackers/va/postproc.c +++ b/src/gallium/state_trackers/va/postproc.c @@ -80,6 +80,7 @@ vlVaPostProcCompositor(vlVaDriver *drv, vlVaContext *context, vl_compositor_set_layer_dst_area(&drv->cstate, 0, &dst_rect); vl_compositor_render(&drv->cstate, &drv->compositor, surfaces[0], NULL, false); + drv->pipe->flush(drv->pipe, NULL, 0); return VA_STATUS_SUCCESS; } -- 2.30.2