1. 26 Feb, 2019 1 commit
  2. 21 Jan, 2019 1 commit
  3. 16 Jan, 2019 2 commits
  4. 17 Oct, 2018 1 commit
  5. 16 Oct, 2018 1 commit
  6. 26 Sep, 2018 1 commit
  7. 25 Sep, 2018 2 commits
  8. 13 Jul, 2018 1 commit
    • Chris Wilson's avatar
      igt/gem_userptr: Check read-only mappings · caea9c5b
      Chris Wilson authored
      Setup a userptr object that only has a read-only mapping back to a file
      store (memfd). Then attempt to write into that mapping using the GPU and
      assert that those writes do not land (while also writing via a writable
      userptr mapping into the same memfd to verify that the GPU is working!)
      
      v2: Pull the random batch construction into a routine to avoid
      duplication.
      Signed-off-by: Chris Wilson's avatarChris Wilson <chris@chris-wilson.co.uk>
      Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
      Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
      Reviewed-by: Tvrtko Ursulin's avatarTvrtko Ursulin <tvrtko.ursulin@intel.com>
      caea9c5b
  9. 07 May, 2018 1 commit
  10. 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
  11. 20 Feb, 2018 1 commit
  12. 13 Feb, 2018 1 commit
  13. 01 Feb, 2018 1 commit
  14. 04 Jan, 2018 1 commit
  15. 21 Nov, 2017 2 commits
  16. 17 Oct, 2017 1 commit
  17. 03 Oct, 2017 2 commits
  18. 08 Sep, 2017 2 commits
  19. 06 Sep, 2017 1 commit
    • Chris Wilson's avatar
      lib: Avoid actually throttling from igt_require_gem() · 406bb36a
      Chris Wilson authored
      igt_require_gem() checks whether we can use the i915 fd for submitting
      requests by detecting a wedged driver. It was intended to be used just
      after opening DRIVER_INTEL for a gem test to provide an early skip if
      the device was unusable. However, it is also used at the start of
      library functions like igt_spin_batch_new() which may be called after
      the test has setup some state, and importantly submitted some batches.
      igt_require_gem() has the risk of then waiting on those batches, unless
      we tell it to use a clean fd.
      
      v2: Chase the /proc/self/fd/$fd link
      Signed-off-by: Chris Wilson's avatarChris Wilson <chris@chris-wilson.co.uk>
      Cc: Michał Winiarski <michal.winiarski@intel.com>
      Reviewed-by: Michał Winiarski's avatarMichał Winiarski <michal.winiarski@intel.com>
      406bb36a
  20. 17 Jul, 2017 1 commit
  21. 28 Jun, 2017 2 commits
  22. 31 May, 2017 1 commit
  23. 13 Apr, 2017 1 commit
  24. 16 Mar, 2017 1 commit
  25. 08 Mar, 2017 2 commits
  26. 27 Feb, 2017 1 commit
  27. 22 Feb, 2017 1 commit
  28. 04 Feb, 2017 1 commit
  29. 02 Jan, 2017 2 commits
  30. 11 Nov, 2016 2 commits
  31. 10 Nov, 2016 1 commit