ENGR00120782 FB: change virtual size to be triple of the screen size

change virtual size to be triple of the screen size as default
to make pan display works at triple buffer mode.

Signed-off-by: Wu Guoxing <b02248@freescale.com>
This commit is contained in:
Wu Guoxing
2010-02-04 16:19:39 +08:00
committed by Matt Sealey
parent ca4fc4a37f
commit 8faf431a4e
3 changed files with 5 additions and 5 deletions

View File

@@ -1582,7 +1582,7 @@ static int mxcfb_probe(struct platform_device *pdev)
mxcfb_check_var(&fbi->var, fbi);
/* Default Y virtual size is 2x panel size */
fbi->var.yres_virtual = fbi->var.yres * 2;
fbi->var.yres_virtual = fbi->var.yres * 3;
mxcfb_set_fix(fbi);

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2008-2009 Freescale Semiconductor, Inc. All Rights Reserved.
* Copyright 2008-2010 Freescale Semiconductor, Inc. All Rights Reserved.
*/
/*
@@ -64,7 +64,7 @@ static void lcd_init_fb(struct fb_info *info)
fb_videomode_to_var(&var, &video_modes[0]);
var.activate = FB_ACTIVATE_ALL;
var.yres_virtual = var.yres * 2;
var.yres_virtual = var.yres * 3;
acquire_console_sem();
info->flags |= FBINFO_MISC_USEREVENT;

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2007-2009 Freescale Semiconductor, Inc. All Rights Reserved.
* Copyright 2007-2010 Freescale Semiconductor, Inc. All Rights Reserved.
*/
/*
@@ -75,7 +75,7 @@ static void lcd_init_fb(struct fb_info *info)
}
var.activate = FB_ACTIVATE_ALL;
var.yres_virtual = var.yres * 2;
var.yres_virtual = var.yres * 3;
acquire_console_sem();
info->flags |= FBINFO_MISC_USEREVENT;