virgl: consider newly created resources idle
authorChia-I Wu <olvaffe@gmail.com>
Thu, 6 Jun 2019 17:55:59 +0000 (10:55 -0700)
committerChia-I Wu <olvaffe@gmail.com>
Tue, 11 Jun 2019 17:03:54 +0000 (10:03 -0700)
commit15323c14fd9cacfa157bbfc16355e695f2e0bf9f
tree5d18d6085314c9884281822e5c16062a1f78dd98
parent9e4452cfd9cdad9cded9f75cca63036236b8b178
virgl: consider newly created resources idle

A newly created resource can be regarded as idle.  We don't care if
the RESOURCE_CREATE command has been retired, unless it is used for
fencing.

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