anv: Add mem heap/type support for local-mem

This will take effect in future patches when we are able to query the
kernel to set device->vram.size to a non-zero size.

Builds on Sagar's ("anv: Query memory region info") patch, and
re-organizes things as recommended by Lionel (and Jason).

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
35 jobs for !9324 with anv-mem-heap-type in 8 seconds (queued for 4 seconds)
detached
Status Job ID Name Coverage
  Sanity
passed #7644911
sanity

00:00:08

 
  Container
manual #7644914
aarch64 manual
arm_build
manual #7644915
manual
arm_test-base
manual #7644916
windows shell 1809 mesa manual
windows_build_vs2019
manual #7644912
manual
x86_build-base
manual #7644913
manual
x86_test-base
 
  Container 2
created #7644924
android_build
created #7644927
arm64_test
created #7644928
armhf_test
created #7644921
i386_build
created #7644917
kernel+rootfs_amd64
created #7644918
aarch64
kernel+rootfs_arm64
created #7644919
aarch64
kernel+rootfs_armhf
created #7644922
ppc64el_build
created #7644923
s390x_build
created #7644920
x86_build
created #7644925
x86_test-gl
created #7644926
x86_test-vk
 
  Meson X86 64
created #7644934
meson-clang
created #7644935
meson-clover
created #7644931
meson-clover-testing
created #7644932
gstreamer
meson-gallium
created #7644933
meson-release
created #7644929
meson-testing
created #7644930
meson-testing-asan
created #7644936
meson-vulkan
 
  Build Misc
created #7644937
meson-android
created #7644939
aarch64
meson-arm64
created #7644940
aarch64
meson-arm64-asan
created #7644941
aarch64
meson-arm64-build-test
created #7644938
aarch64
meson-armhf
created #7644942
meson-i386
created #7644945
meson-mingw32-x86_64
created #7644944
kvm
meson-ppc64el
created #7644943
kvm
meson-s390x