android_kernel_xiaomi_sm7250/drivers/video
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
..
aty [PATCH] atyfb: Remove code that sets sync polarity unconditionally 2005-09-09 13:58:00 -07:00
backlight [PATCH] Support powering sharp zaurus sl-5500 LCD up and down 2005-09-07 16:57:20 -07:00
console [PATCH] framebuffer: bit_putcs() optimization for 8x* fonts 2005-09-09 13:58:02 -07:00
geode [PATCH] fbdev: geode updates 2005-09-09 13:57:59 -07:00
i810 [PATCH] fbdev: prevent drivers that have hardware cursors from calling software cursor code 2005-09-09 13:57:59 -07:00
intelfb [PATCH] fbdev: prevent drivers that have hardware cursors from calling software cursor code 2005-09-09 13:57:59 -07:00
kyro
logo [PATCH] m32r: framebuffer device support 2005-07-07 18:24:11 -07:00
matrox [PATCH] matroxfb: read MGA PInS data on PowerPC 2005-09-09 13:58:01 -07:00
nvidia [PATCH] fbdev: Fix greater than 1 bit monochrome color handling 2005-09-09 13:58:00 -07:00
riva [PATCH] PCI: remove CONFIG_PCI_NAMES 2005-09-08 14:57:23 -07:00
savage [PATCH] better error handing in savagefb_probe 2005-09-09 13:58:01 -07:00
sis [PATCH] sisfb update 2005-09-09 13:58:01 -07:00
68328fb.c
acornfb.c
acornfb.h
amba-clcd.c
amifb.c
arcfb.c
asiliantfb.c
atafb.c
au1100fb.c
au1100fb.h
bt431.h
bt455.h
bw2.c
c2p.c
c2p.h
cfbcopyarea.c
cfbfillrect.c
cfbimgblt.c
cg3.c
cg6.c
cg14.c
chipsfb.c [PATCH] swsusp: switch pm_message_t to struct 2005-09-05 00:06:16 -07:00
cirrusfb.c
clps711xfb.c
controlfb.c
controlfb.h
cyber2000fb.c
cyber2000fb.h
cyberfb.c
cyberfb.h
cyblafb.c [PATCH] framebuffer: new driver for cyberblade/i1 graphics core 2005-09-09 13:58:02 -07:00
dnfb.c
edid.h
epson1355fb.c
fbcmap.c [PATCH] fbdev: update info->cmap when setting cmap from user-/kernelspace. 2005-07-27 16:26:19 -07:00
fbmem.c [PATCH] fbdev: Fix greater than 1 bit monochrome color handling 2005-09-09 13:58:00 -07:00
fbmon.c [PATCH] fbdev: Resurrect hooks to get EDID from firmware 2005-09-09 13:57:59 -07:00
fbsysfs.c [PATCH] Display name of fbdev device 2005-07-31 12:50:46 -07:00
ffb.c
fm2fb.c
g364fb.c
gbefb.c
hgafb.c
hitfb.c
hpfb.c
igafb.c
imsttfb.c
imxfb.c [PATCH] ARM: 2687/1: i.MX framebuffer: make dmacr register platform configurable 2005-07-17 20:15:36 +01:00
imxfb.h [PATCH] ARM: 2687/1: i.MX framebuffer: make dmacr register platform configurable 2005-07-17 20:15:36 +01:00
Kconfig [PATCH] framebuffer: new driver for cyberblade/i1 graphics core 2005-09-09 13:58:02 -07:00
leo.c
macfb.c
macmodes.c
macmodes.h
Makefile [PATCH] framebuffer: new driver for cyberblade/i1 graphics core 2005-09-09 13:58:02 -07:00
maxinefb.c
modedb.c [PATCH] nvidiafb: Fix initial display corruption on certain laptops 2005-08-08 11:46:24 -07:00
neofb.c
offb.c [PATCH] Separate pci bits out of struct device_node 2005-09-09 22:11:38 +10:00
p9100.c
platinumfb.c
platinumfb.h
pm2fb.c [PATCH] clean up inline static vs static inline 2005-07-27 16:26:20 -07:00
pm3fb.c
pmag-aa-fb.c [PATCH] DEC PMAG AA framebuffer update 2005-09-05 00:06:03 -07:00
pmag-ba-fb.c [PATCH] DEC PMAG BA frame buffer update 2005-09-05 00:06:03 -07:00
pmagb-b-fb.c [PATCH] DEC PMAGB B framebuffer update 2005-09-05 00:06:03 -07:00
pvr2fb.c
pxafb.c [PATCH] ARM: 2846/1: proper handling of CKEN for pxafb 2005-08-10 16:45:13 +01:00
pxafb.h
q40fb.c [PATCH] Remove non-arch consumers of asm/segment.h 2005-09-07 16:57:34 -07:00
radeonfb.c [PATCH] disable debug info in radeonfb old driver 2005-08-18 12:53:57 -07:00
retz3fb.c
retz3fb.h
s1d13xxxfb.c [PATCH] swsusp: fix remaining u32 vs. pm_message_t confusion 2005-09-05 00:06:15 -07:00
S3triofb.c
sa1100fb.c [PATCH] ARM: Make sa1100fb_display_dma_period() an inline function 2005-08-07 14:20:26 +01:00
sa1100fb.h
sbuslib.c
sbuslib.h
sgivwfb.c
skeletonfb.c
softcursor.c
sstfb.c
sticore.h
stifb.c
sun3fb.c
tcx.c
tdfxfb.c
tgafb.c
tridentfb.c [PATCH] framebuffer: new driver for cyberblade/i1 graphics core 2005-09-09 13:58:02 -07:00
tx3912fb.c
valkyriefb.c
valkyriefb.h
vesafb.c [PATCH] vesafb: Add blanking support 2005-09-09 13:57:58 -07:00
vfb.c
vga16fb.c
vgastate.c
virgefb.c
virgefb.h
w100fb.c [PATCH] w100fb: Rewrite for platform independence 2005-09-07 16:57:53 -07:00
w100fb.h [PATCH] w100fb: Rewrite for platform independence 2005-09-07 16:57:53 -07:00