#include "anv_private.h"
+#ifndef HAVE_MEMFD_CREATE
static inline int
memfd_create(const char *name, unsigned int flags)
{
return syscall(SYS_memfd_create, name, flags);
}
+#endif
uint32_t
anv_gem_create(struct anv_device *device, uint64_t size)
}
int
-anv_gem_get_context_param(int fd, int context, uint32_t param, uint64_t *value)
+anv_gem_set_context_param(int fd, int context, uint32_t param, uint64_t value)
{
unreachable("Unused");
}
int
-anv_gem_get_aperture(int fd, uint64_t *size)
+anv_gem_get_context_param(int fd, int context, uint32_t param, uint64_t *value)
{
unreachable("Unused");
}
bool
-anv_gem_supports_48b_addresses(int fd)
+anv_gem_has_context_priority(int fd)
+{
+ unreachable("Unused");
+}
+
+int
+anv_gem_get_aperture(int fd, uint64_t *size)
{
unreachable("Unused");
}
unreachable("Unused");
}
+int
+anv_gem_sync_file_merge(struct anv_device *device, int fd1, int fd2)
+{
+ unreachable("Unused");
+}
+
+int
+anv_gem_syncobj_export_sync_file(struct anv_device *device, uint32_t handle)
+{
+ unreachable("Unused");
+}
+
+int
+anv_gem_syncobj_import_sync_file(struct anv_device *device,
+ uint32_t handle, int fd)
+{
+ unreachable("Unused");
+}
+
uint32_t
-anv_gem_syncobj_create(struct anv_device *device)
+anv_gem_syncobj_create(struct anv_device *device, uint32_t flags)
{
unreachable("Unused");
}
{
unreachable("Unused");
}
+
+void
+anv_gem_syncobj_reset(struct anv_device *device, uint32_t handle)
+{
+ unreachable("Unused");
+}
+
+bool
+anv_gem_supports_syncobj_wait(int fd)
+{
+ return false;
+}
+
+int
+anv_gem_syncobj_wait(struct anv_device *device,
+ uint32_t *handles, uint32_t num_handles,
+ int64_t abs_timeout_ns, bool wait_all)
+{
+ unreachable("Unused");
+}