Thread (16 messages) 16 messages, 6 authors, 2005-01-24

Re: Radeon framebuffer weirdness in -mm2

flat view

From: Roman Zippel <hidden>
Date: 2005-01-21 12:34:20
Also in: lkml

Hi,

On Thu, 20 Jan 2005, Matt Mackall wrote:
On Thu, Jan 20, 2005 at 08:07:11PM -0800, Andrew Morton wrote:
quoted
Andrew Morton [off-list ref] wrote:
quoted
Next suspects would be:

 +cleanup-vc-array-access.patch
 +remove-console_macrosh.patch
 +merge-vt_struct-into-vc_data.patch
Make that:

+cleanup-vc-array-access.patch
+remove-console_macrosh.patch
+merge-vt_struct-into-vc_data.patch
+vgacon-fixes-to-help-font-restauration-in-x11.patch
It's something in this batch. Which is good, as I'd be a bit
disappointed if the "vt leakage" were somehow attributable to the fb
layer. More bisection after dinner.
Could you try the patch below. I cleaned up the logic a little in 
redraw_screen() and the code below really wants to do a update_screen().
The old switch_screen(fg_console) behaved like update_screen(fg_console).

bye, Roman

Index: linux-2.6/drivers/video/console/fbcon.c
===================================================================
--- linux-2.6.orig/drivers/video/console/fbcon.c	2005-01-21 13:02:45.000000000 +0100
+++ linux-2.6/drivers/video/console/fbcon.c	2005-01-21 13:03:03.000000000 +0100
@@ -609,7 +609,7 @@
 				   fg_vc->vc_rows);
 	}
 
-	switch_screen(vc_cons[fg_console].d);
+	update_screen(vc_cons[fg_console].d);
 }
 
 /**
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help