From: Geert Uytterhoeven Date: Sat, 21 Jul 2007 11:37:51 +0000 (-0700) Subject: ps3fb: Set FBINFO_READS_FAST to speed up text console scrolling X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cfd13af6270c25e8089e9c5b59ffb55d39ae74a0;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git ps3fb: Set FBINFO_READS_FAST to speed up text console scrolling ps3fb: Set FBINFO_READS_FAST to speed up text console scrolling (on average 50%, according to my tests) Signed-off-by: Geert Uytterhoeven Cc: Geoff Levand Cc: Paul Mackerras Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/ps3fb.c b/drivers/video/ps3fb.c index 3972aa8cf85..646ec823c16 100644 --- a/drivers/video/ps3fb.c +++ b/drivers/video/ps3fb.c @@ -1067,7 +1067,7 @@ static int __devinit ps3fb_probe(struct ps3_system_bus_device *dev) info->fix.smem_len = ps3fb_videomemory.size - offset; info->pseudo_palette = info->par; info->par = NULL; - info->flags = FBINFO_FLAG_DEFAULT; + info->flags = FBINFO_DEFAULT | FBINFO_READS_FAST; retval = fb_alloc_cmap(&info->cmap, 256, 0); if (retval < 0)