summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2019-02-12 16:13:51 +0000
committerEric Engestrom <[email protected]>2019-02-14 11:20:00 +0000
commit4c1ca5b074900bbc28164a7babc9b406be38b562 (patch)
tree0f89aef0a1a7364980c1b1a64154172f3fddfe92 /src
parent7f68b38439efc1bce1208d5573cd92626064f8a3 (diff)
etnaviv: drop duplicate #define
Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Kristian H. Kristensen <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/etnaviv/etnaviv_resource.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gallium/drivers/etnaviv/etnaviv_resource.c b/src/gallium/drivers/etnaviv/etnaviv_resource.c
index 418effa92d7..db5ead4d0ba 100644
--- a/src/gallium/drivers/etnaviv/etnaviv_resource.c
+++ b/src/gallium/drivers/etnaviv/etnaviv_resource.c
@@ -38,10 +38,6 @@
#include "drm-uapi/drm_fourcc.h"
-#ifndef DRM_FORMAT_MOD_INVALID
-#define DRM_FORMAT_MOD_INVALID ((1ULL<<56) - 1)
-#endif
-
static enum etna_surface_layout modifier_to_layout(uint64_t modifier)
{
switch (modifier) {