summaryrefslogtreecommitdiff
path: root/src/mali_fbdev.h
diff options
context:
space:
mode:
authorJohn Fredriksson <john.xj.fredriksson@stericsson.com>2011-05-13 08:27:29 +0000
committerJohn Fredriksson <john.xj.fredriksson@stericsson.com>2011-05-18 15:39:58 +0000
commite4d853338323231e1959c66281ac17a9c3884cdf (patch)
treed5ae05b4b731ecaa2d8fd337858f0410c97960c2 /src/mali_fbdev.h
parent8dced85322657d9c1ae47f81ae9e4b7ca6c46832 (diff)
Remove dependency to ump and use hwmem instead.
Hwmem is used instead of ump for graphics buffers.
Diffstat (limited to 'src/mali_fbdev.h')
-rw-r--r--src/mali_fbdev.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mali_fbdev.h b/src/mali_fbdev.h
index 4ab0eda..0aaff9a 100644
--- a/src/mali_fbdev.h
+++ b/src/mali_fbdev.h
@@ -25,7 +25,10 @@
#include <linux/videodev2.h>
#include <linux/fb.h>
+#include <linux/hwmem.h>
+#include <sys/mman.h>
#include "exa.h"
+#include <video/mcde_fb.h>
#define DPMSModeOn 0
#define DPMSModeStandby 1
@@ -59,6 +62,7 @@ typedef struct {
char deviceName[64];
Bool use_pageflipping;
Bool use_pageflipping_vsync;
+ int hwmem_fd;
} MaliRec, *MaliPtr;
typedef struct {