aboutsummaryrefslogtreecommitdiff
path: root/include/backend/drm
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-10-02 17:24:08 +0200
committerSimon Ser <contact@emersion.fr>2021-12-14 14:33:00 +0100
commitbedfec94bb57cf7dc32f03fce463a30d3370bb20 (patch)
treed64b6b5e4ff0984d3e7e55f0dee0762bc15588c0 /include/backend/drm
parenta15c327718dafb1b7b7f1213c8878187b6351dba (diff)
backend/drm: use drmCloseBufferHandle
This has been added in [1] and allows us to close buffer handles without manually calling drmIoctl. [1]: https://gitlab.freedesktop.org/mesa/drm/-/merge_requests/192
Diffstat (limited to 'include/backend/drm')
-rw-r--r--include/backend/drm/util.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/backend/drm/util.h b/include/backend/drm/util.h
index 6e97505c..b4cdee7d 100644
--- a/include/backend/drm/util.h
+++ b/include/backend/drm/util.h
@@ -36,11 +36,4 @@ 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