FBDev: fix for fbcon Oops
Subsystems (2)
PATCH 1/1 FBDev: fix for fbcon Oops
Hi,
Attached is a patch against 2.5.49 + James Simmons' latest fbdev.diff.
This fixes fbcon oopsing at load time which is due to the fb_cursor's palette index entries being improperly updated.
A new kind of 'emacs glitch' appeared, though. This can be described as a block of text that is incompletely copied, ie when "tabbing" a line of text. This is present with all hardware I tested, soft accel and hardware accel, which indicates a problem in the higher layers (probably fbcon). vgacon works okay.
Other changes:
1. optimization of fbcon_accel_putcs()
2. enabling logo displays at all packed pixel formats (as long as fb_imageblit is supported)
3. Various fbcon_accel_cursor() fixes which would have resulted in wrong cursor colors or an invisible cursor.
Tony
drivers/video/Makefile +1 -1
@@ -69,7 +69,7 @@ obj-$(CONFIG_FB_TX3912) += tx3912fb.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o obj-$(CONFIG_FB_MATROX) += matrox/ -obj-$(CONFIG_FB_RIVA) += riva/ +obj-$(CONFIG_FB_RIVA) += riva/ cfbfillrect.o cfbimgblt.o cfbcopyarea.o obj-$(CONFIG_FB_SIS) += sis/ obj-$(CONFIG_FB_ATY) += aty/ cfbimgblt.o
drivers/video/console/fbcon.c +126 -58
284 lines not on this page · raw message
James Simmons
AppliedQuoted 3 lines
This fixes fbcon oopsing at load time which is due to the fb_cursor's palette index entries being improperly updated.
Fixed.
Quoted 5 lines
A new kind of 'emacs glitch' appeared, though. This can be described as a block of text that is incompletely copied, ie when "tabbing" a line of text. This is present with all hardware I tested, soft accel and hardware accel, which indicates a problem in the higher layers (probably fbcon). vgacon works okay.
Its is fbcon. If you play with the low level driver to draw things you noticed everything is okay. I have to track it down.
Quoted 3 lines
Other changes:
1. optimization of
fbcon_accel_putcs()
Applied. If you look at my patch I attempted to make fbcon_pixmap dynamic instead of a static memeory area. It oops so I have that code commented out for now. Actually I applied it when the fix came out rigth away.
Quoted 2 lines
2. enabling logo displays at all packed pixel formats (as long as
fb_imageblitis supported)
This didn't apply well. Only thing missing.
Quoted 2 lines
3. Various
fbcon_accel_cursor()fixes which would have resulted in wrong cursor colors or an invisible cursor.
Applied. Worked now :-)