iris: Fix locking around vma_alloc in iris_bo_create_userptr
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 26 May 2019 22:57:55 +0000 (15:57 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 30 May 2019 02:40:16 +0000 (19:40 -0700)
commit78003014d03e77ed48d33f32de5d940e81917b6b
tree4b138b13ae996eccf8f53c131df79396ef2121d6
parent5fc11fd98853282b68e5f0a7bce23deb5a3d6beb
iris: Fix locking around vma_alloc in iris_bo_create_userptr

util_vma needs to be protected by a lock.  All other callers of
vma_alloc and vma_free appear to be holding a lock already.

Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
src/gallium/drivers/iris/iris_bufmgr.c