• Antonino Daplas's avatar
    [PATCH] Mode Switch in fbcon_blank() · bd8450b9
    Antonino Daplas authored
    As we've discussed in another thread, below is a diff that will do a set_par()
    as late as possible when there is KD_TEXT<->KD_GRAPHICS switch.  The set_par()
    will be forced in fbcon_resize() instead.
    
    Not sure if this has repercussions with the other drivers, but this patch
    fixed the X nv driver hanging when switching to the console.  (I believe the
    crash is actually caused by an early set_par() -- while in fbcon_blank. 
    Removing the set_par in fbcon_blank fixed the hang but caused cursor sprite
    and display corruption).
    Signed-off-by: default avatarAntonino Daplas <adaplas@pol.net>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    bd8450b9
fbcon.c 65.5 KB