summaryrefslogtreecommitdiffstats
path: root/xf86drm.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-11 17:05:12 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-11 17:05:12 +0000
commit6b5c63be724793e9ba67996ec81d3bf2ecbf5c2c (patch)
tree154957e08cb63f3bff25732708e13fbf2afb3f6e /xf86drm.h
parentAdding upstream version 2.4.120. (diff)
downloadlibdrm-upstream.tar.xz
libdrm-upstream.zip
Adding upstream version 2.4.121.upstream/2.4.121upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'xf86drm.h')
-rw-r--r--xf86drm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/xf86drm.h b/xf86drm.h
index 2cb1415..6d91dfb 100644
--- a/xf86drm.h
+++ b/xf86drm.h
@@ -926,6 +926,11 @@ extern int drmGetDeviceFromDevId(dev_t dev_id, uint32_t flags, drmDevicePtr *dev
*/
extern int drmGetNodeTypeFromDevId(dev_t devid);
+/**
+ * Check if two drmDevice pointers represent the same DRM device.
+ *
+ * Returns 1 if the devices are equal, 0 otherwise.
+ */
extern int drmDevicesEqual(drmDevicePtr a, drmDevicePtr b);
extern int drmSyncobjCreate(int fd, uint32_t flags, uint32_t *handle);