summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Foss <robert.foss@collabora.com>2017-05-17 18:13:55 -0400
committerRobert Foss <robert.foss@collabora.com>2017-05-17 18:17:04 -0400
commit1c39384d90c40539e2b4b54a7562c36df5b0625a (patch)
treecaa2358c6788b1f9d28a4946954bea37263e4d74
parent98a6dde4906c5ca393bb54a125f3c3b3131f774e (diff)
downloaddrm_hwcomposer-1c39384d90c40539e2b4b54a7562c36df5b0625a.tar.gz
drm_hwcomposer-1c39384d90c40539e2b4b54a7562c36df5b0625a.tar.xz
drm_hwcomposer: Add gralloc perform method GRALLOC_MODULE_PERFORM_GET_DRM_FD
Signed-off-by: Robert Foss <robert.foss@collabora.com>
-rw-r--r--drmhwcgralloc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drmhwcgralloc.h b/drmhwcgralloc.h
index 765c897..f8cc5a2 100644
--- a/drmhwcgralloc.h
+++ b/drmhwcgralloc.h
@@ -22,6 +22,12 @@
enum {
/* perform(const struct gralloc_module_t *mod,
* int op,
+ * int *fd);
+ */
+ GRALLOC_MODULE_PERFORM_GET_DRM_FD = 0x40000002,
+
+ /* perform(const struct gralloc_module_t *mod,
+ * int op,
* int drm_fd,
* buffer_handle_t buffer,
* struct hwc_drm_bo *bo);