venus: fix AHB VkBuffer memory requirement

Layering AHB on top of dma_buf_fd requires venus to combine the memory
type bits internally for VkBuffer.

Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
Part-of: <mesa/mesa!11661>
143 jobs for ahb-img-mem-req-fix
latest
Status Job ID Name Coverage
  Container
manual arm_build #11963199
aarch64 manual
manual windows_build_vs2019 #11963200
windows shell 1809 mesa manual
manual x86_build-base #11963197
manual
manual x86_test-base #11963198
manual
 
  Container 2
created android_build #11963205
created i386_build #11963202
created kernel+rootfs_amd64 #11963208
created kernel+rootfs_arm64 #11963209
aarch64
created kernel+rootfs_armhf #11963210
aarch64
created ppc64el_build #11963203
created s390x_build #11963204
created x86_build #11963201
created x86_test-gl #11963206
created x86_test-vk #11963207
 
  Meson X86 64
created meson-clang #11963216
created meson-clover #11963217
created meson-clover-testing #11963213
created meson-gallium #11963214
created meson-release #11963215
created meson-testing #11963211
created meson-testing-asan #11963212
created meson-vulkan #11963218
 
  Build Misc
created arm_test #11963219
created meson-android #11963220
created meson-arm64 #11963222
aarch64
created meson-arm64-asan #11963223
aarch64
created meson-arm64-build-test #11963224
aarch64
created meson-armhf #11963221
aarch64
created meson-i386 #11963226
created meson-mingw32-x86_64 #11963229
created meson-ppc64el #11963228
created meson-s390x #11963227
kvm
created meson-windows-vs2019 #11963225
windows docker 1809 mesa
 
  Amd
created radv-fossils #11963234
created radv-navy_flounder-traces #11963231
amdgpu:codename:NAVY_FLOUNDER manual
created radv-navy_flounder-vkd3d-proton #11963230
amdgpu:codename:NAVY_FLOUNDER manual
created radv_polaris10_vkcts #11963233
polaris10 manual
created radv-raven-traces #11963232
amdgpu:codename:RAVEN manual
 
  Intel
created i915-g33-deqp #11963235
anholt-g33 manual
created i915-g33-khr-deqp #11963236
anholt-g33 manual
created i915-g33-piglit #11963237
anholt-g33 manual
created i915-g33-traces #11963238
anholt-g33 manual
 
  Broadcom
created v3d-rpi4-egl:armhf #11963261
igalia-rpi4
created v3d-rpi4-gles2:armhf #11963257
igalia-rpi4
created v3d-rpi4-gles31:armhf 1/2 #11963251
igalia-rpi4
created v3d-rpi4-gles31:armhf 2/2 #11963252
igalia-rpi4
created v3d-rpi4-gles3:armhf 1/4 #11963253
igalia-rpi4
created v3d-rpi4-gles3:armhf 2/4 #11963254
igalia-rpi4
created v3d-rpi4-gles3:armhf 3/4 #11963255
igalia-rpi4
created v3d-rpi4-gles3:armhf 4/4 #11963256
igalia-rpi4
created v3d-rpi4-khr-gles2:armhf #11963260
igalia-rpi4
created v3d-rpi4-khr-gles31:armhf #11963258
igalia-rpi4
created v3d-rpi4-khr-gles3:armhf #11963259
igalia-rpi4
created v3d-rpi4-piglit:armhf 1/3 #11963262
igalia-rpi4
created v3d-rpi4-piglit:armhf 2/3 #11963263
igalia-rpi4
created v3d-rpi4-piglit:armhf 3/3 #11963264
igalia-rpi4
created v3dv-rpi4-vk:arm64 1/6 #11963265
igalia-rpi4
created v3dv-rpi4-vk:arm64 2/6 #11963266
igalia-rpi4
created v3dv-rpi4-vk:arm64 3/6 #11963267
igalia-rpi4
created v3dv-rpi4-vk:arm64 4/6 #11963268
igalia-rpi4
created v3dv-rpi4-vk:arm64 5/6 #11963269
igalia-rpi4
created v3dv-rpi4-vk:arm64 6/6 #11963270
igalia-rpi4
created vc4-rpi3-egl:armhf #11963244
igalia-rpi3
created vc4-rpi3-gles2:armhf 1/4 #11963239
igalia-rpi3
created vc4-rpi3-gles2:armhf 2/4 #11963240
igalia-rpi3
created vc4-rpi3-gles2:armhf 3/4 #11963241
igalia-rpi3
created vc4-rpi3-gles2:armhf 4/4 #11963242
igalia-rpi3
created vc4-rpi3-khr-gles2:armhf #11963243
igalia-rpi3
created vc4-rpi3-piglit-quick_gl:armhf 1/4 #11963245
igalia-rpi3 manual
created vc4-rpi3-piglit-quick_gl:armhf 2/4 #11963246
igalia-rpi3 manual
created vc4-rpi3-piglit-quick_gl:armhf 3/4 #11963247
igalia-rpi3 manual
created vc4-rpi3-piglit-quick_gl:armhf 4/4 #11963248
igalia-rpi3 manual
created vc4-rpi3-piglit-quick_shader:armhf 1/2 #11963249
igalia-rpi3 manual
created vc4-rpi3-piglit-quick_shader:armhf 2/2 #11963250
igalia-rpi3 manual
 
  Freedreno
created a306_gles2 #11963271
google-freedreno-db410c
created a306_gles3 1/3 #11963272
google-freedreno-db410c
created a306_gles3 2/3 #11963273
google-freedreno-db410c
created a306_gles3 3/3 #11963274
google-freedreno-db410c
created a306_gles3_options #11963275
google-freedreno-db410c
created a306-traces #11963276
google-freedreno-db410c
created a530_gles2 #11963277
google-freedreno-db820c
created a530_gles31 1/2 #11963280
google-freedreno-db820c
created a530_gles3 1/2 #11963278
google-freedreno-db820c
created a530_gles31 2/2 #11963281
google-freedreno-db820c
created a530_gles3 2/2 #11963279
google-freedreno-db820c
created a530_piglit_gl #11963282
google-freedreno-db820c manual
created a530_piglit_shader 1/2 #11963283
google-freedreno-db820c
created a530_piglit_shader 2/2 #11963284
google-freedreno-db820c
created a530-traces #11963285
google-freedreno-db820c
created a630_egl #11963290
google-freedreno-cheza
created a630_gl #11963289
google-freedreno-cheza
created a630_gles2 #11963286
google-freedreno-cheza
created a630_gles3 #11963288
google-freedreno-cheza
created a630_gles31 #11963287
google-freedreno-cheza
created a630_gles_asan #11963292
google-freedreno-cheza manual
created a630_gles_others #11963291
google-freedreno-cheza
created a630_piglit #11963297
google-freedreno-cheza
created a630-traces #11963298
google-freedreno-cheza
created a630_vk 1/2 #11963293
google-freedreno-cheza
created a630_vk 2/2 #11963294
google-freedreno-cheza
created a630_vk_asan #11963295
google-freedreno-cheza manual
created a630_vk_sysmem #11963296
google-freedreno-cheza
 
  Software Renderer
created lavapipe-nir-stress #11963321
created lavapipe-vk #11963320
created llvmpipe-egl #11963309
created llvmpipe-gl #11963307
created llvmpipe-gles2 #11963304
created llvmpipe-gles3 #11963305
created llvmpipe-gles31 #11963306
created llvmpipe-khr-gles2 #11963308
created llvmpipe-piglit-cl #11963299
created llvmpipe-piglit-glslparser #11963301
created llvmpipe-piglit-quick_gl #11963300
created llvmpipe-piglit-quick_shader #11963302
created llvmpipe-traces #11963303
created softpipe-asan-gles31 #11963317
created softpipe-gl #11963319
created softpipe-gles2 #11963310
created softpipe-gles3 #11963311
created softpipe-gles31 1/2 #11963312
created softpipe-gles31 2/2 #11963313
created softpipe-khr-gles2 #11963314
created softpipe-khr-gles3 #11963315
created softpipe-khr-gles31 #11963316
created softpipe-piglit-quick #11963318
 
  Layered Backends
created test-d3d12-windows #11963338
windows docker 1809 mesa
created virgl-gl30-on-gl #11963326
created virgl-gl31-on-gl #11963327
created virgl-gl32-on-gl #11963328
created virgl-gles2-on-gl #11963322
created virgl-gles2-on-gles #11963329
manual
created virgl-gles31-on-gl 1/2 #11963324
created virgl-gles31-on-gl 2/2 #11963325
created virgl-gles31-on-gles 1/2 #11963331
manual
created virgl-gles31-on-gles 2/2 #11963332
manual
created virgl-gles3-on-gl #11963323
created virgl-gles3-on-gles #11963330
manual
created virgl-traces #11963333
kvm
created zink-lvp-gl #11963337
created zink-lvp-gles2 #11963335
created zink-lvp-gles3 #11963336
created zink-piglit-quick_gl #11963334
 
  Deploy
manual test-docs #11963339
manual