aboutsummaryrefslogtreecommitdiff
path: root/include/backend/drm/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/backend/drm/util.h')
-rw-r--r--include/backend/drm/util.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/backend/drm/util.h b/include/backend/drm/util.h
index b4cdee7d..6e97505c 100644
--- a/include/backend/drm/util.h
+++ b/include/backend/drm/util.h
@@ -36,4 +36,11 @@ size_t match_obj(size_t num_objs, const uint32_t objs[static restrict num_objs],
size_t num_res, const uint32_t res[static restrict num_res],
uint32_t out[static restrict num_res]);
+/**
+ * Close a GEM buffer handle.
+ *
+ * TODO: replace with drmCloseBufferHandle.
+ */
+void close_bo_handle(int drm_fd, uint32_t handle);
+
#endif