• Antonino Daplas's avatar
    [PATCH] Another batch of fbcon fixes · 21aff035
    Antonino Daplas authored
    - Update display->vrows when fbset changes certain fields in var (such as
      color depth) but without changing the display resolution.  This might
      produce concommitant changes in other fields such as and especially
      var->yres_virtual.
    
    - Clear the FBINFO_MISC_MODECHANGEUSER flag _before_ issuing a
      notifier_call_chain().  Clearing it after the notifier_call_chain() will
      cause fbcon to go into an infinite loop.
    
    - Sanitized failure path of set_con2fb_map().
    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>
    21aff035
fbcon.c 65.5 KB