summaryrefslogtreecommitdiff
path: root/src/gralloc/gralloc_kms.h
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2010-10-11 16:06:47 +0800
committerChia-I Wu <olvaffe@gmail.com>2011-03-16 20:18:39 +0800
commit2b1f1af17f8e8f199cb0dd4f7f1a225529b357c5 (patch)
tree938719b6cb9f40fba9a9af658b7223bdf0aa4f7e /src/gralloc/gralloc_kms.h
parent8e698931d730242cdb88fd7281903a10c6576d09 (diff)
android: Add DRM-based gralloc.
Diffstat (limited to 'src/gralloc/gralloc_kms.h')
-rw-r--r--src/gralloc/gralloc_kms.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/gralloc/gralloc_kms.h b/src/gralloc/gralloc_kms.h
new file mode 100644
index 0000000000..44708e0034
--- /dev/null
+++ b/src/gralloc/gralloc_kms.h
@@ -0,0 +1,19 @@
+#ifndef _DRM_KMS_H_
+#define _DRM_KMS_H_
+
+#include "gralloc_mod.h"
+#include "gralloc_gem.h"
+
+int
+drm_kms_init(struct drm_module_t *drm);
+
+int
+drm_kms_add_fb(struct drm_module_t *drm, struct drm_bo_t *bo);
+
+void
+drm_kms_rm_fb(struct drm_module_t *drm, struct drm_bo_t *bo);
+
+int
+drm_kms_post(struct drm_module_t *drm, struct drm_bo_t *bo);
+
+#endif /* _DRM_KMS_H_ */