virgl: add virgl_drm_{alloc,free,clear}_res_list
authorChia-I Wu <olvaffe@gmail.com>
Mon, 10 Jun 2019 23:05:48 +0000 (16:05 -0700)
committerChia-I Wu <olvaffe@gmail.com>
Tue, 11 Jun 2019 17:03:54 +0000 (10:03 -0700)
commitddc90be907a1386b071fa9cfffb4535a6fa0b19e
tree61f7f16bf6b5b44afe11b060f6ed72f7f33b59a8
parent71465fe569d782e798895ed7d06805b42a1eabec
virgl: add virgl_drm_{alloc,free,clear}_res_list

Helpers to work with resource list.  virgl_drm_release_all_res is
removed.

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