mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
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:
parent
ee4c3e790f
commit
f8eafbe627
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue