radv/amdgpu: Use correct alignment when creating CS BOs.
authorTimur Kristóf <timur.kristof@gmail.com>
Thu, 6 Apr 2023 11:15:10 +0000 (13:15 +0200)
committerMarge Bot <emma+marge@anholt.net>
Tue, 11 Apr 2023 17:05:02 +0000 (17:05 +0000)
commit44de40fb5f6b5babc2501402596502a95956f598
tree871d0ec145d17685a446ce7781034f3b7c9e8d3b
parente21405912025ace512c8f2f11c6afdec87b23663
radv/amdgpu: Use correct alignment when creating CS BOs.

Shouldn't matter in practice because the kernel will likely
give us a page-aligned BO, but better to specify it just
in case.

Cc: mesa-stable
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22354>
src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c