Commit 82a2684a authored by Liu Ying's avatar Liu Ying Committed by Frank Li
Browse files

MLK-10475-6 video: mxc_ipuv3_fb: Add PRE/PRG support



This patch adds PRE/PRG support for IPUv3 fb.

Signed-off-by: default avatarLiu Ying <Ying.Liu@freescale.com>
parent 2afdaaf2
Loading
Loading
Loading
Loading
+1085 −92

File changed.

Preview size limit exceeded, changes collapsed.

+9 −1
Original line number Diff line number Diff line
/*
 * 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)