anv: use anv_gem_munmap in block pool cleanup

Use anv_gem_munmap for unmap when softpin in use, this corresponds to
anv_gem_mmap used in anv_block_pool_expand_range. This fixes valgrind
errors seen for each pool when softpin is in use:

  ==25581== 262,144 bytes in 1 blocks are definitely lost in loss record 31 of 31
  ==25581==    at 0x50E77E8: anv_gem_mmap (anv_gem.c:96)
  ==25581==    by 0x50EEE2B: anv_block_pool_expand_range (anv_allocator.c:543)
  ==25581==    by 0x50EEB51: anv_block_pool_init (anv_allocator.c:477)
  ==25581==    by 0x50EF7EF: anv_state_pool_init (anv_allocator.c:920)
  ==25581==    by 0x510B8EB: anv_CreateDevice (anv_device.c:2031)

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
25 jobs for !391 with gem-munmap in 18 minutes and 5 seconds (queued for 2 seconds)
detached
Status Name Job ID Coverage
  Containers Build
passed ubuntu #157774

00:01:14

 
  Build+Test
failed make-gallium-drivers-other #157789

00:01:43

failed make-gallium-drivers-radeonsi #157788

00:00:10

failed make-gallium-drivers-swr #157787

00:01:43

passed make-gallium-st-clover-llvm-39 #157790

00:11:03

passed make-gallium-st-clover-llvm-4 #157791

00:11:06

failed make-gallium-st-clover-llvm-5 #157792

00:01:43

passed make-gallium-st-clover-llvm-6 #157793

00:11:06

passed make-gallium-st-clover-llvm-7 #157794

00:06:36

passed make-gallium-st-other #157795

00:12:01

failed make-loader-classic-dri #157786

00:00:10

failed make-vulkan #157785

00:01:42

failed meson-gallium-clover-llvm5 #157781

00:00:09

failed meson-gallium-clover-llvm6 #157782

00:01:42

failed meson-gallium-clover-llvm7 #157783

00:01:39

failed meson-gallium-drivers-other #157780

00:01:46

failed meson-gallium-radeonsi #157779

00:00:14

failed meson-gallium-st-other #157784

00:00:11

failed meson-gallium-swr #157778

00:01:38

failed meson-glvnd #157777

00:00:14

failed meson-loader-classic-dri #157776

00:00:15

failed meson-vulkan #157775

00:00:16

passed scons-llvm #157797

00:02:44

passed scons-nollvm #157796

00:03:11

passed scons-swr #157798

00:04:16

 
Name Stage Failure
failed
meson-gallium-clover-llvm5 Build+Test
No job log
failed
meson-loader-classic-dri Build+Test
No job log
failed
meson-gallium-clover-llvm6 Build+Test
No job log
failed
meson-gallium-st-other Build+Test
No job log
failed
make-gallium-drivers-radeonsi Build+Test
No job log
failed
meson-gallium-drivers-other Build+Test
No job log
failed
make-gallium-drivers-other Build+Test
No job log
failed
make-gallium-drivers-swr Build+Test
No job log
failed
make-vulkan Build+Test
No job log
failed
meson-vulkan Build+Test
No job log
failed
make-gallium-st-clover-llvm-5 Build+Test
No job log
failed
meson-gallium-swr Build+Test
No job log
failed
meson-gallium-clover-llvm7 Build+Test
No job log
failed
make-loader-classic-dri Build+Test
No job log
failed
meson-glvnd Build+Test
No job log
failed
meson-gallium-radeonsi Build+Test
No job log