radeonsi: Use ALIGN_POT instead ALIGN_TO
authorYonggang Luo <luoyonggang@gmail.com>
Tue, 4 Jul 2023 08:47:45 +0000 (16:47 +0800)
committerMarge Bot <emma+marge@anholt.net>
Wed, 5 Jul 2023 18:04:27 +0000 (18:04 +0000)
commitba83c1e254d8a968c166610765ab92ce4cf0778e
treedede535346034c39daa3e0a97951cdd5225c2dbd
parent4880c827d63a1fd674b1b7cd5050c5e837316cde
radeonsi: Use ALIGN_POT instead ALIGN_TO

ALIGN_POT would be a bit faster as it's have no divide arithmetic

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23987>
src/gallium/drivers/radeonsi/radeon_vcn_enc.c
src/gallium/drivers/radeonsi/radeon_vcn_enc.h