1. 15 Mar, 2013 1 commit
    • Siarhei Siamashka's avatar
      test: Added a simple synthetic benchmark for G2D · 696b3d7e
      Siarhei Siamashka authored
      
      
      It measures MPix/s numbers for blit and fill operations done
      by G2D, and also for comparison tests the performance of the
      same operations done by pixman (software rendering).
      
      G2D has clock frequency configured to be half of the RAM clock
      frequency. So for 480 MHz RAM, we have G2D clocked at 240 MHz,
      which means that no more than 240 MPix can be processed per
      second. Unfortunately this limits the performance of a simple
      operation such as solid fill.
      Signed-off-by: default avatarSiarhei Siamashka <siarhei.siamashka@gmail.com>
      696b3d7e
  2. 14 Mar, 2013 2 commits
  3. 13 Mar, 2013 3 commits
  4. 12 Mar, 2013 1 commit
  5. 11 Mar, 2013 1 commit
  6. 07 Mar, 2013 1 commit
  7. 23 Feb, 2013 1 commit
  8. 18 Feb, 2013 2 commits
    • Siarhei Siamashka's avatar
      Add support for hardware ARGB cursors up to 32x32 size · 06ae9b68
      Siarhei Siamashka authored
      
      
      Actually they are converted to 32x32 with 256 color palette. In the
      case if we have more than 256 unique colors, the color components
      of the pixels are reduced from 8-bit to 7-bit, then to 6-bit if
      necessary and so on (until we reduce the number of unique colors
      so that they can fit the palette). In the worst case we may
      theoretically end up with just 2 bits per A, R, G and B channels,
      but in practice 7 or 6 bits seem to be enough.
      Signed-off-by: default avatarSiarhei Siamashka <siarhei.siamashka@gmail.com>
      06ae9b68
    • Siarhei Siamashka's avatar
      Disable hardware layers when software ARGB cursor is used · 0ab0a9e8
      Siarhei Siamashka authored
      
      
      The modern desktops may use ARGB cursors. As the current
      sunxi display controller support code can't handle this
      type of cursor yet, the X server fallbacks to a software
      cursor which is not visible under layers and ruining user
      experience.
      
      This patch adds empty implementations for "UseHWCursorARGB"
      and "LoadCursorARGB" functions which just return error for
      now (so that the X server still fallbacks to software cursor).
      However we also introduce callback functions responsible for
      notifying the DRI2 code about enabling/disabling the use of
      hardware cursor. So that now hardware overlays are disabled
      when switching to software cursor and re-enabled again when
      switching back to hardware cursor.
      Signed-off-by: default avatarSiarhei Siamashka <siarhei.siamashka@gmail.com>
      0ab0a9e8
  9. 12 Feb, 2013 1 commit
  10. 01 Feb, 2013 1 commit
  11. 24 Jan, 2013 5 commits
  12. 20 Jan, 2013 4 commits
    • Siarhei Siamashka's avatar
      Support for sunxi hardware cursor · 64d51c0f
      Siarhei Siamashka authored
      Hardware cursor is necessary because it is also visible on
      top of sunxi disp layers, while software cursor is not.
      
      FIXME: there is one minor problem with negative cursor
      positions. The hardware does not support them, so such
      positions are just set to 0 for now. In the future this
      can be solved better by changing the cursor picture and
      showing only the parts which are visible on screen.
      64d51c0f
    • Siarhei Siamashka's avatar
      Added supplementary wrapper functions for sunxi display controller ioctls · bf7c7a6c
      Siarhei Siamashka authored
      Note: the header file "sunxi_disp_ioctl.h" is GPL licensed. So until
      it is gets a MIT/X11 replacement, the DDX driver is GPL licensed as
      a whole. The individual source files still have their own license.
      Also in order to avoid any possible confusion, the MIT/X11 license
      header from COPYING has been added to "fbdev.c" and "fbdev_priv.h".
      bf7c7a6c
    • Siarhei Siamashka's avatar
      Move driver private data into a separate header file · b0813ddf
      Siarhei Siamashka authored
      It is going to be included by multiple different source files.
      b0813ddf
    • Siarhei Siamashka's avatar
      Rename "fbdev" -> "sunxifb" and update man page · 703aea28
      Siarhei Siamashka authored
      As there is no way for the hardware specific bits to be accepted
      in xf86-video-fbdev, we need a new driver with its own name.
      703aea28
  13. 25 Sep, 2012 1 commit
  14. 02 Jul, 2012 1 commit
  15. 05 Jun, 2012 3 commits
  16. 17 Dec, 2010 1 commit
  17. 10 Nov, 2010 4 commits
  18. 07 Oct, 2010 1 commit
  19. 22 Jul, 2010 1 commit
  20. 21 Jul, 2010 5 commits