diff options
author | Dave Airlie <[email protected]> | 2018-11-19 15:47:40 +1000 |
---|---|---|
committer | Robert Foss <[email protected]> | 2018-11-19 15:33:19 +0100 |
commit | 8706204074755279041ff5f119186862a57863fa (patch) | |
tree | be291226b4972fdbb0705a2c111892364bec134b /src | |
parent | 55c75d2b49707baa3fee34b7637415090bff8e78 (diff) |
virgl: fix vtest regression since fencing changes.
The in_fence_fd needs to be initialised to -1.
Fixes: d1a1c21e7 (virgl: native fence fd support)
Reviewed-by: Robert Foss <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c b/src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c index bc7a8965be9..a23f8539241 100644 --- a/src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c +++ b/src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c @@ -427,6 +427,7 @@ static struct virgl_cmd_buf *virgl_vtest_cmd_buf_create(struct virgl_winsys *vws } cbuf->ws = vws; cbuf->base.buf = cbuf->buf; + cbuf->base.in_fence_fd = -1; return &cbuf->base; } |