Re: [Mesa-dev] [PATCH] virgl: fix checking fences

2016-06-07 Thread Emil Velikov
Hi Marc-André, Dave On 7 June 2016 at 13:54, Marc-André Lureau wrote: > When calling virgl_fence_wait() with timeout=0, > virgl_{drm,vtest}_resource_is_busy() is called. However, it returns TRUE > for a busy resource, whereace virgl_fence_wait() should return TRUE for > a completed (non-busy) res

[Mesa-dev] [PATCH] virgl: fix checking fences

2016-06-07 Thread Marc-André Lureau
When calling virgl_fence_wait() with timeout=0, virgl_{drm,vtest}_resource_is_busy() is called. However, it returns TRUE for a busy resource, whereace virgl_fence_wait() should return TRUE for a completed (non-busy) resource. This fixes running supertuxkart in a VM (I could not reproduce locally w