Verified Commit 87062040 authored by Dave Airlie's avatar Dave Airlie Committed by Robert Foss

virgl: fix vtest regression since fencing changes.

The in_fence_fd needs to be initialised to -1.

Fixes: d1a1c21e (virgl: native fence fd support)
Reviewed-by: Robert Foss's avatarRobert Foss <robert.foss@collabora.com>
parent 55c75d2b
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment