1. 13 Jul, 2018 1 commit
  2. 29 Mar, 2018 1 commit
  3. 20 Mar, 2018 1 commit
  4. 23 Feb, 2018 1 commit
    • Chris Wilson's avatar
      Iterate over physical engines · 305ebced
      Chris Wilson authored
      We current have a single for_each_engine() iterator which we use to
      generate both a set of uABI engines and a set of physical engines.
      Determining what uABI ring-id corresponds to an actual HW engine is
      tricky, so pull that out to a library function and introduce
      for_each_physical_engine() for cases where we want to issue requests
      once on each HW ring (avoiding aliasing issues).
      
      v2: Remember can_store_dword for gem_sync
      v3: Find more open-coded for_each_physical
      Signed-off-by: Chris Wilson's avatarChris Wilson <chris@chris-wilson.co.uk>
      Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
      Reviewed-by: Tvrtko Ursulin's avatarTvrtko Ursulin <tvrtko.ursulin@intel.com>
      305ebced
  5. 08 Dec, 2017 1 commit
  6. 22 Nov, 2017 1 commit
    • Tvrtko Ursulin's avatar
      tests/perf_pmu: Tests for i915 PMU API · 20d89b41
      Tvrtko Ursulin authored
      A bunch of tests for the new i915 PMU feature.
      
      Parts of the code were initialy sketched by Dmitry Rogozhkin.
      
      v2: (Most suggestions by Chris Wilson)
       * Add new class/instance based engine list.
       * Add gem_has_engine/gem_require_engine to work with class/instance.
       * Use the above two throughout the test.
       * Shorten tests to 100ms busy batches, seems enough.
       * Add queued counter sanity checks.
       * Use igt_nsec_elapsed.
       * Skip on perf -ENODEV in some tests instead of embedding knowledge locally.
       * Fix multi ordering for busy accounting.
       * Use new guranteed_usleep when sleep time is asserted on.
       * Check for no queued when idle/busy.
       * Add queued counter init test.
       * Add queued tests.
       * Consolidate and increase multiple busy engines tests to most-busy and
         all-busy tests.
       * Guarantte interrupts by using fences.
       * Test RC6 via forcewake.
      
      v3:
       * Tweak assert in interrupts subtest.
       * Sprinkle of comments.
       * Fix multi-client test which got broken in v2.
      
      v4:
       * Measured instead of guaranteed sleep.
       * Missing sync in no_sema.
       * Log busyness before asserts for debug.
       * access(2) instead of open(2) to determine if cpu0 is hotpluggable.
       * Test frequency reporting via min/max setting instead assuming.
         ^^ All above suggested by Chris Wilson. ^^
       * Drop queued subtests to match i915.
       * Use long batches with fences to ensure interrupts.
       * Test render node as well.
      
      v5:
       * Add to meson build. (Petri Latvala)
       * Use 1eN constants. (Chris Wilson)
       * Add tests for semaphore and event waiting.
      
      v6:
       * Fix interrupts subtest by polling the fence from the "outside".
         (Chris Wilson)
      
      v7:
       * Assert number of initialized engines matches the expectation.
         (Chris Wilson)
       * Warn instead of skipping if we couldn't restore the initial
         frequency. (Chris Wilson)
       * Move all asserts to after the test cleanup (just a tidy).
       * More 1eN notation for timeouts.
       * Bump the tolerance to 5% since I saw a few noisy runs with
         sampling counters.
       * Always start the PMU before submitting batches to lower
         reliance on i915 doing the delayed engine busy stats disable.
      
      v8:
       * Update for upstream engine class enum.
      
      v9:
       * Add meson build support.
      Signed-off-by: Tvrtko Ursulin's avatarTvrtko Ursulin <tvrtko.ursulin@intel.com>
      Cc: Chris Wilson <chris@chris-wilson.co.uk>
      Cc: Dmitry Rogozhkin <dmitry.v.rogozhkin@intel.com>
      Reviewed-by: Chris Wilson's avatarChris Wilson <chris@chris-wilson.co.uk>
      20d89b41
  7. 19 Oct, 2017 1 commit
  8. 17 Oct, 2017 1 commit
  9. 06 Jul, 2017 2 commits
  10. 18 May, 2017 1 commit
  11. 21 Mar, 2017 3 commits
  12. 05 Jan, 2017 1 commit
  13. 13 Sep, 2016 1 commit
  14. 09 Apr, 2016 1 commit
  15. 08 Mar, 2016 1 commit
  16. 01 Mar, 2016 1 commit
  17. 04 Feb, 2016 1 commit
  18. 27 Jan, 2016 1 commit
  19. 22 Jan, 2016 1 commit
  20. 20 Jan, 2016 1 commit
  21. 19 Jan, 2016 1 commit
  22. 04 Dec, 2015 1 commit
  23. 25 Feb, 2015 1 commit
  24. 13 Feb, 2015 2 commits
  25. 07 Jan, 2015 1 commit
    • Chris Wilson's avatar
      igt/gem_concurrent_blit: Inject hangs before verifying contents · 16bafdf5
      Chris Wilson authored
      After setting up the copy operations, add a hanging batch. This should
      mean that we complete the copy and the compare then races against the
      GEM reset. Hopefully, this will catch driver bugs where the target
      object is no longer accessible after the hang.
      
      Note: hang injection is disabled until the required kernel interface is
      completed. But there are useful additional tests here...
      Signed-off-by: Chris Wilson's avatarChris Wilson <chris@chris-wilson.co.uk>
      16bafdf5
  26. 25 Nov, 2014 1 commit
  27. 20 Aug, 2013 1 commit
  28. 17 Aug, 2013 1 commit