1. 24 Nov, 2010 9 commits
  2. 18 Nov, 2010 1 commit
  3. 17 Nov, 2010 4 commits
    • Daniel Drake's avatar
      lxfb: Program panel v/h sync output polarity correctly · ad913da6
      Daniel Drake authored
      Commit b5c26f97 introduced some breakage for the OLPC XO-1 laptop,
      differences in the output video signal after the patch caused some problems
      with the XO's display controller chip.
      
      Reviewing of that commit against the AMD Geode LX Data Book, it seems
      that these bits were being set inversely. In both cases, active high
      output is denoted by a value of 0. See section 6.8.3.44 of the databook
      from February 2009 (Publication ID: 33234H)
      Signed-off-by: default avatarDaniel Drake <dsd@laptop.org>
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      ad913da6
    • Dan Carpenter's avatar
      fbcmap: integer overflow bug · 1e7c7804
      Dan Carpenter authored
      There is an integer overflow in fb_set_user_cmap() because cmap->len * 2
      can wrap.  It's basically harmless.  Your terminal will be messed up
      until you type reset.
      
      This patch does three things to fix the bug.
      
      First, it checks the return value of fb_copy_cmap() in fb_alloc_cmap().
      That is enough to fix address the overflow.
      
      Second it checks for the integer overflow in fb_set_user_cmap().
      
      Lastly I wanted to cap "cmap->len" in fb_set_user_cmap() much lower
      because it gets used to determine the size of allocation.  Unfortunately
      no one knows what the limit should be.  Instead what this patch does
      is makes the allocation happen with GFP_KERNEL instead of GFP_ATOMIC
      and lets the kmalloc() decide what values of cmap->len are reasonable.
      To do this, the patch introduces a function called fb_alloc_cmap_gfp()
      which is like fb_alloc_cmap() except that it takes a GFP flag.
      Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      1e7c7804
    • Dan Carpenter's avatar
      fbcmap: cleanup white space in fb_alloc_cmap() · c353103d
      Dan Carpenter authored
      checkpatch.pl and Andrew Morton both complained about the indenting in
      fb_alloc_cmap()
      Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      c353103d
    • Paul Mundt's avatar
      MAINTAINERS: Add fbdev patchwork entry, tidy up file patterns. · b22fe37b
      Paul Mundt authored
      Now that the patchwork queue is up, add it in. While we're at it, fix up
      the file patterns, too.
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      b22fe37b
  4. 16 Nov, 2010 2 commits
  5. 15 Nov, 2010 24 commits