virgl: Don't try to use cached resources for legacy fences
authorAlexandros Frantzis <alexandros.frantzis@collabora.com>
Wed, 5 Jun 2019 07:32:01 +0000 (10:32 +0300)
committerChia-I Wu <olvaffe@gmail.com>
Sat, 8 Jun 2019 04:45:16 +0000 (21:45 -0700)
commite0ffcdf16a61a41f2a2e4e2c0dca94cf506ba17e
tree838b1be7a63c26e028c98dcbcd6464263f09903f
parent8089d3658ad3a2d62fb815d545b727bb72ed63c9
virgl: Don't try to use cached resources for legacy fences

Resources for fences should not be from the cache, since we are basing
the fence status on the resource creation busy status.

Signed-off-by: Alexandros Frantzis <alexandros.frantzis@collabora.com>
Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
src/gallium/winsys/virgl/drm/virgl_drm_winsys.c
src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c