1. 23 Oct, 2018 1 commit
  2. 13 Jul, 2018 1 commit
  3. 26 Feb, 2018 1 commit
  4. 18 May, 2017 1 commit
  5. 22 Feb, 2017 1 commit
  6. 02 Jan, 2017 1 commit
  7. 13 Oct, 2016 1 commit
    • Imre Deak's avatar
      lib/igt_aux: Add support for various system suspend/resume options · 022e6f8a
      Imre Deak authored
      To have a more accurate idea about any suspend/resume issues we can
      perform the s/r until various phases in the s/r sequence. This way we
      can isolate the given problem as being a device driver, kernel core or
      BIOS related issue. Actual subtests using these new s/r phases will be
      added as follow-up.
      While at it also add the freeze suspend target, it's something we also
      would need to test.
      Signed-off-by: Imre Deak's avatarImre Deak <imre.deak@intel.com>
  8. 13 Sep, 2016 1 commit
  9. 12 May, 2016 1 commit
    • Daniel Vetter's avatar
      lib/igt_aux: Polish docs for igt_interruptible · d7050f9f
      Daniel Vetter authored
      - Give __ prefix to internal funcstion and structs, only
        igt_interruptible is used by tests.
      - Move docs to igt_interruptible and adjust.
      - Explain more clearly how the timeout is getting doubled each
        iteration until no more interruptions happen. Also rename the
        argument to give it a more meaningful name in the docs.
      - Link from other functions to this one for cross-referencing.
      - Rename to igt_do_interruptible to make it clearer it's a loop,
        inspired by do {} while () loops.
      v2: Rename instead to igt_while_interruptible and fix typos (Chris).
      And add gtk-doc for igt_ioctl, too.
      Acked-by: Chris Wilson's avatarChris Wilson <chris@chris-wilson.co.uk>
      Signed-off-by: Daniel Vetter's avatarDaniel Vetter <daniel.vetter@intel.com>
  10. 19 Mar, 2016 1 commit
  11. 18 Mar, 2016 1 commit
  12. 03 Mar, 2016 1 commit
  13. 28 Jan, 2016 1 commit
  14. 27 Jan, 2016 1 commit
  15. 25 Jan, 2016 2 commits
  16. 24 Jan, 2016 1 commit
  17. 23 Jan, 2016 1 commit
  18. 22 Jan, 2016 1 commit
  19. 21 Jan, 2016 1 commit
  20. 20 Jan, 2016 1 commit
    • Chris Wilson's avatar
      igt/gem_softpin: Remove false dependencies on esoteric features · 6bada3e2
      Chris Wilson authored
      For softpinning, we do not require either userptr or extended ppgtt, so
      remove those requirements and make the tests work universally. (Certain
      ABI tests require large GTT, or per-process GTT.)
      In the process, make the tests more extensive - validate overlapping
      handling more careful, explicitly test no-relocation support, validate
      more ABI handling. And for fun, cause a kernel GPF.
      Signed-off-by: Chris Wilson's avatarChris Wilson <chris@chris-wilson.co.uk>
  21. 08 Jan, 2016 1 commit
  22. 14 Dec, 2015 1 commit
  23. 09 Dec, 2015 1 commit
    • Vinay Belgaumkar's avatar
      tests/gem_softpin: New tests for softpin feature · be2d5188
      Vinay Belgaumkar authored
      These tests exercise the userptr ioctl to create shared buffers
      between CPU and GPU. They contain error and normal usage scenarios.
      They also contain a couple of stress tests which copy buffers between
      CPU and GPU. These tests rely on the softpin patch in order to pin buffers
      to a certain VA.
      Caveat: These tests were designed to run on 64-bit system. Future work
      includes adding logic to ensure these tests can run on 32-bit systems with
      PPGTT support. Some tests are currently disabled for 32-bit systems for that
      v2: Added cc and signed-off-by fields
      v3: Fixed review comments, added helper functions. Removed userptr error
      scenarios covered by existing userptr tests. Modified stress test to have
      100K buffers, it now runs for ~30 mins, checks every element has been written
      to correctly, and pins buffers at different VMAs.
      v4: Changed name to gem_softpin
      v5: More fixes. Removed the file based tests, will move them to userptr tests.
      Added a function that validates appropriate PPGTT support before running tests.
      Optimized stack space and memory footprint in stress test. Removed the eviction
      test, will add it back after verifying proper functionality.
      v6: Split basic test into userptr and bo
      Fixed some coding style issues.
      v7: Enhanced invalid vma pinning test to verify 32-bit PPGTT functionality.
      Enabled the test for 32-bit PPGTT systems, and verify pinning fails above
      32-bit addresses. Enhanced the high adress pinning test to ensure pinning
      fails when EXEC_OBJECT_PINNED flag is not used. Some more cosmetic fixes to
      close buffer handles. Changed userptr function to used synchronized operations.
      v8: Minor change to high address pinning test as per comment.
      v9: Skip the tests if softpin support is not present.
      v10: Removed trailing white spaces.
      v11: Keep alphabetical order in Makefile and gitignore; update error code
      returned while trying to pin above the max vm size (EINVAL); test attempt
      to pin above 4GB without the support 48b flag.
      Cc: Michel Thierry <michel.thierry@intel.com>
      Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
      Signed-off-by: default avatarVinay Belgaumkar <vinay.belgaumkar@intel.com>
      Signed-off-by: Michel Thierry <michel.thierry@intel.com> (v11)
      Reviewed-by: Tvrtko Ursulin's avatarTvrtko Ursulin <tvrtko.ursulin@intel.com>