1. 23 9月, 2009 2 次提交
    • J
      matroxfb: make CONFIG_FB_MATROX_MULTIHEAD=y mandatory · 0728bacb
      Jean Delvare 提交于
      I would like to get rid of option CONFIG_FB_MATROX_MULTIHEAD and just
      always enable it.  There are many reasons for doing this:
      
      * CONFIG_FB_MATROX_MULTIHEAD=y is what all x86 distributions do, so it
        definitely works or we would know by now.
      
      * Building the matroxfb driver with CONFIG_FB_MATROX_MULTIHEAD not set
        results in the following build warning:
      
      drivers/video/matrox/matroxfb_crtc2.c: In function 'matroxfb_dh_open':
      drivers/video/matrox/matroxfb_crtc2.c:265: warning: the address of 'matroxfb_global_mxinfo' will always evaluate as 'true'
      drivers/video/matrox/matroxfb_crtc2.c: In function 'matroxfb_dh_release':
      drivers/video/matrox/matroxfb_crtc2.c:285: warning: the address of 'matroxfb_global_mxinfo' will always evaluate as 'true'
      
      This is nothing to be worried about, the driver will work fine, but build
      warnings are still annoying.
      
      * The trick to get multihead support without CONFIG_FB_MATROX_MULTIHEAD,
        which is described in the config help text, no longer works: you can't
        load the same kernel module more than once.
      
      * I fail to see how CONFIG_FB_MATROX_MULTIHEAD=y would make the code
        significantly slower, contrary to what the help text says.  A few extra
        parameters on the stack here and there can't really slow things down in
        comaprison to the rest of the code, and register access.
      
      * The driver built without CONFIG_FB_MATROX_MULTIHEAD is larger than the
        driver build with CONFIG_FB_MATROX_MULTIHEAD=y by 8%.
      
      * One less configuration option makes things simpler.  We add options
        all the time, being able to remove one for once is nice.  It improves
        testing coverage.  And I don't think the Matrox adapters are still
        popular enough to warrant overdetailed configuration settings.
      
      * We should be able to unobfuscate the driver code quite a bit after
        this change (patches follow.)
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Acked-by: NPetr Vandrovec <vandrove@vc.cvut.cz>
      Cc: Krzysztof Helt <krzysztof.h1@poczta.fm>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      0728bacb
    • R
      ep93xx video driver · 88017bda
      Ryan Mallon 提交于
      EP93xx video driver plus documentation.
      Signed-off-by: NRyan Mallon <ryan@bluewatersys.com>
      Acked-by: NH Hartley Sweeten <hsweeten@visionengravers.com>
      Cc: Daniele Venzano <linux@brownhat.org>
      Cc: Russell King <rmk@arm.linux.org.uk>
      Cc: Krzysztof Helt <krzysztof.h1@poczta.fm>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      88017bda
  2. 17 6月, 2009 1 次提交
  3. 13 6月, 2009 1 次提交
  4. 07 4月, 2009 1 次提交
  5. 01 4月, 2009 1 次提交
    • K
      fbdev: remove cyblafb driver · ddb53d48
      Krzysztof Helt 提交于
      A tridentfb driver has all the functionality of the cyblafb driver without
      the bugs of the latter.
      
      Changes to the tridentfb driver:
      
      - FBINFO_READS_FAST added to the tridentfb.  The cyblafb used a blitter
        for scrolling which is faster than color expansion on Cyberblade
        chipsets.  The blitter is slower on a discrete Blade3D core.  Use the
        blitter for scrolling in the tridentfb only for integrated Blade3D
        cores.  Now, scrolling speed is about equal for the tridentfb and the
        cyblafb.
      
      - a copyright notice addition is done on request of Jani Monoses (the
        first author of the tridentfb).
      
      Tested on AGP Blade3D card and PCChips
      M787CLR motherboard: VIA C3 cpu +
      VT8601 north  bridge (aka Cyberblade/i1).
      Signed-off-by: NKrzysztof Helt <krzysztof.h1@wp.pl>
      Cc: "Jani Monoses" <jani@ubuntu.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      ddb53d48
  6. 29 12月, 2008 2 次提交
    • E
      [ARM] pxafb: add support for overlay1 and overlay2 as framebuffer devices · 198fc108
      Eric Miao 提交于
      PXA27x and later processors support overlay1 and overlay2 on-top of the
      base framebuffer (although under-neath the base is also possible). They
      support palette and no-palette RGB formats, as well as YUV formats (only
      available on overlay2). These overlays have dedicated DMA channels and
      behave in a similar way as a framebuffer.
      
      This heavily simplified and re-structured work is based on the original
      pxafb_overlay.c (which is pending for mainline merge for a long time).
      
      The major problems with this pxafb_overlay.c are (if you are interested
      in the history):
      
        1. heavily redundant (the control logics for overlay1 and overlay2 are
           actually identical except for some small operations,  which are now
           abstracted into a 'pxafb_layer_ops' structure)
      
        2. a lot of useless and un-tested code (two workarounds which are now
           fixed on mature silicons)
      
        3. cursorfb is actually useless, hardware cursor should not be used
           this way, and the code was actually un-tested for a long time.
      
      The code in this patch should be self-explanatory, I tried to add minimum
      comments. As said, this is basically simplified, there are several things
      still on the pending list:
      
        1. palette mode is un-supported and un-tested (although re-using the
           palette code of the base framebuffer is actually very easy now with
           previous clean-up patches)
      
        2. fb_pan_display for overlay(s) is un-supported
      
        3. the base framebuffer can actually be abstracted by 'pxafb_layer' as
           well, which will help further re-use of the code and keep a better
           and consistent structure. (This is the reason I named it 'pxafb_layer'
           instead of 'pxafb_overlay' or something alike)
      
      See Documentation/fb/pxafb.txt for additional usage information.
      Signed-off-by: NEric Miao <eric.miao@marvell.com>
      Cc: Rodolfo Giometti <giometti@linux.it>
      Signed-off-by: NEric Miao <ycmiao@ycmiao-hp520.(none)>
      198fc108
    • E
      [ARM] pxafb: allow video memory size to be configurable · 77e19675
      Eric Miao 提交于
      The amount of video memory size is decided according to the following
      order:
      
      1. <xres> x <yres> x <bits_per_pixel> by default, which is the backward
         compatible way
      
      2. size specified in platform data
      
      3. size specified in module parameter 'options' string or specified in
         kernel boot command line (see updated Documentation/fb/pxafb.txt)
      
      And now since the memory is allocated from system memory, the pxafb_mmap
      can be removed and the default fb_mmap() should be working all right.
      
      Also, since we now have introduced the 'struct pxafb_dma_buff' for DMA
      descriptors and palettes, the allocation can be separated cleanly.
      
      NOTE: the LCD DMA actually supports chained transfer (i.e. page-based
      transfers), to simplify the logic and keep the performance (with less
      TLB misses when accessing from memory mapped user space), the memory
      is allocated by alloc_pages_*() to ensures it's physical contiguous.
      Signed-off-by: NEric Miao <eric.miao@marvell.com>
      Signed-off-by: NEric Miao <ycmiao@ycmiao-hp520.(none)>
      77e19675
  7. 17 10月, 2008 3 次提交
  8. 25 7月, 2008 2 次提交
  9. 28 4月, 2008 7 次提交
  10. 20 3月, 2008 1 次提交
  11. 07 2月, 2008 1 次提交
  12. 20 10月, 2007 1 次提交
  13. 17 10月, 2007 2 次提交
  14. 12 8月, 2007 1 次提交
  15. 10 5月, 2007 2 次提交
  16. 09 5月, 2007 5 次提交
  17. 13 2月, 2007 1 次提交
  18. 04 10月, 2006 6 次提交