f94889d079
All the helpers use pan_image_mem::bo just to get the base address. So let's just store this information here, and let the user keep track of the BO that's attached to the image resource. Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Constantine Shablya <constantine.shablya@collabora.com> Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26698>