diff --git a/configure.ac b/configure.ac index 94d54a60..f778a9a7 100644 --- a/configure.ac +++ b/configure.ac @@ -31,6 +31,7 @@ AC_CONFIG_HEADERS([config.h]) AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_AUX_DIR([build-aux]) AC_USE_SYSTEM_EXTENSIONS +AC_SYS_LARGEFILE AM_INIT_AUTOMAKE([foreign dist-bzip2]) AM_PATH_PYTHON([3],, [:]) diff --git a/tests/gem_fence_thrash.c b/tests/gem_fence_thrash.c index 2065ac65..11afba85 100644 --- a/tests/gem_fence_thrash.c +++ b/tests/gem_fence_thrash.c @@ -75,6 +75,7 @@ bo_create (int fd) tiling.stride = 1024; ret = ioctl(fd, DRM_IOCTL_I915_GEM_SET_TILING, &tiling); assert(ret == 0); + assert(tiling.tiling_mode == I915_TILING_X); memset(&mmap_arg, 0, sizeof(mmap_arg)); mmap_arg.handle = handle;