etnaviv: drop duplicate #define
authorEric Engestrom <eric.engestrom@intel.com>
Tue, 12 Feb 2019 16:13:51 +0000 (16:13 +0000)
committerEric Engestrom <eric@engestrom.ch>
Thu, 14 Feb 2019 11:20:00 +0000 (11:20 +0000)
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Kristian H. Kristensen <hoegsberg@chromium.org>
src/gallium/drivers/etnaviv/etnaviv_resource.c

index 418effa92d7c419a521365244fa8c94ed24cebd6..db5ead4d0bacbbbfcb3b45b3780358db1f82502e 100644 (file)
 
 #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) {