• Linus Torvalds's avatar
    Merge branch 'resizex' (patches from Maciej) · adc12a74
    Linus Torvalds authored
    Merge VT_RESIZEX fixes from Maciej Rozycki:
     "I got to the bottom of the issue with VT_RESIZEX recently discussed
      and came up with this small patch series, fixing an additional issue
      that I originally thought might be broken VGA hardware emulation with
      my laptop, which however turned out to be intertwined with the
      original problem and also a regression introduced somewhat later.
    
      The fix for that because the first patch, and then to make backporting
      feasible I had to put a revert of the offending change from last
      September next, followed by a proper fix for the framebuffer issue
      that change had tried to address.
    
      See individual change descriptions for details.
    
      These have been verified with true VGA hardware (a Trident TVGA8900
      ISA video adapter) using various combinations of `svgatextmode' and
      `setfont' command invocations to change both the VT size and the font
      size, and also switching between the text console and X11, both by
      starting/stopping the X server and by switching between VTs.
    
      All this to ensure bringing the behaviour of VGA text console back to
      correct operation as it used to be with Linux 2.6.18"
    
    * emailed patches from Maciej W. Rozycki <macro@orcam.me.uk>:
      vt: Fix character height handling with VT_RESIZEX
      vt_ioctl: Revert VT_RESIZEX parameter handling removal
      vgacon: Record video mode changes with VT_RESIZEX
    adc12a74
vgacon.c 36.2 KB