Skip to contentSkip to conversation

fbcon: Store struct display when setting all vcs

PATCH New Antonino A. Daplas 1 participant 1 message Nov 20, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fbcon: Store struct display when setting all vcs

Store struct display when setting all vc's. Otherwise, fbcon's behavior becomes undefined, such as malpositioning of the cursor.

---

Not for 2.6.15, unless you push this - fbcon-sanitize-fbcon.patch

 drivers/video/console/fbcon.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
drivers/video/console/fbcon.c +2 -0
index efb5064..1a8f0ea 100644
@@ -2779,6 +2779,8 @@ static void fbcon_set_all_vcs(struct fb_
 				fbcon_update_softback(vc);
 		}
 	}
+
+	ops->p = &fb_display[ops->currcon];
 }
 
 static int fbcon_mode_deleted(struct fb_info *info,

-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click