diff options
author | Kuogee Hsieh <c_khsieh@quicinc.com> | 2009-12-30 14:46:10 -0800 |
---|---|---|
committer | Kuogee Hsieh <c_khsieh@quicinc.com> | 2009-12-30 14:56:39 -0800 |
commit | 19990a21362c26d56e4ea376bf8efe91cfe8f199 (patch) | |
tree | 998687adc7da79fe3e2ca59ef1b5c84cdb30cc7e /libc | |
parent | f1dc03069054f56e1010d538989e38a2d01bc4c6 (diff) | |
download | bionic-19990a21362c26d56e4ea376bf8efe91cfe8f199.zip bionic-19990a21362c26d56e4ea376bf8efe91cfe8f199.tar.gz bionic-19990a21362c26d56e4ea376bf8efe91cfe8f199.tar.bz2 |
bionic: update the msm mdp header file inline with kernel file
Update the msm mdp header file with MSMFB_GET_PAGE_PROTECTION,
MSMFB_SET_PAGE_PROTECTION, and MSMFB_OVERLAY_GET macros and
update mdp_overlay structure in line to the kernel file.
Diffstat (limited to 'libc')
-rw-r--r-- | libc/kernel/common/linux/msm_mdp.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libc/kernel/common/linux/msm_mdp.h b/libc/kernel/common/linux/msm_mdp.h index 260df6d..a578453 100644 --- a/libc/kernel/common/linux/msm_mdp.h +++ b/libc/kernel/common/linux/msm_mdp.h @@ -29,6 +29,11 @@ #define MSMFB_OVERLAY_SET _IOWR(MSMFB_IOCTL_MAGIC, 135, struct mdp_overlay) #define MSMFB_OVERLAY_UNSET _IOW(MSMFB_IOCTL_MAGIC, 136, unsigned int) #define MSMFB_OVERLAY_PLAY _IOW(MSMFB_IOCTL_MAGIC, 137, struct msmfb_overlay_data) +#define MSMFB_GET_PAGE_PROTECTION _IOR(MSMFB_IOCTL_MAGIC, 138, \ + struct mdp_page_protection) +#define MSMFB_SET_PAGE_PROTECTION _IOW(MSMFB_IOCTL_MAGIC, 139, \ + struct mdp_page_protection) +#define MSMFB_OVERLAY_GET _IOR(MSMFB_IOCTL_MAGIC, 140, struct mdp_overlay) #define MDP_IMGTYPE2_START 0x10000 @@ -142,6 +147,7 @@ struct mdp_overlay { uint32_t transp_mask; uint32_t flags; uint32_t id; + uint32_t user_data[8]; }; struct mdp_histogram { |