anv: Add missing unlock in anv_scratch_pool_alloc
authorAlex Smith <asmith@feralinteractive.com>
Thu, 4 Jan 2018 11:28:46 +0000 (11:28 +0000)
committerAlex Smith <asmith@feralinteractive.com>
Thu, 4 Jan 2018 14:54:02 +0000 (14:54 +0000)
commit00a81e9909365065545a3c2dc362b645a8238fb2
tree3fbfe474c80f75e7323cab744a315ef0e36b2beb
parente923075a82af63e5b5019c17dcf86a573deb7282
anv: Add missing unlock in anv_scratch_pool_alloc

Fixes hangs seen due to the lock not being released here.

Signed-off-by: Alex Smith <asmith@feralinteractive.com>
Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_allocator.c