broadcom: Remove our defines of DRM_FORMAT_MOD_INVALID.
authorEric Anholt <eric@anholt.net>
Wed, 28 Feb 2018 22:16:54 +0000 (14:16 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 9 Mar 2018 17:59:54 +0000 (09:59 -0800)
The imported drm_fourcc.h handles it now.

src/gallium/drivers/vc4/vc4_resource.c
src/gallium/drivers/vc5/vc5_resource.c

index b77f752eed0768c2909a0c86615554b0628fe076..a86bd814d20900cc1860c30284728cb424f0dd17 100644 (file)
 #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)
 {
index e73058fef531f892667d94f9219b2bf32c6fd09f..1f0ddb1a2955e3b230ef6bfffbc2266326d513a5 100644 (file)
 #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)
 {