rk fb: call load_screen in rk_fb_switch_screen to fix hdmi resolution switch bug

This commit is contained in:
yxj
2013-02-04 15:11:06 +08:00
parent 15b650631e
commit 5e27e6f0af

View 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);