1. 16 12月, 2010 3 次提交
    • 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
    • M
      ARM: pxa: Access SMEMC via virtual addresses · ad68bb9f
      Marek Vasut 提交于
      This is important because on PXA3xx, the physical mapping of SMEMC registers
      differs from the one on PXA2xx. In order to get PCMCIA working on both PXA2xx
      and PXA320, the PCMCIA driver was adjusted accordingly as well.
      
      Also, various places in the kernel had to be patched to use
      __raw_read/__raw_write.
      Signed-off-by: NMarek Vasut <marek.vasut@gmail.com>
      Acked-by: NHaojian Zhuang <haojian.zhuang@gmail.com>
      Signed-off-by: NEric Miao <eric.y.miao@gmail.com>
      ad68bb9f
    • J
      xen: Provide a variant of __RING_SIZE() that is an integer constant expression · 667c78af
      Jeremy Fitzhardinge 提交于
      Without this, gcc 4.5 won't compile xen-netfront and xen-blkfront, where
      this is being used to specify array sizes.
      Signed-off-by: NJan Beulich <jbeulich@novell.com>
      Signed-off-by: NJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
      Cc: Jens Axboe <axboe@kernel.dk>
      Cc: David Miller <davem@davemloft.net>
      Cc: Stable Kernel <stable@kernel.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      667c78af
  2. 15 12月, 2010 2 次提交
  3. 14 12月, 2010 6 次提交
  4. 13 12月, 2010 6 次提交
  5. 12 12月, 2010 2 次提交
  6. 11 12月, 2010 14 次提交
  7. 10 12月, 2010 7 次提交