diff options
author | John Fredriksson <john.xj.fredriksson@stericsson.com> | 2011-05-13 08:27:29 +0000 |
---|---|---|
committer | John Fredriksson <john.xj.fredriksson@stericsson.com> | 2011-05-18 15:39:58 +0000 |
commit | e4d853338323231e1959c66281ac17a9c3884cdf (patch) | |
tree | d5ae05b4b731ecaa2d8fd337858f0410c97960c2 /src/mali_exa.h | |
parent | 8dced85322657d9c1ae47f81ae9e4b7ca6c46832 (diff) |
Remove dependency to ump and use hwmem instead.
Hwmem is used instead of ump for graphics buffers.
Diffstat (limited to 'src/mali_exa.h')
-rw-r--r-- | src/mali_exa.h | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/src/mali_exa.h b/src/mali_exa.h index 43017fb..887851b 100644 --- a/src/mali_exa.h +++ b/src/mali_exa.h @@ -23,14 +23,9 @@ #ifndef _MALI_EXA_H_ #define _MALI_EXA_H_ -#include <ump/ump.h> -#include <ump/ump_ref_drv.h> #include "xf86.h" #include "exa.h" -/* Change this ioctl according to your specific UMP integration with LCD kernel driver */ -#define GET_UMP_SECURE_ID _IOWR('m', 310, unsigned int) - struct mali_info { ScrnInfoPtr pScrn; @@ -43,17 +38,18 @@ struct mali_info typedef struct { - ump_handle handle; + int hwmem_alloc; + int hwmem_global_name; + int bits_per_pixel; unsigned long usize; } mali_mem_info; typedef struct { Bool isFrameBuffer; - int refs; - int bits_per_pixel; - unsigned long addr; + void *addr; mali_mem_info *mem_info; + int bits_per_pixel; } PrivPixmap; #endif /* _MALI_EXA_H_ */ |