@@ -31,6 +31,7 @@
<xi:include href="xml/intel_chipset.xml"/>
<xi:include href="xml/intel_io.xml"/>
<xi:include href="xml/igt_vc4.xml"/>
+ <xi:include href="xml/igt_vgem.xml"/>
</chapter>
<xi:include href="xml/igt_test_programs.xml"/>
@@ -28,6 +28,18 @@
#include <sys/mman.h>
+/**
+ * SECTION:igt_vgem
+ * @short_description: VGEM support library
+ * @title: VGEM
+ * @include: igt.h
+ *
+ * This library provides various auxiliary helper functions for writing VGEM
+ * tests. VGEM is especially useful as a virtual dma-buf import and exporter and
+ * for testing cross driver synchronization (either using epxlicit dma-fences or
+ * using implicit fences attached to dma-bufs).
+ */
+
int __vgem_create(int fd, struct vgem_bo *bo)
{
struct drm_mode_create_dumb arg;
Feeling somewhat lazy right now ;-) Cc: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> --- docs/reference/intel-gpu-tools/intel-gpu-tools-docs.xml | 1 + lib/igt_vgem.c | 12 ++++++++++++ 2 files changed, 13 insertions(+)