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.
46 lines
1020 B
Plaintext
46 lines
1020 B
Plaintext
# strcase.m4 serial 12
|
|
dnl Copyright (C) 2002, 2005-2023 Free Software Foundation, Inc.
|
|
dnl This file is free software; the Free Software Foundation
|
|
dnl gives unlimited permission to copy and/or distribute it,
|
|
dnl with or without modifications, as long as this notice is preserved.
|
|
|
|
AC_DEFUN([gl_STRCASE],
|
|
[
|
|
gl_FUNC_STRCASECMP
|
|
gl_FUNC_STRNCASECMP
|
|
])
|
|
|
|
AC_DEFUN([gl_FUNC_STRCASECMP],
|
|
[
|
|
AC_REQUIRE([gl_STRINGS_H_DEFAULTS])
|
|
AC_CHECK_FUNCS([strcasecmp])
|
|
if test $ac_cv_func_strcasecmp = no; then
|
|
HAVE_STRCASECMP=0
|
|
fi
|
|
])
|
|
|
|
AC_DEFUN([gl_FUNC_STRNCASECMP],
|
|
[
|
|
AC_REQUIRE([gl_STRINGS_H_DEFAULTS])
|
|
AC_CHECK_FUNCS([strncasecmp])
|
|
if test $ac_cv_func_strncasecmp = yes; then
|
|
HAVE_STRNCASECMP=1
|
|
else
|
|
HAVE_STRNCASECMP=0
|
|
fi
|
|
AC_CHECK_DECLS([strncasecmp])
|
|
if test $ac_cv_have_decl_strncasecmp = no; then
|
|
HAVE_DECL_STRNCASECMP=0
|
|
fi
|
|
])
|
|
|
|
# Prerequisites of lib/strcasecmp.c.
|
|
AC_DEFUN([gl_PREREQ_STRCASECMP], [
|
|
:
|
|
])
|
|
|
|
# Prerequisites of lib/strncasecmp.c.
|
|
AC_DEFUN([gl_PREREQ_STRNCASECMP], [
|
|
:
|
|
])
|