turnip: Use Mesa's libsync.h instead of libdrm's libsync.h.

Given that we already link to Android's libsync, use it instead of using a
build-time dependency on libdrm for the KGSL path.  This also would help
for older kernel compat with KGSL.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6821>
This commit is contained in:
Eric Anholt 2020-09-18 13:16:23 -07:00 committed by Marge Bot
parent 8a72666e91
commit 8f3313fb47
2 changed files with 2 additions and 1 deletions

View File

@ -37,6 +37,7 @@
#include "drm-uapi/drm_fourcc.h"
#include "util/libsync.h"
#include "util/os_file.h"
static int

View File

@ -28,7 +28,7 @@
#include "tu_private.h"
#include <fcntl.h>
#include <libsync.h>
#include <poll.h>
#include <stdbool.h>
#include <string.h>
#include <sys/sysinfo.h>