rk_hdmi_Lcdc.c: pass display mode to fb
authoryxj <yxj@rock-chips.com>
Fri, 7 Sep 2012 08:28:06 +0000 (16:28 +0800)
committeryxj <yxj@rock-chips.com>
Fri, 7 Sep 2012 08:28:06 +0000 (16:28 +0800)
drivers/video/rockchip/hdmi/rk_hdmi_lcdc.c

index e212ae7792ade2bcb90269fe90553b596511f2cd..2703d98e3567a25e8d7e25148b951355ca5d4dca 100755 (executable)
@@ -103,6 +103,7 @@ int hdmi_set_info(struct rk29fb_screen *screen, unsigned int vic)
        screen->upper_margin = hdmi_mode[i].upper_margin;
        screen->lower_margin = hdmi_mode[i].lower_margin;
        screen->vsync_len = hdmi_mode[i].vsync_len;
+       screen->hdmi_resolution = hdmi_mode[i].flag;
 
        /* Pin polarity */
        if(FB_SYNC_HOR_HIGH_ACT & hdmi_mode[i].sync)