From: yxj Date: Mon, 12 Nov 2012 06:57:49 +0000 (+0800) Subject: fix display size err in hdmi mode X-Git-Tag: firefly_0821_release~8243 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=eefe9848bc37f1053dba00c02afcfed8dec774cc;p=firefly-linux-kernel-4.4.55.git fix display size err in hdmi mode --- diff --git a/drivers/video/rockchip/rk_fb.c b/drivers/video/rockchip/rk_fb.c index 586f1618932b..eea704bc2b7b 100644 --- a/drivers/video/rockchip/rk_fb.c +++ b/drivers/video/rockchip/rk_fb.c @@ -405,7 +405,7 @@ static int rk_fb_set_par(struct fb_info *info) ysize = screen->y_res; } -#if defined(CONFIG_ONE_LCDC_DUAL_OUTPUT_INF) +#if defined(CONFIG_ONE_LCDC_DUAL_OUTPUT_INF) || defined(CONFIG_NO_DUAL_DISP) if(screen->screen_id == 0) //this is for device like rk2928 ,whic have one lcdc but two display outputs { //save parameter set by android dev_drv->screen0->xsize = xsize;