It's called anv_image_* so it really should take an anv_image. For the couple of cases where we really want to pass in a set of aspects, we leave an anv_aspect_to_plane() helper. anv_image_aspect_to_plane() is then just a wrapper around it which grabs the aspects from the image. While we're in the area, sprinkle some const around. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12141>