anv/image: Define anv_image_get_aux_addr (v3)

Simple refactor. No intended change in behavior.

Replace each derivation of aux address with anv_image_get_aux_addr().

The function will soon do more in support of
VK_EXT_image_drm_format_modifier, where the image bo and aux bo may be
disjoint.

v2:
  - Replace param 'aspect' with 'plane'.
v3:
  - Workaround for stencil ccs. If no aux surface, then return
    ANV_NULL_ADDRESS.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> (v2)
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> (v3)
35 jobs for !7669 with review/anv-blorp-ccs-without-surf in 27 seconds (queued for 1 second)
latest detached
Status Job ID Name Coverage
  Container
manual #5671232
aarch64 manual
arm_build
manual #5671233
manual
arm_test-base
passed #5671234
git_archive

00:00:18

manual #5671229
manual
x86_build-base
manual #5671231
manual
x86_build_old
manual #5671230
manual
x86_test-base
 
  Container 2
created #5671242
android_build
created #5671245
arm64_test
created #5671239
i386_build
created #5671235
kernel+rootfs_amd64
created #5671236
aarch64
kernel+rootfs_arm64
created #5671237
aarch64
kernel+rootfs_armhf
created #5671240
ppc64el_build
created #5671241
s390x_build
created #5671238
x86_build
created #5671243
x86_test-gl
created #5671244
x86_test-vk
 
  Sanity
passed #5671246
check mr

00:00:08

 
  Meson X86 64
created #5671252
meson-clang
created #5671251
meson-classic
created #5671253
meson-clover
created #5671248
meson-clover-testing
created #5671249
meson-gallium
created #5671250
meson-release
created #5671247
meson-testing
created #5671254
meson-vulkan
 
  Scons
created #5671255
allowed to fail
scons-win64
 
  Meson Misc
created #5671256
meson-android
created #5671258
aarch64
meson-arm64
created #5671259
aarch64
meson-arm64-build-test
created #5671257
aarch64
meson-armhf
created #5671260
meson-i386
created #5671263
meson-mingw32-x86_64
created #5671262
kvm
meson-ppc64el
created #5671261
kvm
meson-s390x