summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2018-02-28 14:16:54 -0800
committerEric Anholt <eric@anholt.net>2018-03-09 09:59:54 -0800
commit2725ab2b12385eccfbdafe6f158661aca6bf778e (patch)
treeb6dce9f0a1b02911333966d6230f6f358b5039b6
parenta3a4c23decff5b28bb3b5a37fd86bfd185f59d08 (diff)
broadcom: Remove our defines of DRM_FORMAT_MOD_INVALID.
The imported drm_fourcc.h handles it now.
-rw-r--r--src/gallium/drivers/vc4/vc4_resource.c4
-rw-r--r--src/gallium/drivers/vc5/vc5_resource.c4
2 files changed, 0 insertions, 8 deletions
diff --git a/src/gallium/drivers/vc4/vc4_resource.c b/src/gallium/drivers/vc4/vc4_resource.c
index b77f752eed..a86bd814d2 100644
--- a/src/gallium/drivers/vc4/vc4_resource.c
+++ b/src/gallium/drivers/vc4/vc4_resource.c
@@ -37,10 +37,6 @@
#include "vc4_resource.h"
#include "vc4_tiling.h"
-#ifndef DRM_FORMAT_MOD_INVALID
-#define DRM_FORMAT_MOD_INVALID ((1ULL << 56) - 1)
-#endif
-
static bool
vc4_resource_bo_alloc(struct vc4_resource *rsc)
{
diff --git a/src/gallium/drivers/vc5/vc5_resource.c b/src/gallium/drivers/vc5/vc5_resource.c
index e73058fef5..1f0ddb1a29 100644
--- a/src/gallium/drivers/vc5/vc5_resource.c
+++ b/src/gallium/drivers/vc5/vc5_resource.c
@@ -39,10 +39,6 @@
#include "vc5_tiling.h"
#include "broadcom/cle/v3d_packet_v33_pack.h"
-#ifndef DRM_FORMAT_MOD_INVALID
-#define DRM_FORMAT_MOD_INVALID ((1ULL << 56) - 1)
-#endif
-
static void
vc5_debug_resource_layout(struct vc5_resource *rsc, const char *caller)
{