From: sguttula Date: Thu, 10 Nov 2016 05:59:53 +0000 (-0500) Subject: st/va: flush pipeline after post processing X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9b14a828db76dcc27302059ff5504170540c6e2f;p=mesa.git st/va: flush pipeline after post processing This will flush the pipeline,which will allow to share dma-buf based buffers. Signed-off-by: Suresh Guttula Reviewed-by: Christian König --- 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; }