Module: Mesa Branch: master Commit: 8f3313fb4797bfbc597654d045fff54948749dd1 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8f3313fb4797bfbc597654d045fff54948749dd1
Author: Eric Anholt <e...@anholt.net> Date: Fri Sep 18 13:16:23 2020 -0700 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> --- src/freedreno/vulkan/tu_android.c | 1 + src/freedreno/vulkan/tu_device.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/freedreno/vulkan/tu_android.c b/src/freedreno/vulkan/tu_android.c index ce3a9ce8809..1a0557458c0 100644 --- a/src/freedreno/vulkan/tu_android.c +++ b/src/freedreno/vulkan/tu_android.c @@ -37,6 +37,7 @@ #include "drm-uapi/drm_fourcc.h" +#include "util/libsync.h" #include "util/os_file.h" static int diff --git a/src/freedreno/vulkan/tu_device.c b/src/freedreno/vulkan/tu_device.c index b59da961a11..4bb4d52e702 100644 --- a/src/freedreno/vulkan/tu_device.c +++ b/src/freedreno/vulkan/tu_device.c @@ -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> _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit