From 2c075a2db7afb2d18cfbaac1a77b8e1ddb2a9b21 Mon Sep 17 00:00:00 2001 From: Liu Ying Date: Thu, 26 Mar 2015 18:13:29 +0800 Subject: 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 --- include/uapi/linux/mxcfb.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'include') 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) -- cgit v1.2.3