[Mesa-dev] [PATCH] virgl: fix vtest regression since fencing changes.
Robert Foss
robert.foss at collabora.com
Mon Nov 19 14:34:16 UTC 2018
Hey Dave,
Thanks for catching this, pushed!
On 2018-11-19 06:47, Dave Airlie wrote:
> From: Dave Airlie <airlied at redhat.com>
>
> The in_fence_fd needs to be initialised to -1.
>
> Fixes: d1a1c21e7 (virgl: native fence fd support)
> ---
> 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 bc7a8965be..a23f853924 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;
> }
>
>
More information about the mesa-dev
mailing list