DISPLAY_FLAGS_PIXDATA_NEGEDGE = BIT(7),
DISPLAY_FLAGS_INTERLACED = BIT(8),
DISPLAY_FLAGS_DOUBLESCAN = BIT(9),
-#if defined(CONFIG_FB_ROCKCHIP) || defined(CONFIG_DRM_ROCKCHIP)
- DISPLAY_FLAGS_SWAP_GB = BIT(10),
- DISPLAY_FLAGS_SWAP_RG = BIT(11),
- DISPLAY_FLAGS_SWAP_RB = BIT(12),
+ DISPLAY_FLAGS_DOUBLECLK = BIT(10),
+#if defined(CONFIG_FB_ROCKCHIP)
+ DISPLAY_FLAGS_SWAP_GB = BIT(16),
+ DISPLAY_FLAGS_SWAP_RG = BIT(17),
+ DISPLAY_FLAGS_SWAP_RB = BIT(18),
#endif
};
struct timing_entry vsync_len; /* ver. sync len */
enum display_flags flags; /* display flags */
-#if defined(CONFIG_FB_ROCKCHIP) || defined(CONFIG_DRM_ROCKCHIP)
+#if defined(CONFIG_FB_ROCKCHIP)
u16 screen_type; /*screen type*/
+ u16 refresh_mode; /* 0: video mode 1: cmd mode */
+ u16 screen_widt; /* screen physical size */
+ u16 screen_hight;
u16 lvds_format; /*lvds data format for lvds screen*/
u16 face; /*display output interface format:24bit 18bit 16bit*/
u16 color_mode; /* input color mode: RGB or YUV */
u32 *dsp_lut;
u32 *cabc_lut;
+ u32 *cabc_gamma_base;
#endif
};