frontend/va: Remove fence_server_sync for surface in vlVaHandleVAProcPipelineParameterBufferType

Fixes: fb1783616e ("frontend/va: Add video processing async fence support")

Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24023>
This commit is contained in:
Sil Vilerino 2023-07-06 11:48:48 -04:00 committed by Marge Bot
parent 52647bd221
commit 80731c4b43

View file

@ -490,11 +490,6 @@ vlVaHandleVAProcPipelineParameterBufferType(vlVaDriver *drv, vlVaContext *contex
src_region = vlVaRegionDefault(param->surface_region, src_surface, &def_src_region);
dst_region = vlVaRegionDefault(param->output_region, dst_surface, &def_dst_region);
/* Insert a GPU Wait on the input surface fence to ensure
any pending work is finished before performing the VPBlit */
if (src_surface->fence && drv->pipe->fence_server_sync)
drv->pipe->fence_server_sync(drv->pipe, src_surface->fence);
/* If the driver supports video engine post proc, attempt to do that
* if it fails, fallback to the other existing implementations below
*/