mirror of
https://github.com/genesi/linux-legacy.git
synced 2026-07-09 02:06:28 +00:00
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:
@@ -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);
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user