Mesa (main): anv: include futex.h explicitly in allocator.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Dec 8 00:49:21 UTC 2021


Module: Mesa
Branch: main
Commit: 3f35b5fdc9c8a08248c68f2393c115db22fb433d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3f35b5fdc9c8a08248c68f2393c115db22fb433d

Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Dec  7 16:25:34 2021 +1000

anv: include futex.h explicitly in allocator.

This file needs futexes so make an explicit include, so it doesn't
come via the compiler

Reviewed-by: Caio Oliveira <caio.oliveira at intel.com>
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14104>

---

 src/intel/vulkan/anv_allocator.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/intel/vulkan/anv_allocator.c b/src/intel/vulkan/anv_allocator.c
index 286e21c6a6b..7a87175cc7f 100644
--- a/src/intel/vulkan/anv_allocator.c
+++ b/src/intel/vulkan/anv_allocator.c
@@ -31,6 +31,7 @@
 
 #include "common/intel_aux_map.h"
 #include "util/anon_file.h"
+#include "util/futex.h"
 
 #ifdef HAVE_VALGRIND
 #define VG_NOACCESS_READ(__ptr) ({                       \



More information about the mesa-commit mailing list