Mesa (master): i965/screen: Stop redefining DRM_FORMAT_MOD_(INVALID|LINEAR )

Jason Ekstrand jekstrand at kemper.freedesktop.org
Mon Aug 14 17:43:52 UTC 2017


Module: Mesa
Branch: master
Commit: 51eb40d4145024be59b50949009bcea97736646d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=51eb40d4145024be59b50949009bcea97736646d

Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Mon Aug 14 10:08:14 2017 -0700

i965/screen: Stop redefining DRM_FORMAT_MOD_(INVALID|LINEAR)

Reviewed-by: Ben Widawsky <ben at bwidawsk.net>

---

 src/mesa/drivers/dri/i965/intel_screen.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/intel_screen.c b/src/mesa/drivers/dri/i965/intel_screen.c
index 452f0d186c..a22d63eea0 100644
--- a/src/mesa/drivers/dri/i965/intel_screen.c
+++ b/src/mesa/drivers/dri/i965/intel_screen.c
@@ -43,14 +43,6 @@
 #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 =




More information about the mesa-commit mailing list