virgl: Use file descriptor instead of un-allocated object
authorGert Wollny <gert.wollny@collabora.com>
Mon, 19 Nov 2018 09:56:23 +0000 (10:56 +0100)
committerRobert Foss <robert.foss@collabora.com>
Mon, 19 Nov 2018 10:03:56 +0000 (11:03 +0100)
commit40eca7d3e1dc647e96e170a17a697f1e12782ae5
tree8a8077de4d06b9e469641daab9a9b334514d183d
parent78fdc507a37b7174e21412cc0b2f4818dbe6b63f
virgl: Use file descriptor instead of un-allocated object

The structure qdws is not allocated at this point, nor is the
file descriptor set to it's member. Use the fd directly instead.

Fixes:  d1a1c21e7621b5177febf191fcd3d3b8ef69dc96
    virgl: native fence fd support

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
src/gallium/winsys/virgl/drm/virgl_drm_winsys.c