rk3288 chromium: update drm fb
[firefly-linux-kernel-4.4.55.git] / include / video / display_timing.h
index 5d0259b08e015ae0e3d288de561446cc995aecdb..bf2bd657e0c45b78296017a75d12d29af5cec411 100644 (file)
@@ -27,6 +27,11 @@ enum display_flags {
        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),
+#endif
 };
 
 /*
@@ -70,6 +75,11 @@ struct display_timing {
        struct timing_entry vsync_len;          /* ver. sync len */
 
        enum display_flags flags;               /* display flags */
+#if defined(CONFIG_FB_ROCKCHIP) || defined(CONFIG_DRM_ROCKCHIP)
+       u16 screen_type;                        /*screen type*/
+       u16 lvds_format;                        /*lvds data format for lvds screen*/
+       u16 face;                               /*display output  interface format:24bit 18bit 16bit*/
+#endif
 };
 
 /*