1. 20 Nov, 2018 1 commit
  2. 19 Nov, 2018 1 commit
  3. 23 Oct, 2018 1 commit
  4. 06 Jul, 2018 1 commit
  5. 07 Apr, 2017 1 commit
  6. 21 Mar, 2017 3 commits
  7. 10 Mar, 2017 1 commit
  8. 24 May, 2016 1 commit
  9. 10 Dec, 2015 2 commits
    • Daniel Vetter's avatar
      Revert "igt: s/basic/sanitycheck/ on prior smoketesting" · 6672da5e
      Daniel Vetter authored
      This reverts commit 4f5efc5c.
      
      There was a bit a misunderstanding on IRC between Chris&me. We want
      basic tests as sanity test to be run in the BAT CI. It's just unfortunate
      that right now we have fairly limited ability to absorb new ones, both
      because of a pile of existing bugs in the kernel and because the CI
      infrastructure is still being scaled out.
      
      The idea was just to remove the BAT tests added yesterday, not all of
      the ones we've had for a while longer.
      
      Cc: Chris Wilson <chris@chris-wilson.co.uk>
      Grumpily-acked-by: Chris Wilson's avatarChris Wilson <chris@chris-wilson.co.uk>
      Signed-off-by: Daniel Vetter's avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      6672da5e
    • Chris Wilson's avatar
      igt: s/basic/sanitycheck/ on prior smoketesting · 4f5efc5c
      Chris Wilson authored
      In times past, I added "basic" variants of tests just to ensure that the
      general principle of operation was sound before proceeding on to the
      main test (which typically looked at thrashing, i.e. were long and
      tedious and pointless if the test didn't even work in the normal
      situation). Since "basic" now collides with BAT, rename my trivial tests
      to "sanitycheck".
      Signed-off-by: Chris Wilson's avatarChris Wilson <chris@chris-wilson.co.uk>
      4f5efc5c
  10. 11 Nov, 2015 1 commit
  11. 11 Sep, 2015 1 commit
  12. 21 Aug, 2015 1 commit
  13. 04 Mar, 2015 1 commit
    • Tim Gore's avatar
      tests/gem_render_tiled_blits: split into subtests · ee5c119c
      Tim Gore authored
      The gem_render_tiled_blits test tends to get oom killed
      on low memory (< 4GB) Android systems. This is because the
      test tries to allocate (sysinfo.totalram * 9 / 10) in
      buffer objects and the remaining 10% of memory is not
      always enough for the Android system.
      A similar issue with gem_render_linear_blits was resolved
      by creating several subtests. A "basic" subtest that uses
      minimal memory buffers to test the basic operation, and
      two stress tests which are skipped if there is insufficient
      memory. The first stress test uses more memory than the
      graphics apperture and the second uses enough to ensure
      that swap space is used (if present).
      This patch makes the same changes to gem_render_tiled_blits.
      
      v2: Following comments from Daniel Vetter:
        a) Use igt_main macro instead of "open coding", and
        b) cull some leading spaces
      Signed-off-by: default avatarTim Gore <tim.gore@intel.com>
      ee5c119c
  14. 02 Oct, 2014 1 commit
  15. 23 Jul, 2014 1 commit
  16. 14 Jul, 2014 1 commit
    • Daniel Vetter's avatar
      lib: Add argc/argv to igt_simple_init · 5a98fe9d
      Daniel Vetter authored
      There's a pile of ideas around to add generally useful options like
      --debug to all igt tests. Or unify the runtime behaviour between
      simple and subtest tests a bit more.
      
      The first step to get there is to add argc/argv to igt_simple_init so
      that we can get at the argument list.
      
      Cc: Tim Gore <tim.gore@intel.com>
      Cc: Thomas Wood <thomas.wood@intel.com>
      Signed-off-by: Daniel Vetter's avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      5a98fe9d
  17. 13 Jun, 2014 1 commit
  18. 14 May, 2014 1 commit
    • Daniel Vetter's avatar
      tests: Use igt macros more · 0b7ce4ac
      Daniel Vetter authored
      Often just folding together of the common if (cond) printf;
      abort|igt_skip|igt_fail; pattern. But in a few cases I've ripped out
      more since the igt macros will already print the condition and errno.
      
      A few tests where more work (like ripping out return codes en masse)
      is needed left as-is.
      Signed-off-by: Daniel Vetter's avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      0b7ce4ac
  19. 13 May, 2014 1 commit
  20. 08 May, 2014 1 commit
    • Chris Wilson's avatar
      igt/gem_render_tiled_blits: Speed up by using the GPU to detile · 66d5f092
      Chris Wilson authored
      Avoid accessing via the slow GTT to read back and compare the contents
      of each bo against expected results. It is much faster, on llc at least,
      to detile using the GPU and then copy to system memory for the compare.
      
      Before:
      
      IVB: time sudo ./gem_render_tiled_blits
      IGT-Version: 1.6-ge46ff3f8 (x86_64) (Linux: 3.15.0-rc3+ x86_64)
      Using 3072 1MiB buffers
      Verifying initialisation...
      Cyclic blits, forward...
      Cyclic blits, backward...
      Random blits...
      
      real	6m26.005s
      user	6m19.234s
      sys	0m2.414s
      
      PNV: time sudo ./gem_render_tiled_blits
      IGT-Version: 1.6-g8556f8a (i686) (Linux: 3.15.0-rc2+ i686)
      Using 768 1MiB buffers
      Verifying initialisation...
      Cyclic blits, forward...
      Cyclic blits, backward...
      Random blits...
      
      real	1m45.431s
      user	1m34.960s
      sys	0m4.624s
      
      Using pread:
      
      IVB: time sudo ./gem_render_tiled_blits
      IGT-Version: 1.6-ge46ff3f8 (x86_64) (Linux: 3.15.0-rc3+ x86_64)
      Using 3072 1MiB buffers
      Verifying initialisation...
      Cyclic blits, forward...
      Cyclic blits, backward...
      Random blits...
      
      real	0m14.717s
      user	0m3.699s
      sys	0m3.192s
      
      Using snoop:
      
      IVB: time sudo ./gem_render_tiled_blits
      IGT-Version: 1.6-ge46ff3f8 (x86_64) (Linux: 3.15.0-rc3+ x86_64)
      Using 3072 1MiB buffers
      Using a snoop linear buffer for comparisons
      Verifying initialisation...
      Cyclic blits, forward...
      Cyclic blits, backward...
      Random blits...
      
      real	0m13.774s
      user	0m3.900s
      sys	0m2.089s
      
      PNV: time sudo ./gem_render_tiled_blits
      IGT-Version: 1.6-g8556f8a (i686) (Linux: 3.15.0-rc2+ i686)
      Using 768 1MiB buffers
      Using a snoop linear buffer for comparisons
      Verifying initialisation...
      Cyclic blits, forward...
      Cyclic blits, backward...
      Random blits...
      
      real	0m20.831s
      user	0m4.384s
      sys	0m5.032s
      
      So roughly 10-30x faster depending on platform.
      
      Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=78244Signed-off-by: Chris Wilson's avatarChris Wilson <chris@chris-wilson.co.uk>
      66d5f092
  21. 23 Mar, 2014 1 commit
  22. 22 Mar, 2014 6 commits
  23. 24 Feb, 2014 1 commit
  24. 10 Dec, 2013 1 commit
  25. 27 Nov, 2013 1 commit
  26. 12 Aug, 2013 1 commit
  27. 18 Jul, 2013 1 commit
    • Damien Lespiau's avatar
      tests: Black list tests we don't want to run on simulation · 5fa15f79
      Damien Lespiau authored
      Let's start by a small set of tests, to eventually consider running
      more.
      
      The current list should then be:
      
      gem_mmap
      gem_pread_after_blit
      gem_ring_sync_loop
      gem_ctx_basic
      gem_pipe_control_store_loop
      gem_storedw_loop_render
      gem_storedw_loop_blt
      gem_storedw_loop_bsd
      gem_render_linear_blits
      gem_tiled_blits
      gem_cpu_reloc
      
      gem_exec_nop
      gem_mmap_gtt
      
      v2 add (Daniel Vetter)
      gem_exec_bad_domains
      gem_exec_faulting_reloc
      gem_flink
      gem_reg_read
      gem_reloc_overflow
      gem_tiling_max_stride
      prime_*
      Signed-off-by: default avatarDamien Lespiau <damien.lespiau@intel.com>
      5fa15f79
  28. 18 Feb, 2013 1 commit
  29. 12 Dec, 2012 1 commit
  30. 06 Dec, 2012 2 commits