freedreno: Use Android's libsync instead of libdrm's.
authorEric Anholt <eric@anholt.net>
Mon, 19 Oct 2020 21:19:27 +0000 (14:19 -0700)
committerMarge Bot <eric+marge@anholt.net>
Tue, 20 Oct 2020 18:29:38 +0000 (18:29 +0000)
This should be equivalent, given that we only support the DRM backend so
far, but we'll want to have the compatibility for future KGSL freedreno.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7227>

src/gallium/drivers/freedreno/freedreno_context.h
src/gallium/drivers/freedreno/freedreno_fence.c

index f1ecfcd..5990806 100644 (file)
 #ifndef FREEDRENO_CONTEXT_H_
 #define FREEDRENO_CONTEXT_H_
 
-#include <libsync.h>
-
 #include "pipe/p_context.h"
 #include "indices/u_primconvert.h"
 #include "util/u_blitter.h"
+#include "util/libsync.h"
 #include "util/list.h"
 #include "util/slab.h"
 #include "util/u_string.h"
index 0cce086..770ee36 100644 (file)
@@ -24,8 +24,6 @@
  *    Rob Clark <robclark@freedesktop.org>
  */
 
-#include <libsync.h>
-
 #include "util/os_file.h"
 #include "util/u_inlines.h"