1. 16 12月, 2010 1 次提交
    • D
      video: add driver for PXA3xx 2D graphics accelerator · 364dbdf3
      Daniel Mack 提交于
      This adds a driver for the the 2D graphics accelerator found on PXA3xx
      processors. Only resource mapping, interrupt handling and a simple ioctl
      handler is done by the kernel part, the rest of the logic is implemented
      in DirectFB userspace.
      
      Graphic applications greatly benefit for line drawing, blend, and
      rectangle and triangle filling operations.
      
      Benchmarks done on a PXA303 using the df_dok benchmarking tool follow,
      where the value in square brackets show the CPU usage during that test.
      
      Without accelerator (benchmarking 256x252 on 480x262 RGB16 (16bit)):
      
        Anti-aliased Text                              3.016 secs (   65.649 KChars/sec) [ 99.6%]
        Fill Rectangle                                 3.021 secs (  175.107 MPixel/sec) [ 98.0%]
        Fill Rectangle (blend)                         3.582 secs (    3.602 MPixel/sec) [ 99.7%]
        Fill Rectangles [10]                           3.177 secs (  182.753 MPixel/sec) [ 98.1%]
        Fill Rectangles [10] (blend)                  18.020 secs (    3.580 MPixel/sec) [ 98.7%]
        Fill Spans                                     3.019 secs (  145.306 MPixel/sec) [ 98.0%]
        Fill Spans (blend)                             3.616 secs (    3.568 MPixel/sec) [ 99.4%]
        Blit                                           3.074 secs (   39.874 MPixel/sec) [ 98.0%]
        Blit 180                                       3.020 secs (   32.042 MPixel/sec) [ 98.0%]
        Blit with format conversion                    3.005 secs (   19.321 MPixel/sec) [ 99.6%]
        Blit from 32bit (blend)                        4.792 secs (    2.692 MPixel/sec) [ 98.7%]
      
      With accelerator:
      
        Anti-aliased Text                              3.056 secs (*  36.518 KChars/sec) [ 21.3%]
        Fill Rectangle                                 3.015 secs (* 115.543 MPixel/sec) [  8.9%]
        Fill Rectangle (blend)                         3.180 secs (*  20.286 MPixel/sec) [  1.8%]
        Fill Rectangles [10]                           3.251 secs (* 119.062 MPixel/sec) [  1.2%]
        Fill Rectangles [10] (blend)                   6.293 secs (*  20.502 MPixel/sec) [  0.3%]
        Fill Spans                                     3.051 secs (*  97.264 MPixel/sec) [ 35.7%]
        Fill Spans (blend)                             3.377 secs (*  15.282 MPixel/sec) [ 17.8%]
        Blit                                           3.046 secs (*  27.533 MPixel/sec) [  2.6%]
        Blit 180                                       3.098 secs (*  27.070 MPixel/sec) [  2.2%]
        Blit with format conversion                    3.131 secs (*  39.148 MPixel/sec) [  2.8%]
        Blit from 32bit (blend)                        3.346 secs (*  11.568 MPixel/sec) [  0.8%]
      Signed-off-by: NDaniel Mack <daniel@caiaq.de>
      Tested-by: NSven Neumann <s.neumann@raumfeld.com>
      Cc: Eric Miao <eric.y.miao@gmail.com>
      Cc: Denis Oliver Kropp <dok@directfb.org>
      Cc: Sven Neumann <s.neumann@raumfeld.com>
      Cc: Haojian Zhuang <haojian.zhuang@gmail.com>
      Signed-off-by: NEric Miao <eric.y.miao@gmail.com>
      364dbdf3
  2. 26 10月, 2010 1 次提交
  3. 18 10月, 2010 1 次提交
  4. 15 10月, 2010 1 次提交
  5. 10 9月, 2010 1 次提交
  6. 11 8月, 2010 1 次提交
  7. 06 8月, 2010 1 次提交
  8. 05 8月, 2010 1 次提交
  9. 04 8月, 2010 1 次提交
  10. 02 8月, 2010 1 次提交
  11. 05 6月, 2010 1 次提交
  12. 24 5月, 2010 1 次提交
  13. 08 5月, 2010 2 次提交
    • F
      viafb: make procfs entries optional · 2b78a963
      Florian Tobias Schandinat 提交于
      viafb: make procfs entries optional
      
      This patch adds a config option to enable procfs entries for direct
      hardware access. This was the old behaviour but the option defaults
      to no as this is really ugly and should not be needed if the driver
      works correct (and if it doesn't, it needs to be fixed).
      That stuff is really something that should
      - not be needed at all (the driver should be capable of doing it)
      - not be there (debugfs would be better for such things)
      So add this option just for backwards compatiblity.
      Signed-off-by: NFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
      2b78a963
    • J
      viafb: add a driver for GPIO lines · 7e0de022
      Jonathan Corbet 提交于
      This is a simple gpiolib driver giving access to the GPIO lines in the
      VIA framebuffer system.  A simple mechanism exists for switching lines
      between GPIO and I2C, but it's only compile-time for now.
      
      Cc: ScottFang@viatech.com.cn
      Cc: JosephChan@via.com.tw
      Cc: Harald Welte <laforge@gnumonks.org>
      Acked-by: NFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
      Signed-off-by: NJonathan Corbet <corbet@lwn.net>
      7e0de022
  14. 23 4月, 2010 1 次提交
  15. 17 3月, 2010 1 次提交
  16. 15 3月, 2010 1 次提交
  17. 14 3月, 2010 1 次提交
  18. 13 3月, 2010 2 次提交
  19. 18 2月, 2010 1 次提交
  20. 16 12月, 2009 1 次提交
  21. 11 12月, 2009 1 次提交
  22. 09 12月, 2009 1 次提交
    • T
      OMAP: Add VRAM manager · afedec18
      Tomi Valkeinen 提交于
      Add a Video RAM manager for OMAP 2 and 3 platforms. VRAM manager is used
      to allocate large continuous blocks of SDRAM or SRAM. The features VRAM
      manager has that are missing from dma_alloc_* functions are:
      
      - Support for OMAP2's SRAM
      - Allocate without ioremapping
      - Allocate at defined physical addresses
      - Allows larger VRAM area and larger allocations
      
      The upcoming DSS2 uses VRAM manager.
      
      VRAM area size can be defined in kernel config, board file or with
      kernel boot parameters. Board file definition overrides kernel config,
      and boot parameter overrides kernel config and board file.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@nokia.com>
      afedec18
  23. 16 11月, 2009 1 次提交
  24. 12 11月, 2009 1 次提交
  25. 09 10月, 2009 1 次提交
  26. 23 9月, 2009 4 次提交
  27. 10 9月, 2009 1 次提交
    • B
      PCI/GPU: implement VGA arbitration on Linux · deb2d2ec
      Benjamin Herrenschmidt 提交于
      Background:
      Graphic devices are accessed through ranges in I/O or memory space. While most
      modern devices allow relocation of such ranges, some "Legacy" VGA devices
      implemented on PCI will typically have the same "hard-decoded" addresses as
      they did on ISA. For more details see "PCI Bus Binding to IEEE Std 1275-1994
      Standard for Boot (Initialization Configuration) Firmware Revision 2.1"
      Section 7, Legacy Devices.
      
      The Resource Access Control (RAC) module inside the X server currently does
      the task of arbitration when more than one legacy device co-exists on the same
      machine. But the problem happens when these devices are trying to be accessed
      by different userspace clients (e.g. two server in parallel). Their address
      assignments conflict. Therefore an arbitration scheme _outside_ of the X
      server is needed to control the sharing of these resources. This document
      introduces the operation of the VGA arbiter implemented for Linux kernel.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NTiago Vignatti <tiago.vignatti@nokia.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      Signed-off-by: NJesse Barnes <jbarnes@virtuousgeek.org>
      deb2d2ec
  28. 23 7月, 2009 1 次提交
  29. 15 7月, 2009 1 次提交
  30. 07 7月, 2009 1 次提交
    • P
      video: sh_mobile_lcdcfb: depends on HAVE_CLK. · 727dc3fd
      Paul Mundt 提交于
      This deifdefs the driver and adds an explicit HAVE_CLK dependency. Given
      that all SH platforms provide it, there is no reason to keep this as an
      ifdef. Other architectures that implement support for this driver will
      already have to provide clock framework support for timers and so on
      already, so adding this as an additional dependency is not terribly
      probematic.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      727dc3fd
  31. 03 7月, 2009 1 次提交
  32. 27 6月, 2009 1 次提交
  33. 20 6月, 2009 1 次提交
  34. 17 6月, 2009 1 次提交
    • J
      mb862xxfb: restrict compliation of platform driver to PPC · 336e747e
      Julian Calaby 提交于
      The OpenFirmware part of this driver is uncompilable on SPARC due to it's
      dependance on several PPC specific functions.
      
      Restricting this to PPC to prevent these build errors:
        CC      drivers/video/mb862xx/mb862xxfb.o
      drivers/video/mb862xx/mb862xxfb.c: In function 'of_platform_mb862xx_probe':
      drivers/video/mb862xx/mb862xxfb.c:559: error: implicit declaration of function 'of_address_to_resource'
      drivers/video/mb862xx/mb862xxfb.c:575: error: 'NO_IRQ' undeclared (first use in this function)
      drivers/video/mb862xx/mb862xxfb.c:575: error: (Each undeclared identifier is reported only once
      drivers/video/mb862xx/mb862xxfb.c:575: error: for each function it appears in.)
      
      This was found using randconfig builds.
      Signed-off-by: NJulian Calaby <julian.calaby@gmail.com>
      Signed-off-by: NAnatolij Gustschin <agust@denx.de>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Anatolij Gustschin <agust@denx.de>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Michal Simek <monstr@monstr.eu>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      336e747e
  35. 13 6月, 2009 1 次提交