[Intel-gfx] [igt PATCH] configure.ac: require libdrm >= 2.4.75 for I915_EXEC_FENCE_OUT
Jani Nikula
jani.nikula at intel.com
Wed Mar 1 11:34:18 UTC 2017
I915_EXEC_FENCE_OUT was added in libdrm commit a3d715ee14b2 ("Import
uapi/i915_drm.h from v4.10-rc5-950-g152d5750dda9") and released in
libdrm-2.4.75.
Signed-off-by: Jani Nikula <jani.nikula at intel.com>
---
I'm probably doing something wrong. This passes configure for me, but
build still fails with:
gem_latency.c: In function ‘setup_latency’:
gem_latency.c:290:16: error: ‘I915_EXEC_FENCE_OUT’ undeclared (first use in this function)
eb->flags |= I915_EXEC_FENCE_OUT;
^
gem_latency.c:290:16: note: each undeclared identifier is reported only once for each function it appears in
gem_latency.c: In function ‘measure_latency’:
gem_latency.c:328:44: error: ‘I915_EXEC_FENCE_OUT’ undeclared (first use in this function)
if (!(p->latency_dispatch.execbuf.flags & I915_EXEC_FENCE_OUT))
^
gem_latency.c: In function ‘producer’:
gem_latency.c:364:43: error: ‘I915_EXEC_FENCE_OUT’ undeclared (first use in this function)
if (p->latency_dispatch.execbuf.flags & I915_EXEC_FENCE_OUT)
^
Makefile:767: recipe for target 'gem_latency-gem_latency.o' failed
---
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 562d5525e894..407fddf5fe2b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -187,10 +187,10 @@ AC_ARG_ENABLE(intel, AS_HELP_STRING([--disable-intel],
[Enable building of intel specific parts (default: auto)]),
[INTEL=$enableval], [INTEL=auto])
if test "x$INTEL" = xauto; then
- PKG_CHECK_EXISTS([libdrm_intel >= 2.4.74], [INTEL=yes], [INTEL=no])
+ PKG_CHECK_EXISTS([libdrm_intel >= 2.4.75], [INTEL=yes], [INTEL=no])
fi
if test "x$INTEL" = xyes; then
- PKG_CHECK_MODULES(DRM_INTEL, [libdrm_intel >= 2.4.74])
+ PKG_CHECK_MODULES(DRM_INTEL, [libdrm_intel >= 2.4.75])
AC_DEFINE(HAVE_LIBDRM_INTEL, 1, [Have intel support])
else
DRM_INTEL_CFLAGS=-I$\(top_srcdir\)/lib/stubs/drm/
--
2.1.4
More information about the Intel-gfx
mailing list