virgl: do not cache external resources
authorChia-I Wu <olvaffe@gmail.com>
Thu, 6 Jun 2019 21:58:39 +0000 (14:58 -0700)
committerChia-I Wu <olvaffe@gmail.com>
Tue, 11 Jun 2019 17:03:54 +0000 (10:03 -0700)
commit71465fe569d782e798895ed7d06805b42a1eabec
tree65902dff34983a3507a10817feb311d3f232c484
parent7d43999e6365520a3c5b1e45a61b1590e4cb18a3
virgl: do not cache external resources

We should not reuse a resource for other purposes when it can still
be accessed by another process or device.

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