7686729069
Extract protocol-agnostic FenceTimeline from Intel to shared src/drivers/fence.rs — atomic-based fence tracking suitable for Intel, VIRGL, and AMD drivers. Extract protocol-agnostic SyncobjManager from Intel to shared src/drivers/syncobj.rs — syncobj create/destroy/signal/reset/ wait/query and sync_file fd export/import. Wire both into VirtioDriver: - Add FenceTimeline + SyncobjManager fields - Implement all 5 GpuDriver syncobj trait methods (create, destroy, wait, export_fd, import_fd) - Track fence seqnos in virgl_submit_3d (allocate before submit, signal after completion) Intel fence.rs and syncobj.rs converted to thin re-export modules pointing at shared sources — no behavioral change for Intel driver. This gives Mesa VIRGL userspace the standard DRM syncobj API for GPU/compositor synchronization.
538 lines
15 KiB
C
538 lines
15 KiB
C
/* config.h.in. Generated from configure.ac by autoheader. */
|
|
|
|
/* Define if building universal (internal helper macro) */
|
|
#undef AC_APPLE_UNIVERSAL_BUILD
|
|
|
|
/* Define in built-in ELF support is used */
|
|
#undef BUILTIN_ELF
|
|
|
|
/* Enable bzlib compression support */
|
|
#undef BZLIBSUPPORT
|
|
|
|
/* Define for ELF core file support */
|
|
#undef ELFCORE
|
|
|
|
/* Define to 1 if you have the 'asctime_r' function. */
|
|
#undef HAVE_ASCTIME_R
|
|
|
|
/* Define to 1 if you have the 'asprintf' function. */
|
|
#undef HAVE_ASPRINTF
|
|
|
|
/* Define to 1 if you have the <byteswap.h> header file. */
|
|
#undef HAVE_BYTESWAP_H
|
|
|
|
/* Define to 1 if you have the <bzlib.h> header file. */
|
|
#undef HAVE_BZLIB_H
|
|
|
|
/* Define to 1 if you have the 'ctime_r' function. */
|
|
#undef HAVE_CTIME_R
|
|
|
|
/* HAVE_DAYLIGHT */
|
|
#undef HAVE_DAYLIGHT
|
|
|
|
/* Define to 1 if you have the declaration of 'daylight', and to 0 if you
|
|
don't. */
|
|
#undef HAVE_DECL_DAYLIGHT
|
|
|
|
/* Define to 1 if you have the declaration of 'tzname', and to 0 if you don't.
|
|
*/
|
|
#undef HAVE_DECL_TZNAME
|
|
|
|
/* Define to 1 if you have the <dlfcn.h> header file. */
|
|
#undef HAVE_DLFCN_H
|
|
|
|
/* Define to 1 if you have the 'dprintf' function. */
|
|
#undef HAVE_DPRINTF
|
|
|
|
/* Define to 1 if you have the <err.h> header file. */
|
|
#undef HAVE_ERR_H
|
|
|
|
/* Define to 1 if you have the <fcntl.h> header file. */
|
|
#undef HAVE_FCNTL_H
|
|
|
|
/* Define to 1 if you have the 'fmtcheck' function. */
|
|
#undef HAVE_FMTCHECK
|
|
|
|
/* Define to 1 if you have the 'fork' function. */
|
|
#undef HAVE_FORK
|
|
|
|
/* Define to 1 if you have the 'freelocale' function. */
|
|
#undef HAVE_FREELOCALE
|
|
|
|
/* Define to 1 if fseeko (and ftello) are declared in stdio.h. */
|
|
#undef HAVE_FSEEKO
|
|
|
|
/* Define to 1 if you have the 'getline' function. */
|
|
#undef HAVE_GETLINE
|
|
|
|
/* Define to 1 if you have the <getopt.h> header file. */
|
|
#undef HAVE_GETOPT_H
|
|
|
|
/* Define to 1 if you have the 'getopt_long' function. */
|
|
#undef HAVE_GETOPT_LONG
|
|
|
|
/* Define to 1 if you have the 'getpagesize' function. */
|
|
#undef HAVE_GETPAGESIZE
|
|
|
|
/* Define to 1 if you have the 'gmtime_r' function. */
|
|
#undef HAVE_GMTIME_R
|
|
|
|
/* Define to 1 if the system has the type 'intptr_t'. */
|
|
#undef HAVE_INTPTR_T
|
|
|
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
|
#undef HAVE_INTTYPES_H
|
|
|
|
/* Define to 1 if you have the 'bz2' library (-lbz2). */
|
|
#undef HAVE_LIBBZ2
|
|
|
|
/* Define to 1 if you have the 'gnurx' library (-lgnurx). */
|
|
#undef HAVE_LIBGNURX
|
|
|
|
/* Define to 1 if you have the 'lrzip' library (-llrzip). */
|
|
#undef HAVE_LIBLRZIP
|
|
|
|
/* Define to 1 if you have the 'lz' library (-llz). */
|
|
#undef HAVE_LIBLZ
|
|
|
|
/* Define to 1 if you have the 'lzma' library (-llzma). */
|
|
#undef HAVE_LIBLZMA
|
|
|
|
/* Define to 1 if you have the 'seccomp' library (-lseccomp). */
|
|
#undef HAVE_LIBSECCOMP
|
|
|
|
/* Define to 1 if you have the 'z' library (-lz). */
|
|
#undef HAVE_LIBZ
|
|
|
|
/* Define to 1 if you have the 'zstd' library (-lzstd). */
|
|
#undef HAVE_LIBZSTD
|
|
|
|
/* Define to 1 if you have the 'localtime_r' function. */
|
|
#undef HAVE_LOCALTIME_R
|
|
|
|
/* Define to 1 if you have the <Lrzip.h> header file. */
|
|
#undef HAVE_LRZIP_H
|
|
|
|
/* Define to 1 if you have the <lzlib.h> header file. */
|
|
#undef HAVE_LZLIB_H
|
|
|
|
/* Define to 1 if you have the <lzma.h> header file. */
|
|
#undef HAVE_LZMA_H
|
|
|
|
/* Define to 1 if mbrtowc and mbstate_t are properly declared. */
|
|
#undef HAVE_MBRTOWC
|
|
|
|
/* Define to 1 if <wchar.h> declares mbstate_t. */
|
|
#undef HAVE_MBSTATE_T
|
|
|
|
/* Define to 1 if you have the 'memmem' function. */
|
|
#undef HAVE_MEMMEM
|
|
|
|
/* Define to 1 if you have the <minix/config.h> header file. */
|
|
#undef HAVE_MINIX_CONFIG_H
|
|
|
|
/* Define to 1 if you have the 'mkostemp' function. */
|
|
#undef HAVE_MKOSTEMP
|
|
|
|
/* Define to 1 if you have the 'mkstemp' function. */
|
|
#undef HAVE_MKSTEMP
|
|
|
|
/* Define to 1 if you have a working 'mmap' system call. */
|
|
#undef HAVE_MMAP
|
|
|
|
/* Define to 1 if you have the 'newlocale' function. */
|
|
#undef HAVE_NEWLOCALE
|
|
|
|
/* Define to 1 if you have the 'pipe2' function. */
|
|
#undef HAVE_PIPE2
|
|
|
|
/* Define to 1 if you have the 'posix_spawnp' function. */
|
|
#undef HAVE_POSIX_SPAWNP
|
|
|
|
/* Define to 1 if you have the 'pread' function. */
|
|
#undef HAVE_PREAD
|
|
|
|
/* Have sig_t type */
|
|
#undef HAVE_SIG_T
|
|
|
|
/* Define to 1 if you have the <spawn.h> header file. */
|
|
#undef HAVE_SPAWN_H
|
|
|
|
/* Define to 1 if you have the <stdint.h> header file. */
|
|
#undef HAVE_STDINT_H
|
|
|
|
/* Define to 1 if you have the <stdio.h> header file. */
|
|
#undef HAVE_STDIO_H
|
|
|
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
|
#undef HAVE_STDLIB_H
|
|
|
|
/* Define to 1 if you have the 'strcasestr' function. */
|
|
#undef HAVE_STRCASESTR
|
|
|
|
/* Define to 1 if you have the <strings.h> header file. */
|
|
#undef HAVE_STRINGS_H
|
|
|
|
/* Define to 1 if you have the <string.h> header file. */
|
|
#undef HAVE_STRING_H
|
|
|
|
/* Define to 1 if you have the 'strlcat' function. */
|
|
#undef HAVE_STRLCAT
|
|
|
|
/* Define to 1 if you have the 'strlcpy' function. */
|
|
#undef HAVE_STRLCPY
|
|
|
|
/* Define to 1 if you have the 'strndup' function. */
|
|
#undef HAVE_STRNDUP
|
|
|
|
/* Define to 1 if you have the 'strtof' function. */
|
|
#undef HAVE_STRTOF
|
|
|
|
/* HAVE_STRUCT_OPTION */
|
|
#undef HAVE_STRUCT_OPTION
|
|
|
|
/* Define to 1 if 'st_rdev' is a member of 'struct stat'. */
|
|
#undef HAVE_STRUCT_STAT_ST_RDEV
|
|
|
|
/* Define to 1 if 'tm_gmtoff' is a member of 'struct tm'. */
|
|
#undef HAVE_STRUCT_TM_TM_GMTOFF
|
|
|
|
/* Define to 1 if 'tm_zone' is a member of 'struct tm'. */
|
|
#undef HAVE_STRUCT_TM_TM_ZONE
|
|
|
|
/* Define to 1 if you have the <sys/bswap.h> header file. */
|
|
#undef HAVE_SYS_BSWAP_H
|
|
|
|
/* Define to 1 if you have the <sys/ioctl.h> header file. */
|
|
#undef HAVE_SYS_IOCTL_H
|
|
|
|
/* Define to 1 if you have the <sys/mman.h> header file. */
|
|
#undef HAVE_SYS_MMAN_H
|
|
|
|
/* Define to 1 if you have the <sys/param.h> header file. */
|
|
#undef HAVE_SYS_PARAM_H
|
|
|
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
|
#undef HAVE_SYS_STAT_H
|
|
|
|
/* Define to 1 if you have the <sys/sysmacros.h> header file. */
|
|
#undef HAVE_SYS_SYSMACROS_H
|
|
|
|
/* Define to 1 if you have the <sys/time.h> header file. */
|
|
#undef HAVE_SYS_TIME_H
|
|
|
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
|
#undef HAVE_SYS_TYPES_H
|
|
|
|
/* Define to 1 if you have the <sys/utime.h> header file. */
|
|
#undef HAVE_SYS_UTIME_H
|
|
|
|
/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
|
|
#undef HAVE_SYS_WAIT_H
|
|
|
|
/* HAVE_TM_ISDST */
|
|
#undef HAVE_TM_ISDST
|
|
|
|
/* HAVE_TM_ZONE */
|
|
#undef HAVE_TM_ZONE
|
|
|
|
/* HAVE_TZNAME */
|
|
#undef HAVE_TZNAME
|
|
|
|
/* Define to 1 if the system has the type 'uintptr_t'. */
|
|
#undef HAVE_UINTPTR_T
|
|
|
|
/* Define to 1 if you have the <unistd.h> header file. */
|
|
#undef HAVE_UNISTD_H
|
|
|
|
/* Define to 1 if you have the 'uselocale' function. */
|
|
#undef HAVE_USELOCALE
|
|
|
|
/* Define to 1 if you have the 'utime' function. */
|
|
#undef HAVE_UTIME
|
|
|
|
/* Define to 1 if you have the 'utimes' function. */
|
|
#undef HAVE_UTIMES
|
|
|
|
/* Define to 1 if you have the <utime.h> header file. */
|
|
#undef HAVE_UTIME_H
|
|
|
|
/* Define to 1 if you have the 'vasprintf' function. */
|
|
#undef HAVE_VASPRINTF
|
|
|
|
/* Define to 1 if you have the 'vfork' function. */
|
|
#undef HAVE_VFORK
|
|
|
|
/* Define to 1 if you have the <vfork.h> header file. */
|
|
#undef HAVE_VFORK_H
|
|
|
|
/* Define to 1 or 0, depending whether the compiler supports simple visibility
|
|
declarations. */
|
|
#undef HAVE_VISIBILITY
|
|
|
|
/* Define to 1 if you have the <wchar.h> header file. */
|
|
#undef HAVE_WCHAR_H
|
|
|
|
/* Define to 1 if you have the <wctype.h> header file. */
|
|
#undef HAVE_WCTYPE_H
|
|
|
|
/* Define to 1 if you have the 'wcwidth' function. */
|
|
#undef HAVE_WCWIDTH
|
|
|
|
/* Define to 1 if 'fork' works. */
|
|
#undef HAVE_WORKING_FORK
|
|
|
|
/* Define to 1 if 'vfork' works. */
|
|
#undef HAVE_WORKING_VFORK
|
|
|
|
/* Define to 1 if you have the <xlocale.h> header file. */
|
|
#undef HAVE_XLOCALE_H
|
|
|
|
/* Define to 1 if you have the <zlib.h> header file. */
|
|
#undef HAVE_ZLIB_H
|
|
|
|
/* Define to 1 if you have the <zstd_errors.h> header file. */
|
|
#undef HAVE_ZSTD_ERRORS_H
|
|
|
|
/* Define to 1 if you have the <zstd.h> header file. */
|
|
#undef HAVE_ZSTD_H
|
|
|
|
/* Enable lrziplib compression support */
|
|
#undef LRZIPLIBSUPPORT
|
|
|
|
/* Define to the sub-directory where libtool stores uninstalled libraries. */
|
|
#undef LT_OBJDIR
|
|
|
|
/* Enable lzlib compression support */
|
|
#undef LZLIBSUPPORT
|
|
|
|
/* Define to 1 if 'major', 'minor', and 'makedev' are declared in <mkdev.h>.
|
|
*/
|
|
#undef MAJOR_IN_MKDEV
|
|
|
|
/* Define to 1 if 'major', 'minor', and 'makedev' are declared in
|
|
<sysmacros.h>. */
|
|
#undef MAJOR_IN_SYSMACROS
|
|
|
|
/* Name of package */
|
|
#undef PACKAGE
|
|
|
|
/* Define to the address where bug reports for this package should be sent. */
|
|
#undef PACKAGE_BUGREPORT
|
|
|
|
/* Define to the full name of this package. */
|
|
#undef PACKAGE_NAME
|
|
|
|
/* Define to the full name and version of this package. */
|
|
#undef PACKAGE_STRING
|
|
|
|
/* Define to the one symbol short name of this package. */
|
|
#undef PACKAGE_TARNAME
|
|
|
|
/* Define to the home page for this package. */
|
|
#undef PACKAGE_URL
|
|
|
|
/* Define to the version of this package. */
|
|
#undef PACKAGE_VERSION
|
|
|
|
/* Define to 1 if all of the C89 standard headers exist (not just the ones
|
|
required in a freestanding environment). This macro is provided for
|
|
backward compatibility; new code need not use it. */
|
|
#undef STDC_HEADERS
|
|
|
|
/* Define to 1 if your <sys/time.h> declares 'struct tm'. */
|
|
#undef TM_IN_SYS_TIME
|
|
|
|
/* Enable extensions on AIX, Interix, z/OS. */
|
|
#ifndef _ALL_SOURCE
|
|
# undef _ALL_SOURCE
|
|
#endif
|
|
/* Enable general extensions on macOS. */
|
|
#ifndef _DARWIN_C_SOURCE
|
|
# undef _DARWIN_C_SOURCE
|
|
#endif
|
|
/* Enable general extensions on Solaris. */
|
|
#ifndef __EXTENSIONS__
|
|
# undef __EXTENSIONS__
|
|
#endif
|
|
/* Enable GNU extensions on systems that have them. */
|
|
#ifndef _GNU_SOURCE
|
|
# undef _GNU_SOURCE
|
|
#endif
|
|
/* Enable X/Open compliant socket functions that do not require linking
|
|
with -lxnet on HP-UX 11.11. */
|
|
#ifndef _HPUX_ALT_XOPEN_SOCKET_API
|
|
# undef _HPUX_ALT_XOPEN_SOCKET_API
|
|
#endif
|
|
/* Identify the host operating system as Minix.
|
|
This macro does not affect the system headers' behavior.
|
|
A future release of Autoconf may stop defining this macro. */
|
|
#ifndef _MINIX
|
|
# undef _MINIX
|
|
#endif
|
|
/* Enable general extensions on NetBSD.
|
|
Enable NetBSD compatibility extensions on Minix. */
|
|
#ifndef _NETBSD_SOURCE
|
|
# undef _NETBSD_SOURCE
|
|
#endif
|
|
/* Enable OpenBSD compatibility extensions on NetBSD.
|
|
Oddly enough, this does nothing on OpenBSD. */
|
|
#ifndef _OPENBSD_SOURCE
|
|
# undef _OPENBSD_SOURCE
|
|
#endif
|
|
/* Define to 1 if needed for POSIX-compatible behavior. */
|
|
#ifndef _POSIX_SOURCE
|
|
# undef _POSIX_SOURCE
|
|
#endif
|
|
/* Define to 2 if needed for POSIX-compatible behavior. */
|
|
#ifndef _POSIX_1_SOURCE
|
|
# undef _POSIX_1_SOURCE
|
|
#endif
|
|
/* Enable POSIX-compatible threading on Solaris. */
|
|
#ifndef _POSIX_PTHREAD_SEMANTICS
|
|
# undef _POSIX_PTHREAD_SEMANTICS
|
|
#endif
|
|
/* Enable extensions specified by ISO/IEC TS 18661-5:2014. */
|
|
#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
|
|
# undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
|
|
#endif
|
|
/* Enable extensions specified by ISO/IEC TS 18661-1:2014. */
|
|
#ifndef __STDC_WANT_IEC_60559_BFP_EXT__
|
|
# undef __STDC_WANT_IEC_60559_BFP_EXT__
|
|
#endif
|
|
/* Enable extensions specified by ISO/IEC TS 18661-2:2015. */
|
|
#ifndef __STDC_WANT_IEC_60559_DFP_EXT__
|
|
# undef __STDC_WANT_IEC_60559_DFP_EXT__
|
|
#endif
|
|
/* Enable extensions specified by C23 Annex F. */
|
|
#ifndef __STDC_WANT_IEC_60559_EXT__
|
|
# undef __STDC_WANT_IEC_60559_EXT__
|
|
#endif
|
|
/* Enable extensions specified by ISO/IEC TS 18661-4:2015. */
|
|
#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__
|
|
# undef __STDC_WANT_IEC_60559_FUNCS_EXT__
|
|
#endif
|
|
/* Enable extensions specified by C23 Annex H and ISO/IEC TS 18661-3:2015. */
|
|
#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__
|
|
# undef __STDC_WANT_IEC_60559_TYPES_EXT__
|
|
#endif
|
|
/* Enable extensions specified by ISO/IEC TR 24731-2:2010. */
|
|
#ifndef __STDC_WANT_LIB_EXT2__
|
|
# undef __STDC_WANT_LIB_EXT2__
|
|
#endif
|
|
/* Enable extensions specified by ISO/IEC 24747:2009. */
|
|
#ifndef __STDC_WANT_MATH_SPEC_FUNCS__
|
|
# undef __STDC_WANT_MATH_SPEC_FUNCS__
|
|
#endif
|
|
/* Enable extensions on HP NonStop. */
|
|
#ifndef _TANDEM_SOURCE
|
|
# undef _TANDEM_SOURCE
|
|
#endif
|
|
/* Enable X/Open extensions. Define to 500 only if necessary
|
|
to make mbstate_t available. */
|
|
#ifndef _XOPEN_SOURCE
|
|
# undef _XOPEN_SOURCE
|
|
#endif
|
|
|
|
|
|
/* Version number of package */
|
|
#undef VERSION
|
|
|
|
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
|
|
significant byte first (like Motorola and SPARC, unlike Intel). */
|
|
#if defined AC_APPLE_UNIVERSAL_BUILD
|
|
# if defined __BIG_ENDIAN__
|
|
# define WORDS_BIGENDIAN 1
|
|
# endif
|
|
#else
|
|
# ifndef WORDS_BIGENDIAN
|
|
# undef WORDS_BIGENDIAN
|
|
# endif
|
|
#endif
|
|
|
|
/* Enable xzlib compression support */
|
|
#undef XZLIBSUPPORT
|
|
|
|
/* Enable zlib compression support */
|
|
#undef ZLIBSUPPORT
|
|
|
|
/* Enable zstdlib compression support */
|
|
#undef ZSTDLIBSUPPORT
|
|
|
|
/* Number of bits in a file offset, on hosts where this is settable. */
|
|
#undef _FILE_OFFSET_BITS
|
|
|
|
/* Define to 1 if necessary to make fseeko visible. */
|
|
#undef _LARGEFILE_SOURCE
|
|
|
|
/* Define to 1 on platforms where this makes off_t a 64-bit type. */
|
|
#undef _LARGE_FILES
|
|
|
|
/* Number of bits in time_t, on hosts where this is settable. */
|
|
#undef _TIME_BITS
|
|
|
|
/* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
|
|
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
|
|
#define below would cause a syntax error. */
|
|
#undef _UINT32_T
|
|
|
|
/* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
|
|
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
|
|
#define below would cause a syntax error. */
|
|
#undef _UINT64_T
|
|
|
|
/* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
|
|
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
|
|
#define below would cause a syntax error. */
|
|
#undef _UINT8_T
|
|
|
|
/* Define to 1 on platforms where this makes time_t a 64-bit type. */
|
|
#undef __MINGW_USE_VC2005_COMPAT
|
|
|
|
/* Define to the type of a signed integer type of width exactly 32 bits if
|
|
such a type exists and the standard includes do not define it. */
|
|
#undef int32_t
|
|
|
|
/* Define to the type of a signed integer type of width exactly 64 bits if
|
|
such a type exists and the standard includes do not define it. */
|
|
#undef int64_t
|
|
|
|
/* Define to the type of a signed integer type wide enough to hold a pointer,
|
|
if such a type exists, and if the system does not define it. */
|
|
#undef intptr_t
|
|
|
|
/* Define to a type if <wchar.h> does not define. */
|
|
#undef mbstate_t
|
|
|
|
/* Define to 'long int' if <sys/types.h> does not define. */
|
|
#undef off_t
|
|
|
|
/* Define as a signed integer type capable of holding a process identifier. */
|
|
#undef pid_t
|
|
|
|
/* Define as 'unsigned int' if <stddef.h> doesn't define. */
|
|
#undef size_t
|
|
|
|
/* Define to the type of an unsigned integer type of width exactly 16 bits if
|
|
such a type exists and the standard includes do not define it. */
|
|
#undef uint16_t
|
|
|
|
/* Define to the type of an unsigned integer type of width exactly 32 bits if
|
|
such a type exists and the standard includes do not define it. */
|
|
#undef uint32_t
|
|
|
|
/* Define to the type of an unsigned integer type of width exactly 64 bits if
|
|
such a type exists and the standard includes do not define it. */
|
|
#undef uint64_t
|
|
|
|
/* Define to the type of an unsigned integer type of width exactly 8 bits if
|
|
such a type exists and the standard includes do not define it. */
|
|
#undef uint8_t
|
|
|
|
/* Define to the type of an unsigned integer type wide enough to hold a
|
|
pointer, if such a type exists, and if the system does not define it. */
|
|
#undef uintptr_t
|
|
|
|
/* Define as 'fork' if 'vfork' does not work. */
|
|
#undef vfork
|