1. 06 1月, 2011 4 次提交
    • B
      video: Fix the HGA framebuffer driver · 529ed806
      Brent Cook 提交于
      Resurrected some old hardware and fixed up the hgafb driver to work
      again. Only tested with fbcon, since most fbdev-based software appears
      to only support 12bpp and up. It does not appear that this driver has
      worked for at least the entire 2.6.x series, perhaps since 2002.
      
      Hercules graphics hardware uses packed pixels horizontally, but rows are
      not linear. In other words, the pixels are not packed vertically. This
      means that custom imageblit, fillrect and copyarea need to be written
      specific to the hardware.
      
       * Removed the experimental acceleration option, since it is required
         for the hardware to work.
       * Fixed imageblit to work with fb_image's wider than 8 pixels.
       * Updated configuration text (HGA hardware is from 1984)
      Signed-off-by: NBrent Cook <busterb@gmail.com>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      529ed806
    • J
      drivers/video/carminefb.c: improve error handling · e045da7d
      Julia Lawall 提交于
      This code had an error handling goto to the wrong place, a misplaced
      release_mem_region, and a duplicated release_mem_region.
      
      The semantic match that finds the double release_mem_region is as follows:
      (http://coccinelle.lip6.fr/)
      
      // <smpl>
      @r@
      expression e1,e2,e3;
      position p1,p2,p3;
      @@
      release_mem_region@p1(e1, e2)@p3;
      ... when != request_mem_region(e1,e2,e3)
      release_mem_region(e1, e2)@p2;
      
      @@
      expression e <= r.e1,e3;
      expression r.e1,e2;
      position r.p1,r.p2,r.p3,p!=r.p1;
      @@
      *release_mem_region(e1, e2)@p3;
      ... when != e = e3
      *release_mem_region@p(e1, e2)@p2;// </smpl>
      Signed-off-by: NJulia Lawall <julia@diku.dk>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      e045da7d
    • F
      video: imxfb: Fix the maximum value for yres · 7ee04fd5
      Fabio Estevam 提交于
      MX27 and MX25 have 10 bits in the YMAX field of LCDC Size Register.
      
      Fix the maximum value for yres.
      Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      7ee04fd5
    • M
      fbdev: sh_mobile_lcdcfb: Enable 32 bpp and 24 bpp support · 417d4827
      Magnus Damm 提交于
      This patch extends the LCDC driver with 24 bpp
      and 32 bpp support.
      
      These modes have been kept disabled earlier due
      to dependencies between the potential two LCDC
      channels that are exported as two separate
      framebuffer devices. The dependency boils down
      to a byte swap register that is shared between
      multiple channels.
      
      With this patch applied all single channel LCDC
      hardware can chose freely from 16, 24 and 32 bpp.
      Dual channel LCDC must stick to the same setup
      for both channels.
      
      Without this patch only 16 bpp is fully supported.
      Signed-off-by: NMagnus Damm <damm@opensource.se>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      417d4827
  2. 05 1月, 2011 6 次提交
  3. 22 12月, 2010 15 次提交
  4. 21 12月, 2010 15 次提交