1. 27 Mar, 2006 1 commit
    • Alan Curry's avatar
      [PATCH] framebuffer: cmap-setting return values · db77ec27
      Alan Curry authored
      
      
      A set of 3 small bugfixes, all of which are related to bogus return values
      of fb colormap-setting functions.
      
      First, fb_alloc_cmap returns -1 if memory allocation fails. This is a hard
      condition to reproduce since you'd have to be really low on memory, but from
      studying the contexts in which it is called, I think this function should be
      returning a negative errno, and the -1 will be seen as an EPERM. Switching it
      to -ENOMEM makes sense.
      
      Second, the store_cmap function which is called for writes to
      /sys/class/graphics/fb0/color_map returns 0 for success, but it should be
      returning the count of bytes written since its return value ends up in
      userspace as the result of the write() syscall.
      
      Third, radeonfb returns 1 instead of a negative errno when FBIOPUTCMAP is
      called with an oversized colormap.  This is seen in userspace as a return
      value of 1 from the ioctl() syscall with errno left unchanged.  A more
      useful return value would be -EINVAL.
      Signed-off-by: default avatarAlan Curry <pacman@TheWorld.com>
      Cc: "Antonino A. Daplas" <adaplas@pol.net>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      db77ec27
  2. 10 Jan, 2006 3 commits
  3. 09 Nov, 2005 1 commit
    • Antonino A. Daplas's avatar
      [PATCH] fbcon: Console Rotation - Add ability to control rotation via sysfs · a812c94b
      Antonino A. Daplas authored
      
      
      Add ability to set rotation via sysfs.  The attributes are located in
      /sys/class/graphics/fb[n] and accepts 0 - unrotated; 1 - clockwise; 2 - upside
      down; 3 - counterclockwise.
      
      The attributes are:
      
      con_rotate (r/w) -   set rotation of the active console
      con_rotate_all (w) - set rotation of all consoles
      rotate (r/w) -       set rotation of the framebuffer, if supported.
      Currently, none of the drivers support this.
      
      This is probably temporary, since con_rotate and con_rotate_all are
      console-specific and has no business being under the fb device.  However,
      until the console layer acquires it's own sysfs class, these attributes will
      temporarily reside here.
      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>
      a812c94b
  4. 24 Oct, 2005 1 commit
  5. 31 Jul, 2005 1 commit
  6. 28 Jul, 2005 1 commit
  7. 27 Jul, 2005 1 commit
  8. 07 Jul, 2005 1 commit
  9. 25 Jun, 2005 1 commit
  10. 13 Jun, 2005 1 commit
  11. 05 May, 2005 1 commit
  12. 16 Apr, 2005 1 commit
    • Linus Torvalds's avatar
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds authored
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4