i965/screen: Stop redefining DRM_FORMAT_MOD_(INVALID|LINEAR)
authorJason Ekstrand <jason.ekstrand@intel.com>
Mon, 14 Aug 2017 17:08:14 +0000 (10:08 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 14 Aug 2017 17:43:30 +0000 (10:43 -0700)
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
src/mesa/drivers/dri/i965/intel_screen.c

index 452f0d186cd669d7d87aa0b7f78c551bea044418..a22d63eea0e9d8d61bdb315600b2301579d868e1 100644 (file)
 #include "utils.h"
 #include "util/xmlpool.h"
 
-#ifndef DRM_FORMAT_MOD_INVALID
-#define DRM_FORMAT_MOD_INVALID ((1ULL<<56) - 1)
-#endif
-
-#ifndef DRM_FORMAT_MOD_LINEAR
-#define DRM_FORMAT_MOD_LINEAR 0
-#endif
-
 static const __DRIconfigOptionsExtension brw_config_options = {
    .base = { __DRI_CONFIG_OPTIONS, 1 },
    .xml =