diff options
author | Sean Paul <seanpaul@chromium.org> | 2015-02-09 02:27:39 -0500 |
---|---|---|
committer | Chih-Wei Huang <cwhuang@linux.org.tw> | 2015-10-10 03:40:54 +0800 |
commit | 6bc690d71879ba1607981bd04cff8932c749635b (patch) | |
tree | 536fc6c91a052b8b7b770046bfef53c638c9b1a6 | |
parent | 08a2f0784724205c457e357a75636c04a83a99bd (diff) | |
download | external_drm_gralloc-6bc690d71879ba1607981bd04cff8932c749635b.zip external_drm_gralloc-6bc690d71879ba1607981bd04cff8932c749635b.tar.gz external_drm_gralloc-6bc690d71879ba1607981bd04cff8932c749635b.tar.bz2 |
drm_gralloc: Add drm_gralloc actions to gralloc_drm.h
Change-Id: If640f6ad7c6b904df59b5c5e164f184f1fc97170
Signed-off-by: Sean Paul <seanpaul@chromium.org>
-rw-r--r-- | gralloc_drm.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gralloc_drm.h b/gralloc_drm.h index e53ecd9..8f104d0 100644 --- a/gralloc_drm.h +++ b/gralloc_drm.h @@ -37,6 +37,14 @@ extern "C" { struct gralloc_drm_t; struct gralloc_drm_bo_t; +enum { + GRALLOC_MODULE_PERFORM_GET_DRM_FD = 0x80000002, + GRALLOC_MODULE_PERFORM_GET_DRM_MAGIC = 0x80000003, + GRALLOC_MODULE_PERFORM_AUTH_DRM_MAGIC = 0x80000004, + GRALLOC_MODULE_PERFORM_ENTER_VT = 0x80000005, + GRALLOC_MODULE_PERFORM_LEAVE_VT = 0x80000006, +}; + struct gralloc_drm_t *gralloc_drm_create(void); void gralloc_drm_destroy(struct gralloc_drm_t *drm); |