Thread (3 messages) 3 messages, 2 authors, 2003-02-26

[PATCH]: More optimization for accel_putcs()

flat view
STALE8625d

From: Antonino Daplas <hidden>
Date: 2003-02-22 03:31:26

Geert, James,

Here's a patch for linux-2.5.61 + James' fbdev.diff so accel_putcs()
will do only 1 fb_imageblit() at the end when fontwidth is not divisible
by 8.  Tested on 4x6 and 12x22 fonts.  There should be a significant
performance increase even with the generic functions, however, the
greatest gain can be seen on drivers with accelerated fb_imageblit(). 
Here are some numbers:

no accel
scrollmode: yredraw
font: 12x22
visual: packed pixels

time cat /usr/src/linux/MAINTAINERS

linux-2.5.62 (old -- 1 fb_imageblit/character)

bpp8
----
real    0m5.247s
user    0m0.001s
sys     0m5.245s

bpp16
-----
real    0m9.640s
user    0m0.001s
sys     0m9.591s

bpp24
-----
real    0m15.943s
user    0m0.001s
sys     0m15.944s

bpp32
-----
real    0m19.653s
user    0m0.002s
sys     0m19.651s

linux-2.5.62 (new - 1 fb_imageblit at the end)

bpp8
----
real    0m3.867s
user    0m0.000s
sys     0m3.866s

bpp16
-----
real    0m5.894s
user    0m0.001s
sys     0m5.892s

bpp24
-----
real    0m13.669s
user    0m0.000s
sys     0m13.670s

bpp32
-----
real    0m11.053s
user    0m0.001s
sys     0m11.054s


Tony

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help