Skip to content

Commit

Permalink
ps3fb: Set FBINFO_READS_FAST to speed up text console scrolling
Browse files Browse the repository at this point in the history
ps3fb: Set FBINFO_READS_FAST to speed up text console scrolling (on average
50%, according to my tests)

Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Cc: Geoff Levand <geoffrey.levand@am.sony.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Geert Uytterhoeven authored and Linus Torvalds committed Jul 22, 2007
1 parent 50b2529 commit cfd13af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/video/ps3fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit cfd13af

Please sign in to comment.