virgl: native fence fd support
authorRobert Foss <robert.foss@collabora.com>
Mon, 29 Aug 2016 23:13:45 +0000 (23:13 +0000)
committerRobert Foss <robert.foss@collabora.com>
Fri, 16 Nov 2018 13:41:57 +0000 (14:41 +0100)
commitd1a1c21e7621b5177febf191fcd3d3b8ef69dc96
treef6d05d201f9f4125a9c5d0bb6039fec8ba495058
parent0db898cef2f5a455138e5845689c075aadba1c1f
virgl: native fence fd support

Following the support for fences on the virtio driver add support
for native fence on virgl. This was somewhat based on the freedeno one.

Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.com>
Signed-off-by: Robert Foss <robert.foss@collabora.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/gallium/drivers/virgl/virgl_context.c
src/gallium/drivers/virgl/virgl_screen.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/drm/virtgpu_drm.h
src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c