1. 13 Jul, 2018 1 commit
  2. 11 Jul, 2018 1 commit
  3. 06 Jul, 2018 2 commits
  4. 07 May, 2018 1 commit
  5. 26 Mar, 2018 1 commit
    • Tvrtko Ursulin's avatar
      lib/dummyload: Add pollable spin batch · 9d9978af
      Tvrtko Ursulin authored
      Pollable spin batch exports a spin->running pointer which can be checked
      by dereferencing it to see if the spinner is actually executing on the
      GPU.
      
      This is useful for tests which want to make sure they do not proceed with
      their next step whilst the spinner is potentially only being processed by
      the driver and not actually executing.
      
      Pollable spinner can be created with igt_spin_batch_new_poll or
      __igt_spin_batch_new_poll, after which igt_spin_busywait_until_running can
      be used to busy wait until it is executing.
      
      v2:
       * Move READ_ONCE to igt_core.
       * Add igt_spin_busywait_until_running. (Chris Wilson)
      Signed-off-by: Tvrtko Ursulin's avatarTvrtko Ursulin <tvrtko.ursulin@intel.com>
      Reviewed-by: Chris Wilson's avatarChris Wilson <chris@chris-wilson.co.uk>
      9d9978af
  6. 23 Feb, 2018 1 commit
    • Daniele Ceraolo Spurio's avatar
      lib/igt_dummyload: add igt_cork · 7040f3be
      Daniele Ceraolo Spurio authored
      The "cork" bo (imported bo with attached fence) and fence is used in several
      tests to stall execution. Moving it to a common place makes the codebase
      cleaner.
      
      Note that the actual test updates is done in follow up patches as it is
      simpler to do in one go after one more common function is added in the
      next patch.
      
      v2: don't use new/free naming, don't use dynamic alloc (Chris)
      v3: add sw_sync common functions. (Chris)
      v4: squash sw_sync and vgem cork structs into one. (Chris)
      v5: use anonymous enum in cork struct. (Chris)
      v6: reset cork after unplugging. (Chris)
      Signed-off-by: Daniele Ceraolo Spurio's avatarDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
      Signed-off-by: Antonio Argenziano's avatarAntonio Argenziano <antonio.argenziano@intel.com>
      Cc: Chris Wilson <chris@chris-wilson.co.uk>
      Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
      Reviewed-by: Chris Wilson's avatarChris Wilson <chris@chris-wilson.co.uk>
      7040f3be
  7. 22 Dec, 2017 1 commit
  8. 07 Sep, 2017 1 commit
  9. 17 May, 2017 1 commit
  10. 27 Mar, 2017 1 commit
  11. 29 Nov, 2016 1 commit
    • Abdiel Janulgue's avatar
      lib: add igt_dummyload · 35fa2ca7
      Abdiel Janulgue authored
      A lot of igt testcases need some GPU workload to make sure a race
      window is big enough. Unfortunately having a fixed amount of
      workload leads to spurious test failures or overly long runtimes
      on some fast/slow platforms. This library contains functionality
      to submit GPU workloads that should consume exactly a specific
      amount of time.
      
      Since v14: Since we are using multiple signals, walk list of batches
      to terminate a batch to avoid using a single global batch. Cycle signals
      between SIGRTMIN and SIGRTMAX properly.
      
      Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
      Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
      Cc: Chris Wilson <chris@chris-wilson.co.uk>
      Cc: tomeu@tomeuvizoso.net
      Reviewed-by: 's avatarTomeu Vizoso <tomeu.vizoso@collabora.com>
      Signed-off-by: Abdiel Janulgue's avatarAbdiel Janulgue <abdiel.janulgue@linux.intel.com>
      35fa2ca7
  12. 03 Jul, 2016 1 commit
  13. 18 Jun, 2016 1 commit
  14. 31 May, 2016 1 commit
  15. 20 Aug, 2013 1 commit
  16. 17 Aug, 2013 1 commit