1. 22 Feb, 2019 1 commit
  2. 08 Sep, 2017 1 commit
  3. 16 Dec, 2015 1 commit
    • Derek Morton's avatar
      gem_flink_race/prime_self_import: Improve test reliability · 3953d2dd
      Derek Morton authored
      gem_flink_race and prime_self_import have subtests which read the
      number of open gem objects from debugfs to determine if objects have
      leaked during the test. However the test can fail sporadically if
      the number of gem objects changes due to other process activity.
      This patch introduces a change to check the number of gem objects
      several times to filter out any fluctuations.
      
      v2: Moved the common code to a library and made the loop android
      specific (Daniel Vetter)
      v3: Renamed get_stable_obj_count -> igt_get_stable_obj_count
      Signed-off-by: 's avatarDerek Morton <derek.j.morton@intel.com>
      Signed-off-by: Daniel Vetter's avatarDaniel Vetter <daniel.vetter@intel.com>
      3953d2dd
  4. 12 Oct, 2015 1 commit
  5. 09 Oct, 2015 3 commits
  6. 11 Sep, 2015 1 commit
  7. 21 Aug, 2015 1 commit
  8. 14 Aug, 2015 1 commit
  9. 13 Apr, 2015 1 commit
  10. 06 Mar, 2015 1 commit
  11. 29 Jan, 2015 1 commit
    • Thomas Daniel's avatar
      tests/prime_self_import: further fix object counts · 51d87b80
      Thomas Daniel authored
      A previous commit:
      
      commit 2f2c491c
      Author: Mika Kuoppala <mika.kuoppala@intel.com>
      Date:   Fri Mar 28 10:52:46 2014 +0200
      
          lib/drmtest: don't dup quiescent fd
      
      introduced a regression for drm object leak checking.  A following commit:
      
      commit 8741c228
      Author: Mika Kuoppala <mika.kuoppala@intel.com>
      Date:   Wed May 7 16:46:19 2014 +0300
      
          tests/gem_flink_race,prime_self_import: fix object counts
      
      fixed the regression for some cases but missed the export-vs-gem_close-race
      subtest.  Note that test behaviour depends on whether the subtest is run as
      part of the whole prime_self_import test (fail), or as a single subtest (pass).
      Using execlists on Gen8+ reverses the pass/fail due to lazy context allocation
      which is presumably why this has now been noticed.
      
      This commit applies the same fix to the export-vs-gem_close-race subtest.
      
      Cc: Mika Kuoppala <mika.kuoppala@intel.com>
      Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=87627Signed-off-by: 's avatarThomas Daniel <thomas.daniel@intel.com>
      Reviewed-by: 's avatarMika Kuoppala <mika.kuoppala@intel.com>
      Signed-off-by: 's avatarMika Kuoppala <mika.kuoppala@intel.com>
      51d87b80
  12. 15 Jan, 2015 1 commit
  13. 04 Dec, 2014 1 commit
  14. 18 Nov, 2014 1 commit
  15. 06 Nov, 2014 1 commit
  16. 29 Aug, 2014 1 commit
  17. 13 Jun, 2014 1 commit
  18. 13 May, 2014 1 commit
  19. 07 May, 2014 1 commit
  20. 22 Mar, 2014 1 commit
  21. 05 Nov, 2013 1 commit
  22. 01 Nov, 2013 1 commit
    • Daniel Vetter's avatar
      lib: add igt_main macro · 071e9ca1
      Daniel Vetter authored
      In the past new testcases with subtest often forgot to add the call to
      igt_exit at the end of their main() function. That is now caught with
      a bit more obnoxious asserts, but it's still a nuissance.
      
      This little igt_main macro takes care of that (and also of calling the
      subtest machinery initialization code correctly).
      
      If no one objects I'll roll this out for all the simple cases (i.e.
      those tests that don't have additional argv parsing on top of the
      subtest machinery).
      
      v2: Roll it out across the board.
      Signed-off-by: Daniel Vetter's avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      071e9ca1
  23. 03 Sep, 2013 1 commit
  24. 19 Aug, 2013 1 commit
    • Daniel Vetter's avatar
      lib/drmtest: rip out drm_open_any_master · 5951ffb6
      Daniel Vetter authored
      It's unused. Also most of our tests failed to ask for the right type
      of drm fd anyway. So it's imo better to just let them fall over when
      they don't get master but want it, like they already do today.
      
      This also allows us to garbage-collect the master parameter to
      drm_get_card and associated code.
      Signed-off-by: Daniel Vetter's avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      5951ffb6
  25. 15 Aug, 2013 1 commit
  26. 14 Aug, 2013 1 commit
  27. 13 Aug, 2013 1 commit
  28. 12 Aug, 2013 4 commits
  29. 07 Aug, 2013 3 commits
  30. 06 Aug, 2013 1 commit
  31. 17 Apr, 2013 1 commit
  32. 23 Jul, 2012 2 commits