Change-Id: I5b6ce2d439b54c0c1d133e8a3e19ae364ff0ce16
Signed-off-by: Huang Jiachai <hjc@rock-chips.com>
#define IS_YUV_COLOR(x) ((x) >= COLOR_YCBCR)
+#define SCREEN_VIDEO_MODE 0
+#define SCREEN_CMD_MODE 1
+
/* fb win map */
#define FB_DEFAULT_ORDER 0
#define FB0_WIN2_FB1_WIN1_FB2_WIN0 12
int (*disable)(void);
int (*dsp_pwr_on) (void);
int (*dsp_pwr_off) (void);
+ void (*refresh)(unsigned int xpos, unsigned int ypos,
+ unsigned int xsize, unsigned int ysize);
};
struct rk_lcdc_drv_ops {
struct rk_lcdc_driver {
char name[6];
+ int te_irq;
int id;
int prop;
struct device *dev;