virgl: handle fence_server_sync in winsys
authorChia-I Wu <olvaffe@gmail.com>
Tue, 9 Apr 2019 17:55:40 +0000 (17:55 +0000)
committerGurchetan Singh <gurchetansingh@chromium.org>
Mon, 15 Apr 2019 23:25:47 +0000 (23:25 +0000)
commita23c091988f30fd432b5e1a68aedc95c307efa34
treecd3dddd5930a34110259f18b005aa045821ad2ae
parent88e0bbf24aa82000195d10c7873f881d190b825b
virgl: handle fence_server_sync in winsys

It does not need help from the driver.  This also fixes one issue where
the fence is ignored when the transfer queue is full.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/gallium/drivers/virgl/virgl_context.c
src/gallium/drivers/virgl/virgl_transfer_queue.c
src/gallium/drivers/virgl/virgl_winsys.h
src/gallium/winsys/virgl/drm/virgl_drm_winsys.c
src/gallium/winsys/virgl/drm/virgl_drm_winsys.h
src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c