diff --git a/src/asahi/lib/tiling.c b/src/asahi/lib/tiling.c index 1ef8616c6af..db0b84cec4f 100644 --- a/src/asahi/lib/tiling.c +++ b/src/asahi/lib/tiling.c @@ -26,6 +26,7 @@ #include #include #include +#include "util/macros.h" #include "tiling.h" /* Z-order with 64x64 tiles: @@ -61,9 +62,6 @@ /* mask of bits used for X coordinate in a tile */ #define SPACE_MASK 0x555 // 0b010101010101 -#define MAX2(x, y) (((x) > (y)) ? (x) : (y)) -#define MIN2(x, y) (((x) < (y)) ? (x) : (y)) - static uint32_t agx_space_bits(unsigned x) {