From e3c330c7b21f36aef872b130e5f79a9fcaf99506 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 19 Oct 2020 14:19:27 -0700 Subject: [PATCH] freedreno: Use Android's libsync instead of libdrm's. 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: --- src/gallium/drivers/freedreno/freedreno_context.h | 3 +-- src/gallium/drivers/freedreno/freedreno_fence.c | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/gallium/drivers/freedreno/freedreno_context.h b/src/gallium/drivers/freedreno/freedreno_context.h index f1ecfcdb351..59908063fb4 100644 --- a/src/gallium/drivers/freedreno/freedreno_context.h +++ b/src/gallium/drivers/freedreno/freedreno_context.h @@ -27,11 +27,10 @@ #ifndef FREEDRENO_CONTEXT_H_ #define FREEDRENO_CONTEXT_H_ -#include - #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" diff --git a/src/gallium/drivers/freedreno/freedreno_fence.c b/src/gallium/drivers/freedreno/freedreno_fence.c index 0cce0867779..770ee369b43 100644 --- a/src/gallium/drivers/freedreno/freedreno_fence.c +++ b/src/gallium/drivers/freedreno/freedreno_fence.c @@ -24,8 +24,6 @@ * Rob Clark */ -#include - #include "util/os_file.h" #include "util/u_inlines.h"