rk fb: call load_screen in rk_fb_switch_screen to fix hdmi resolution switch bug
authoryxj <yxj@rock-chips.com>
Mon, 4 Feb 2013 07:11:06 +0000 (15:11 +0800)
committeryxj <yxj@rock-chips.com>
Mon, 4 Feb 2013 07:13:13 +0000 (15:13 +0800)
drivers/video/rockchip/rk_fb.c

index ba3a2643806a929359f2c0799d45d285cdc01edb..936a83f7ee848f14fd887b6372f909bb95d48305 100644 (file)
@@ -834,6 +834,7 @@ int rk_fb_switch_screen(rk_screen *screen ,int enable ,int lcdc_id)
                dev_drv->screen1->ypos = 0;
        }
        ret = info->fbops->fb_open(info,1);
+       dev_drv->load_screen(dev_drv,1);
        ret = info->fbops->fb_set_par(info);
        if(dev_drv->lcdc_hdmi_process)
                dev_drv->lcdc_hdmi_process(dev_drv,enable);