Knut Petersen
c5eb5c1ea9
[PATCH] framebuffer: bit_putcs() optimization for 8x* fonts
...
This trivial patch gives a performance boost to the framebuffer console
Constructing the bitmaps that are given to the bitblit functions of the
framebuffer drivers is time consuming. Here we avoide a call to the slow
fb_pad_aligned_buffer(). The patch replaces that call with a simple but
much more efficient bytewise copy.
The kernel spends a significant time at this place if you use 8x* fonts.
Every pixel displayed on your screen is prepared here.
Some benchmark results:
Displaying a file of 2000 lines with 160 characters each takes 889 ms
system time using cyblafb on my system (I´m using a 1280x1024 video mode,
resulting in a 160x64 character console)
Displaying the same file with the enclosed patch applied to 2.6.13 only
takes 760 ms system time, saving 129 ms or 14.5%.
Font widths other than 8 are not affected.
The advantage and correctness of this patch should be obvious.
Signed-off-by: Knut Petersen <Knut_Petersen@t-online.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-09-09 13:58:02 -07:00
..
2005-09-09 13:58:00 -07:00
2005-09-07 16:57:20 -07:00
2005-09-09 13:58:02 -07:00
2005-09-09 13:57:59 -07:00
2005-09-09 13:57:59 -07:00
2005-09-09 13:57:59 -07:00
2005-04-16 15:20:36 -07:00
2005-07-07 18:24:11 -07:00
2005-09-09 13:58:01 -07:00
2005-09-09 13:58:00 -07:00
2005-09-08 14:57:23 -07:00
2005-09-09 13:58:01 -07:00
2005-09-09 13:58:01 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-30 23:28:47 +01:00
2005-04-16 15:20:36 -07:00
2005-06-21 19:07:41 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-06-25 16:24:57 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-09-05 00:06:16 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-05-03 12:23:56 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-09-09 13:58:02 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-07-27 16:26:19 -07:00
2005-09-09 13:58:00 -07:00
2005-09-09 13:57:59 -07:00
2005-07-31 12:50:46 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-06-20 15:15:35 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-26 07:43:42 -07:00
2005-07-17 20:15:36 +01:00
2005-07-17 20:15:36 +01:00
2005-09-09 13:58:02 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-06-14 07:19:35 -07:00
2005-04-16 15:20:36 -07:00
2005-09-09 13:58:02 -07:00
2005-04-16 15:20:36 -07:00
2005-08-08 11:46:24 -07:00
2005-04-16 15:20:36 -07:00
2005-09-09 22:11:38 +10:00
2005-04-16 15:20:36 -07:00
2005-07-06 12:55:20 -07:00
2005-04-16 15:20:36 -07:00
2005-07-27 16:26:20 -07:00
2005-06-21 19:07:40 -07:00
2005-09-05 00:06:03 -07:00
2005-09-05 00:06:03 -07:00
2005-09-05 00:06:03 -07:00
2005-04-16 15:20:36 -07:00
2005-08-10 16:45:13 +01:00
2005-04-16 15:20:36 -07:00
2005-09-07 16:57:34 -07:00
2005-08-18 12:53:57 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-09-05 00:06:15 -07:00
2005-04-16 15:20:36 -07:00
2005-08-07 14:20:26 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-06-21 19:07:41 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-24 20:39:15 -07:00
2005-05-01 08:59:25 -07:00
2005-04-21 14:09:42 -07:00
2005-09-09 13:58:02 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-09-09 13:57:58 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-09-07 16:57:53 -07:00
2005-09-07 16:57:53 -07:00