From 8706204074755279041ff5f119186862a57863fa Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Mon, 19 Nov 2018 15:47:40 +1000 Subject: [PATCH] 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 --- src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.30.2