aco: Use align64 instead ALIGN for 64 bits input

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38365>
This commit is contained in:
Yonggang Luo
2025-11-10 19:57:30 +08:00
committed by Marge Bot
parent ee4c3e790f
commit f8eafbe627

View File

@@ -228,7 +228,7 @@ int ac_drm_bo_wait_for_idle(ac_drm_device *dev, ac_drm_bo bo, uint64_t timeout_n
int ac_drm_bo_va_op(ac_drm_device *dev, uint32_t bo_handle, uint64_t offset, uint64_t size,
uint64_t addr, uint64_t flags, uint32_t ops)
{
size = ALIGN(size, getpagesize());
size = align64(size, getpagesize());
return ac_drm_bo_va_op_raw(
dev, bo_handle, offset, size, addr,