summaryrefslogtreecommitdiffstats
path: root/gralloc_drm_priv.h
diff options
context:
space:
mode:
Diffstat (limited to 'gralloc_drm_priv.h')
-rw-r--r--gralloc_drm_priv.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gralloc_drm_priv.h b/gralloc_drm_priv.h
index 0838db7..ada152d 100644
--- a/gralloc_drm_priv.h
+++ b/gralloc_drm_priv.h
@@ -107,6 +107,9 @@ struct gralloc_drm_bo_t {
int imported; /* the handle is from a remote proces when true */
int fb_handle; /* the GEM handle of the bo */
int fb_id; /* the fb id */
+
+ int lock_count;
+ int locked_for;
};
struct gralloc_drm_drv_t *gralloc_drm_drv_create_for_pipe(int fd, const char *name);