summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/xf86atomic.h
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2017-03-20 16:42:55 -0700
committerKenneth Graunke <[email protected]>2017-04-10 14:31:11 -0700
commiteed86b975e4451c9fa85d7aad9fc747e9b941e2a (patch)
tree610ffdac7730bf977bda762df45420a6a2674fa9 /src/mesa/drivers/dri/i965/xf86atomic.h
parent91b973e3a3c967490321a809aa49489cabec0192 (diff)
i965/drm: Use our internal libdrm (drm_bacon) rather than the real one.
Now we can actually test our changes. Acked-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/xf86atomic.h')
-rw-r--r--src/mesa/drivers/dri/i965/xf86atomic.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i965/xf86atomic.h b/src/mesa/drivers/dri/i965/xf86atomic.h
index 922b37da625..a0e39092d12 100644
--- a/src/mesa/drivers/dri/i965/xf86atomic.h
+++ b/src/mesa/drivers/dri/i965/xf86atomic.h
@@ -38,8 +38,6 @@
#include "config.h"
#endif
-#if HAVE_LIBDRM_ATOMIC_PRIMITIVES
-
#define HAS_ATOMIC_OPS 1
typedef struct {
@@ -113,5 +111,3 @@ static inline int atomic_add_unless(atomic_t *v, int add, int unless)
c = old;
return c == unless;
}
-
-#endif