diff options
author | Liu Ying <Ying.Liu@freescale.com> | 2015-03-26 18:13:29 +0800 |
---|---|---|
committer | Jason Liu <r64343@freescale.com> | 2015-05-08 17:23:20 +0800 |
commit | 2c075a2db7afb2d18cfbaac1a77b8e1ddb2a9b21 (patch) | |
tree | f746b8838254189873aec90d7a17a4bae9f3453a /include | |
parent | a26b94348fbf406c2688200a2d38fc56878f4f78 (diff) |
MLK-10475-6 video: mxc_ipuv3_fb: Add PRE/PRG support
This patch adds PRE/PRG support for IPUv3 fb.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/linux/mxcfb.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/uapi/linux/mxcfb.h b/include/uapi/linux/mxcfb.h index 4d6ff73d58c1..3a984090769a 100644 --- a/include/uapi/linux/mxcfb.h +++ b/include/uapi/linux/mxcfb.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2013-2014 Freescale Semiconductor, Inc. All Rights Reserved + * Copyright (C) 2013-2015 Freescale Semiconductor, Inc. All Rights Reserved */ /* @@ -67,6 +67,11 @@ struct mxcfb_gamma { int slopek[16]; }; +struct mxcfb_gpu_split_fmt { + struct fb_var_screeninfo var; + unsigned long offset; +}; + struct mxcfb_rect { __u32 top; __u32 left; @@ -174,6 +179,9 @@ struct mxcfb_csc_matrix { #define MXCFB_GET_FB_BLANK _IOR('F', 0x2B, u_int32_t) #define MXCFB_SET_DIFMT _IOW('F', 0x2C, u_int32_t) #define MXCFB_CSC_UPDATE _IOW('F', 0x2D, struct mxcfb_csc_matrix) +#define MXCFB_SET_GPU_SPLIT_FMT _IOW('F', 0x2F, struct mxcfb_gpu_split_fmt) +#define MXCFB_SET_PREFETCH _IOW('F', 0x30, int) +#define MXCFB_GET_PREFETCH _IOR('F', 0x31, int) /* IOCTLs for E-ink panel updates */ #define MXCFB_SET_WAVEFORM_MODES _IOW('F', 0x2B, struct mxcfb_waveform_modes) |