aboutsummaryrefslogtreecommitdiff
path: root/include/video/mcde_fb.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/video/mcde_fb.h')
-rw-r--r--include/video/mcde_fb.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/video/mcde_fb.h b/include/video/mcde_fb.h
index 8aa3d134e74..1ef1c7175e5 100644
--- a/include/video/mcde_fb.h
+++ b/include/video/mcde_fb.h
@@ -17,12 +17,15 @@
#include <stdint.h>
#else
#include <linux/types.h>
+#include <linux/hwmem.h>
#endif
#ifdef __KERNEL__
#include "mcde_dss.h"
#endif
+#define MCDE_GET_BUFFER_NAME_IOC _IO('M', 1)
+
#ifdef __KERNEL__
#define to_mcde_fb(x) ((struct mcde_fb *)(x)->par)
@@ -34,6 +37,8 @@ struct mcde_fb {
u32 pseudo_palette[17];
enum mcde_ovly_pix_fmt pix_fmt;
int id;
+ struct hwmem_alloc *alloc;
+ int alloc_name;
};
/* MCDE fbdev API */