summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/panfrost/pan_allocate.h
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-07-05 08:25:56 -0700
committerAlyssa Rosenzweig <[email protected]>2019-07-10 06:12:03 -0700
commit7c82dfba8f37793e30b445428a2450bfca8b7e26 (patch)
treed60d9f26615798cfa9b11efe2e580a87c88cd281 /src/gallium/drivers/panfrost/pan_allocate.h
parentc78d2d98409200f0b40d2e7bb7d143afbf1f0895 (diff)
panfrost: Use standard ALIGN_POT/INFINITY macros
We had vendored duplicates from pre-Mesa days; clean that up. Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/drivers/panfrost/pan_allocate.h')
-rw-r--r--src/gallium/drivers/panfrost/pan_allocate.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gallium/drivers/panfrost/pan_allocate.h b/src/gallium/drivers/panfrost/pan_allocate.h
index 20ba204dee8..45c86b7cb7b 100644
--- a/src/gallium/drivers/panfrost/pan_allocate.h
+++ b/src/gallium/drivers/panfrost/pan_allocate.h
@@ -127,10 +127,4 @@ panfrost_reserve(struct panfrost_memory *mem, size_t sz)
struct panfrost_transfer
panfrost_allocate_chunk(struct panfrost_context *ctx, size_t size, unsigned heap_id);
-#include <math.h>
-#define inff INFINITY
-
-#define R(...) #__VA_ARGS__
-#define ALIGN(x, y) (((x) + ((y) - 1)) & ~((y) - 1))
-
#endif /* __PAN_ALLOCATE_H__ */