1. 07 Nov, 2005 4 commits
  2. 05 Nov, 2005 4 commits
    • Samuel Thibault's avatar
      [PATCH] Set the vga cursor even when hidden · 88dcb6c4
      Samuel Thibault authored
      
      
      Some visually impaired people use hardware devices which directly read
      the vga screen. When newt for instance asks to hide the cursor for
      better visual aspect, the kernel puts the vga cursor out of the screen,
      so that the cursor position can't be read by the hardware device. This
      is a great loss for such people.
      
      Here is a patch which uses the same technique as CUR_NONE for hiding the
      cursor while still moving it.
      
      Mario, you should apply it to the speakup kernel for access floppies
      asap. I'll submit a 2.4 patch too.
      
      Signed-off-by: samuel.thibault@ens-lyon.org
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      88dcb6c4
    • Russell King's avatar
      [DRIVER MODEL] Fix sgivwfb · 2c119aa8
      Russell King authored
      
      
      Statically allocated devices in module data is a potential cause
      of oopsen.  The device may be in use by a userspace process, which
      will keep a reference to the device.  If the module is unloaded,
      the module data will be freed.  Subsequent use of the platform
      device will cause a kernel oops.
      
      Use generic platform device allocation/release code in modules.
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      Acked-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      2c119aa8
    • Russell King's avatar
      [DRIVER MODEL] Fix gbefb · abbf268a
      Russell King authored
      
      
      Statically allocated devices in module data is a potential cause
      of oopsen.  The device may be in use by a userspace process, which
      will keep a reference to the device.  If the module is unloaded,
      the module data will be freed.  Subsequent use of the platform
      device will cause a kernel oops.
      
      Use generic platform device allocation/release code in modules.
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      Acked-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      abbf268a
    • Russell King's avatar
      [DRIVER MODEL] Fix arcfb · 8d972a96
      Russell King authored
      
      
      Release code in driver modules is a potential cause of oopsen.
      The device may be in use by a userspace process, which will keep
      a reference to the device.  If the module is unloaded, the module
      text will be freed.  Subsequently, when the last reference is
      dropped, the release code will be called, which no longer exists.
      
      Use generic platform device allocation/release code in modules.
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      Acked-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      8d972a96
  3. 04 Nov, 2005 1 commit
    • Calin A. Culianu's avatar
      [PATCH] nvidiafb: Geforce 7800 series support added · 7015faa7
      Calin A. Culianu authored
      
      
      This adds support for the Nvidia Geforce 7800 series of cards to the
      nvidiafb framebuffer driver.  All it does is add the PCI device id for
      the 7800, 7800 GTX, 7800 GO, and 7800 GTX GO cards to the module device
      table for the nvidiafb.ko driver, so that nvidiafb.ko will actually work
      on these cards.
      
      I also added the relevant PCI device ids to linux/pci_ids.h
      
      I tested it on my 7800 GTX here and it works like a charm.  I now can
      get framebuffer support on this card! Woo hoo!! Nothing like 200x75 text
      mode to make your eyes BLEED.  ;)
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      7015faa7
  4. 02 Nov, 2005 1 commit
  5. 30 Oct, 2005 2 commits
    • Pozsar Balazs's avatar
      [PATCH] fix vgacon blanking · 1a66ddcb
      Pozsar Balazs authored
      
      
      This patch fixes a long-standing vgacon bug: characters with the bright bit
      set were left on the screen and not blacked out.  All I did was that I
      lookuped up some examples on the net about setting the vga palette, and
      added the call missing from the linux kernel, but included in all other
      ones.  It works for me.
      
      You can test this by writing something with the bright set to the
      console, for example:
        echo -e "\e[1;31mhello there\e[0m"
      and then wait for the console to blank itself (by default, after 10 mins
      of inactivity), maybe making it faster using
        setterm -blank 1
      so you only have to wait 1 minute.
      Signed-off-by: default avatarPozsar Balazs <pozsy@uhulinux.hu>
      Cc: James Simmons <jsimmons@infradead.org>
      Cc: "Antonino A. Daplas" <adaplas@pol.net>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      1a66ddcb
    • Brian Gerst's avatar
      [PATCH] CONFIG_IA32 · 0d078f6f
      Brian Gerst authored
      
      
      Add CONFIG_X86_32 for i386.  This allows selecting options that only apply
      to 32-bit systems.
      
      (X86 && !X86_64) becomes X86_32
      (X86 ||  X86_64) becomes X86
      Signed-off-by: default avatarBrian Gerst <bgerst@didntduck.org>
      Cc: Sam Ravnborg <sam@ravnborg.org>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      0d078f6f
  6. 29 Oct, 2005 5 commits
  7. 28 Oct, 2005 5 commits
  8. 24 Oct, 2005 1 commit
  9. 21 Oct, 2005 2 commits
  10. 18 Oct, 2005 2 commits
    • Antonino A. Daplas's avatar
      [PATCH] vesafb: Fix display corruption on display blank · bb7e257e
      Antonino A. Daplas authored
      
      
      Reported by: Bob Tracy <rct@gherkin.frus.com>
      
       "...I've got a Toshiba notebook (730XCDT -- Pentium 150MMX) for which
        I'm using the Vesa FB driver.  When the machine has been idle for some
        time and the driver attempts to powerdown the display, rather than the
        display going blank, it goes gray with several strange lines.  When I
        hit the "shift" key or other-wise wake up the display, the old video
        state is not fully restored..."
      
      vesafb recently added a blank method which has only 2 states, powerup and
      powerdown.  The powerdown state is used for all blanking levels, but in his
      case, powerdown does not work correctly for higher levels of display
      powersaving. Thus, for intermediate power levels, use software blanking,
      and use only hardware blanking for an explicit powerdown.
      Signed-off-by: default avatarAntonino Daplas <adaplas@pol.net>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      bb7e257e
    • Linus Torvalds's avatar
      Add some basic .gitignore files · 1e65174a
      Linus Torvalds authored
      
      
      This still leaves driver and architecture-specific subdirectories alone,
      but gets rid of the bulk of the "generic" generated files that we should
      ignore.
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      1e65174a
  11. 17 Oct, 2005 1 commit
    • Samuel Thibault's avatar
      [PATCH] SVGATextMode fix · 0aec4867
      Samuel Thibault authored
      
      
      Fix bug 5441.
      
      I didn't know about messy programs like svgatextmode...  Couldn't this be
      integrated in some linux/drivers/video/console/svgacon.c ?...  So because
      of the existence of the svgatextmode program, the kernel is not supposed to
      touch to CRT_OVERFLOW/SYNC_END/DISP/DISP_END/OFFSET ?
      
      Disabling the check in vgacon_resize() might help indeed, but I'm really
      not sure whether it will work for any chipset: in my patch, CRT registers
      are set at each console switch, since stty rows/cols apply to consoles
      separately...
      
      The attached solution is to keep the test, but if it fails, we assume that
      the caller knows what it does (i.e.  it is svgatextmode) and then disable
      any further call to vgacon_doresize.  Svgatextmode is usually used to
      _expand_ the display, not to shrink it.  And it is harmless in the case of
      a too big stty rows/cols: the display will just be cropped.  I tested it on
      my laptop, and it works fine with svgatextmode.
      
      A better solution would be that svgatextmode explicitely tells the kernel
      not to care about video timing, but for this an interface needs be defined
      and svgatextmode be patched.
      Signed-off-by: default avatarSamuel Thibault <samuel.thibault@ens-lyon.org>
      Cc: "Antonino A. Daplas" <adaplas@pol.net>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      0aec4867
  12. 14 Oct, 2005 1 commit
  13. 07 Oct, 2005 1 commit
    • Tom 'spot' Callaway's avatar
      [SPARC]: Fix p9100 framebuffer in 2.6 · d85c3553
      Tom 'spot' Callaway authored
      
      
      The attached patch fixes the p9100 framebuffer so that text is viewable
      (not black on black, like it was before the patch). The linux logo
      displays for a very short period of time, then is replaced by a grey
      box. This leads me to believe that this framebuffer would have problems
      in X, but since there hasn't been a weitek driver for X in several
      millennia, this isn't something that I can confirm or deny.
      
      But this patch does get color console working on my SPARCbook 3TX.
      Signed-off-by: default avatarTom 'spot' Callaway <tcallawa@redhat.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      d85c3553
  14. 01 Oct, 2005 1 commit
  15. 29 Sep, 2005 7 commits
  16. 23 Sep, 2005 1 commit
    • Andrew Morton's avatar
      [PATCH] atyfb c99 fix · 2601c2e2
      Andrew Morton authored
      
      
      - fix this:
      
        drivers/video/aty/xlinit.c: In function `atyfb_xl_init':
        drivers/video/aty/xlinit.c:256: warning: ISO C90 forbids mixed declarations and code
      
      - repair some kooky coding style
      
      - Use ARRAY_SIZE()
      
      Cc: Tom 'spot' Callaway <tcallawa@redhat.com>
      Cc: "Antonino A. Daplas" <adaplas@pol.net>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      2601c2e2
  17. 21 Sep, 2005 1 commit