OSDN Git Service

minigbm: add a default (*bo_unmap) implementation
[android-x86/external-minigbm.git] / helpers.h
index dc1a7c0..b580643 100644 (file)
--- a/helpers.h
+++ b/helpers.h
@@ -17,6 +17,7 @@ int drv_dumb_bo_destroy(struct bo *bo);
 int drv_gem_bo_destroy(struct bo *bo);
 int drv_prime_bo_import(struct bo *bo, struct drv_import_fd_data *data);
 void *drv_dumb_bo_map(struct bo *bo, struct map_info *data, size_t plane, int prot);
+int drv_bo_munmap(struct bo *bo, struct map_info *data);
 uintptr_t drv_get_reference_count(struct driver *drv, struct bo *bo, size_t plane);
 void drv_increment_reference_count(struct driver *drv, struct bo *bo, size_t plane);
 void drv_decrement_reference_count(struct driver *drv, struct bo *bo, size_t plane);