summaryrefslogtreecommitdiff
path: root/libdrm/xf86drm.h
diff options
context:
space:
mode:
Diffstat (limited to 'libdrm/xf86drm.h')
-rw-r--r--libdrm/xf86drm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libdrm/xf86drm.h b/libdrm/xf86drm.h
index 0e037daa..78730785 100644
--- a/libdrm/xf86drm.h
+++ b/libdrm/xf86drm.h
@@ -282,6 +282,7 @@ typedef struct _drmSetVersion {
typedef struct _drmFence{
unsigned handle;
+ int class;
unsigned type;
unsigned signaled;
} drmFence;
@@ -603,7 +604,8 @@ extern int drmWaitVBlank(int fd, drmVBlankPtr vbl);
/* Fencing */
-extern int drmFenceCreate(int fd, int shareable, unsigned type, int emit,
+extern int drmFenceCreate(int fd, int shareable, int class,
+ unsigned type, int emit,
drmFence *fence);
extern int drmFenceDestroy(int fd, const drmFence *fence);
extern int drmFenceReference(int fd, unsigned handle, drmFence *fence);