Module: Mesa Branch: main Commit: a37f43e4224c72cb85720401329473d041e32bfb URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a37f43e4224c72cb85720401329473d041e32bfb
Author: Yonggang Luo <luoyongg...@gmail.com> Date: Thu Jun 29 11:58:03 2023 +0800 etnaviv/drm: Remove redundant ALIGN macro by #include "util/u_math.h" Signed-off-by: Yonggang Luo <luoyongg...@gmail.com> Reviewed-by: Christian Gmeiner <cgmei...@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26865> --- src/etnaviv/drm/etnaviv_priv.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/etnaviv/drm/etnaviv_priv.h b/src/etnaviv/drm/etnaviv_priv.h index 630f91cd01e..f7432abd04a 100644 --- a/src/etnaviv/drm/etnaviv_priv.h +++ b/src/etnaviv/drm/etnaviv_priv.h @@ -46,6 +46,7 @@ #include "util/timespec.h" #include "util/u_atomic.h" #include "util/u_debug.h" +#include "util/u_math.h" #include "util/vma.h" #include "etnaviv_drmif.h" @@ -183,8 +184,6 @@ struct etna_perfmon_signal char name[64]; }; -#define ALIGN(v,a) (((v) + (a) - 1) & ~((a) - 1)) - #define ETNA_DRM_MSGS 0x40 extern int etna_mesa_debug;