1. 25 Aug, 2016 2 commits
  2. 24 Aug, 2016 1 commit
  3. 19 Jul, 2016 2 commits
  4. 30 May, 2016 1 commit
    • Benjamin Gaignard's avatar
      make automake less restrictive · 49b069d3
      Benjamin Gaignard authored
      Since AUTHORS file is missing tell to automake to be less strict on that to avoid errors at configuration time.
      
      Change-Id: I47cb39a369d08788e5ca1f29da6b0a9616fa578b
      49b069d3
  5. 08 Mar, 2016 1 commit
  6. 26 Oct, 2015 1 commit
  7. 18 Aug, 2015 2 commits
  8. 27 Jul, 2015 1 commit
  9. 24 Jul, 2015 3 commits
    • Marico Xu's avatar
      Dynamically detect drmmode driver · 29ed4f28
      Marico Xu authored
      By querying the DRM driver name from the kernel, we can dynamically select the right backend.
      No need to enforce a specific backend at compile time.
      
      Change-Id: I6c27103233e2cbb4283a22089720b5ffd1a10bb6
      29ed4f28
    • Marico Xu's avatar
      Fix build failure with xserver version 1.17 · 25f588e2
      Marico Xu authored
      Due to the missing declarations of fstat and struct stat,
      Compiling against xservers in version 1.17 starts failing .
      Add the headers listed by man fstat to drmmode_display.c to fix this.
      
      Change-Id: I7c971b7ce7b8afb40f22d5807ec7191ed9fb4569
      25f588e2
    • Marico Xu's avatar
      Add check for xextproto in configure.ac · 20c4a887
      Marico Xu authored
      drmmode_display.c already tries to check if the xext proto is 7.1 or above to include the correct header,
      but until now the used constant was not checked/defined during configure at all.
      Add the configure part is based on what xf86-video-modesetting does.
      
      Change-Id: I1a37cb258f9f137731b083aeb2f3e572dc8977a2
      20c4a887
  10. 01 Jun, 2015 1 commit
    • David Garbett's avatar
      DRI2: Check bo dimensions before reusing · fe19c29e
      David Garbett authored
      With DRI2INFOREC_VERSION >= 6 we use ARMSOCDRI2ReuseBufferNotify to
      determine when to reuse a back buffer, instead of bumping the serial
      number in ARMSOCDRI2CreateBuffer.
      
      However ARMSOCDRI2ReuseBufferNotify was only checking that both the old
      buffer and the new buffer were both flippable or not-flippable. This is
      not correct - just because the old buffer was flipped it doesn't mean it
      can be now - the size may have changed. We therefore also need to verify
      the buffer size matches the drawable.
      
      Change-Id: Ie86537d3d21a8cfe58017ef4cf02f3292174cb50
      fe19c29e
  11. 11 May, 2015 1 commit
    • Marico Xu's avatar
      Fix the 64 bit build error · 8ca85138
      Marico Xu authored
      "%p" should be used to indicate the point value instead of "%x"
      
      Change-Id: Id7cd867193805381412835f9b6ac48564fa6b1a9
      8ca85138
  12. 31 Mar, 2015 1 commit
    • Marico Xu's avatar
      Fix the wakeup handler lost and modify the logic of reporting damage · 03cfb069
      Marico Xu authored
      1. Init and fini wakeup handler during screen init/fini instead of preinit
         The frequent screen init/close will happen when the user do the test with
       only "X", that will trigger the wakeup handler does not take effect, 
       then some VBLANK events will not be obtained.
      2. Update damage region only in the "exchange buffer" case
         there is no need to report damage in other flip/blit case in swapbuffer,
      and we only need to report it when the app wants to notify the composite manager. 
         Otherwise, some pontential issues will happen in some versions of X
      
      Change-Id: Ic0c73bc5f0bc6c24d5a31cf48e814af2d994c7f5
      03cfb069
  13. 02 Feb, 2015 1 commit
  14. 16 Jan, 2015 3 commits
    • Sunny's avatar
      make use of DRI2 buffer flags · 6ad6ca8e
      Sunny authored
      change the DRI2 buffer flags to have the following meaning:
      Bit 1: for it is a frame buffer or not
      Bit 2: Reserved
      Bit 3: for it is re-used or re-created
      
      Change-Id: Ideaf3866b2a3a08b714fc0ee39ec1e68aaa28fdb
      6ad6ca8e
    • Sunny's avatar
      fix a segfault when switching VT · ddd97ea4
      Sunny authored
      add a check before calling AttendClient/IgnoreClient
      
      Change-Id: Iea22d8c31d08a886790e0f7717e9b24375038b52
      ddd97ea4
    • Sunny's avatar
      add DRI2WaitMSC support · 08e6cc77
      Sunny authored
      set "vblank_query_supported" dynamically.
      add vblank handler function to handle vblank interrupt, and then
      calls DRI2WaitMSCComplete to wake up client process
      
      Change-Id: Iecb262287cdae33e29a518d1fcd3ce7089aa60d1
      08e6cc77
  15. 06 Jan, 2015 1 commit
    • Rob Clark's avatar
      fix build error in tinderbox · 459fcb44
      Rob Clark authored
      make[2]: Entering directory '/old/home/robclark/xorg/driver/xf86-video-armsoc/src'
        CC       armsoc_dumb.lo
      In file included from /home/robclark/xorg-build/include/xorg/misc.h:115:0,
                       from /home/robclark/xorg-build/include/xorg/xf86str.h:37,
                       from /home/robclark/xorg-build/include/xorg/xf86.h:44,
                       from armsoc_dumb.c:30:
      /home/robclark/xorg-build/include/xorg/os.h:541:2: error: expected identifier or '(' before '__extension__'
       strndup(const char *str, size_t n);
        ^
      Makefile:496: recipe for target 'armsoc_dumb.lo' failed
      Signed-off-by: Rob Clark's avatarRob Clark <robdclark@gmail.com>
      459fcb44
  16. 10 Dec, 2014 1 commit
  17. 09 Dec, 2014 1 commit
    • Sunny's avatar
      fix several issues: · 91da34e6
      Sunny authored
      1. fix performance issue with latest XServer
         The recent DRI2 has removed the serial number detection for re-creating
         DRI2 buffer, so if a window changes from unflippable to flippable or vice
         versa, the DRI2 will not call CreateBuffer to re-create the back buffer
         if we just increase the serial number, then the fb id is not created
         and swap buffers will always go copy path.
         if re-create fails, the next swap buffers will generate an error
      
      2. fix an EDID issue if the length is greater than 128
      
      3. fix restor the last good mode issue if a problem occurs
      
      Change-Id: I917c3857a88d45cae8357d1b1bcda34dd93597ab
      91da34e6
  18. 07 Nov, 2014 1 commit
    • Robin Wang's avatar
      Integrate umplock to armsoc ddx driver for MALI400 · c9dcb42f
      Robin Wang authored
      MALI400 EGL driver use umplock for CPU/GPU accessing synchronization.
      Port umplock related changes from xf86-video-mali to xf86-video-armsoc DDX driver.
      
      Change-Id: I0765e4a747153ff72cb7ebb44afe0136aacd5834
      c9dcb42f
  19. 05 Nov, 2014 1 commit
  20. 15 Sep, 2014 1 commit
    • Sunny's avatar
      Replace two asserts with warning message · 0594f7b6
      Sunny authored
      With some high frame rate benchmarks which disable swap interval, SwapBuffers
      may be called before swap complete event arrives.
      
      Change-Id: I4dbb027fa5027858e3134712d5d02f28688ac366
      0594f7b6
  21. 21 Jul, 2014 1 commit
    • Sunny's avatar
      Fix performance issue when enlightenment started. · 9702414f
      Sunny authored
      Change some logic in ARMSOCDRI2ScheduleSwap(). If src and dst has
      same size and they are both no-framebuffer with compositor enabled,
      we only need to exchange buffers between src and dst pixmap.
      
      Change-Id: Iba0b3e248589bc8d05f5b52cfb12865790d812a3
      9702414f
  22. 17 Jul, 2014 1 commit
    • Sunny's avatar
      XServer crash with multiple applications running at the same time · d5df209d
      Sunny authored
      armsoc ddx only allows two calls to ARMSOCDRI2ScheduleSwap
      before SwapComplete arrives, if you are running three applications at one time,
      each process should wait other two processes which is impossible.
      
      Change-Id: Ia630e23ac64878328c675be6773f97ec9d839911
      d5df209d
  23. 16 Jul, 2014 1 commit
    • Dave Barnish's avatar
      Removed bad assert · 0abde2d6
      Dave Barnish authored
      In ModifyPixmapHeader we were asserting that a scratch pixmap's bo
      does not have a dmabuf. We neglected to check whether the scratch
      pixmap has a bo. If it doesn't this assert caused a segfault.
      
      Change-Id: I9f2eee88f69e9d7c20a3506e618b3eadce716c2a
      0abde2d6
  24. 08 Jul, 2014 1 commit
  25. 26 Jun, 2014 1 commit
  26. 24 Jun, 2014 1 commit
  27. 16 Jun, 2014 1 commit
    • Dave Barnish's avatar
      Minor tidy ups. · 05d9a4df
      Dave Barnish authored
      ModifyPixmap asserts that priv->bo exists.
      Fixed whitespace in DestroyPixmap.
      Use unsigned int for swap_id et al. to avoid overflow issues.
      Additional checks on swap_chain usage.
      Removed incorrect comment.
      
      Change-Id: I284862e647d4542f56afb710497fe2403d9801a2
      05d9a4df
  28. 11 Jun, 2014 1 commit
    • Dave Barnish's avatar
      Fixed a memory corruption issue. · 4469268c
      Dave Barnish authored
      Commit 36c7ca02 "Fix malloc/calloc/free usage" introduced
      a wrongly sized allocation which could cause memory
      corruption.
      
      Change-Id: I5693e7cd952fbb811a09caf251dbeb8bd23b490a
      4469268c
  29. 16 May, 2014 1 commit
    • Eskil Sund's avatar
      Enabling n-buffering support when using page flip events. · 1d13da04
      Eskil Sund authored
      DRI2INFOREC_VERSION 6 introduces DRI2SwapLimit which enables us to schedule
      swaps and retrieve next buffer n-times as given by the swap-limit. This
      further enables us to do asynchronous swaps which enables asynchronous
      rendering to n-buffers.
      
      The swap limit is given by the xorg.conf option DRI2MaxBuffers. If
      DRI2MaxBuffers is not specified no swap limit will be set and behavior will
      default to synchronous swaps.
      
      Notably, this commit bumps up the required DRI2INFOREC_VERSION to 5 as required
      by drmAuth. DRI2INFOREC_VERSION 6, with DRI2SwapLimit, is optional.
      
      Change-Id: Ia39dcd91628172f884eac914938d8ddd4b41aa71
      1d13da04
  30. 06 May, 2014 1 commit
  31. 04 May, 2014 1 commit
    • Rob Clark's avatar
      build fixes · f16b5c84
      Rob Clark authored
      Fixes
      
        armsoc_driver.c: In function 'ARMSOCScreenInit':
        armsoc_driver.c:1067:8: error: assignment discards 'const' qualifier from pointer target type [-Werror]
      
      and
      
        drmmode_display.c: In function 'drmmode_set_mode_major':
        drmmode_display.c:357:4: error: passing argument 1 of 'free' discards 'const' qualifier from pointer target type [-Werror]
      Signed-off-by: Rob Clark's avatarRob Clark <robdclark@gmail.com>
      f16b5c84
  32. 15 Apr, 2014 1 commit
    • Ray Smith's avatar
      Clarify assumptions on window front buffer pixmaps · 3ec703cd
      Ray Smith authored
      We assume that a window's front buffer pixmap won't be reallocated
      from beneath us. This commit updates a comment to reflect this
      assumption.
      
      Change-Id: Ic1ddc508dee8b1696643dd418ddb466fbce9d8fb
      3ec703cd
  33. 07 Apr, 2014 1 commit