1. 18 Jun, 2015 1 commit
    • Chris Wilson's avatar
      testdisplay_hotplug: Add missing #include <sys/stat.h> · 4fbce7e4
      Chris Wilson authored
      testdisplay_hotplug.c: In function ‘hotplug_event’:
      testdisplay_hotplug.c:46:14: error: storage size of ‘s’ isn’t known
        struct stat s;
      testdisplay_hotplug.c:54:2: error: implicit declaration of function ‘fstat’ [-Werror=implicit-function-declaration]
        fstat(drm_fd, &s);
      testdisplay_hotplug.c:54:2: warning: nested extern declaration of ‘fstat’ [-Wnested-externs]
      testdisplay_hotplug.c:46:14: warning: unused variable ‘s’ [-Wunused-variable]
        struct stat s;
      Signed-off-by: Chris Wilson's avatarChris Wilson <chris@chris-wilson.co.uk>
  2. 15 Jun, 2015 2 commits
  3. 13 Jun, 2015 1 commit
  4. 11 Jun, 2015 9 commits
    • Thomas Wood's avatar
    • Thomas Wood's avatar
      NEWS: Updates · 0cc16b37
      Thomas Wood authored
      Signed-off-by: default avatarThomas Wood <thomas.wood@intel.com>
    • Thomas Wood's avatar
      tools: print a warning for tools replaced by intel_reg · aa75f373
      Thomas Wood authored
      Cc: Jani Nikula <jani.nikula@intel.com>
      Signed-off-by: default avatarThomas Wood <thomas.wood@intel.com>
    • Thomas Wood's avatar
      overlay: update .gitignore · 87f15fc3
      Thomas Wood authored
      Signed-off-by: default avatarThomas Wood <thomas.wood@intel.com>
    • Paulo Zanoni's avatar
      tests: add kms_frontbuffer_tracking · d8acd24b
      Paulo Zanoni authored
      This is a new test that should exercise the frontbuffer tracking
      feature of the Kernel in a number of different ways. We use different
      drawing methods, we use the primary, cursor and sprite planes, we can
      test both on single and dual pipes, also on buffers not associated
      with any CRTCs, etc.
      We currently have assertions for both FBC and PSR, and we also have a
      "nop" test mode that should disable both FBC and PSR, and can be
      used for debugging.
      This test is also capable of testing both FBC and PSR even if they are
      disabled by default on the Kernel: the test knows how to change the
      i915.ko parameters and then set them back after testing.
      I am getting a significant number of failures when I run this test,
      which means we have some work to do on the Kernel.
      I also still have a small list of additional subtests that I plan to
      add to this test, and those tests are documented on the main function.
       - Use igt_debugfs_open() (Thomas).
       - Use igt_test_description() (Thomas).
       - Don't check drm_open_any_master()'s result (Thomas).
       - Use igt_require_f() in some cases (Thomas).
       - Standardize some assertions.
       - Use the new module param functions.
       - Check if FBC is supported by the chipset.
       - Add new subtests (multidraw, enum fbs, fbc+psr).
       - Make tests a little shorter.
       - Reorganize which tests ara ran by default.
       - Better comments everywhere.
       - Rebase.
       - Fix a small typo.
       - Improve the log messages a little bit more.
      Signed-off-by: Paulo Zanoni's avatarPaulo Zanoni <paulo.r.zanoni@intel.com>
    • Paulo Zanoni's avatar
      tests/kms_psr_sink_crc: test even if PSR is disabled by default · 75b286e8
      Paulo Zanoni authored
      Use the igt_set_module_param_int() call to enable it, then restore the
      previous value after we are done testing.
      With this, we can change the psr_enabled() function to psr_possible():
      the only requirement should be that we have a PSR capable sink. The
      test should now be able to make "Source_OK" and "Enabled" become true
      whenever it wants.
      Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
      Signed-off-by: Paulo Zanoni's avatarPaulo Zanoni <paulo.r.zanoni@intel.com>
    • Paulo Zanoni's avatar
      tests/kms_fbc_crc: run even if FBC is disabled by default · a4dbdeff
      Paulo Zanoni authored
      We may not be perfect, but if we don't even test, we will probably
      only get worse over time.
      The function called makes sure we restore whatever was the original
      FBC parameter when we exit the test, so this should not affect the
      other tests.
      Signed-off-by: Paulo Zanoni's avatarPaulo Zanoni <paulo.r.zanoni@intel.com>
    • Paulo Zanoni's avatar
      lib/igt_aux: add functions to manipulate i915.ko parameters · d9ff9b39
      Paulo Zanoni authored
      Some i915.ko features have very nice IGT tests, which are never
      executed because the features are disabled by default. This leads to
      unnoticed regressions both in the Kernel and in the IGT tests.  We
      have seen this multiple times, for example, on FBC and PSR.
      We want to be able to run IGT and actually test these
      disabled-by-default features in order to make sure we at least don't
      break them even more. Sometimes they may be disabled for some specific
      reason, and we don't want to increase the set of reasons without
      To help solving this problem, this commit adds some helper functions
      that should make it easier to change certain i915.ko parameters and
      then restore their original values at the end of the test. With this,
      I'm hoping QA will be able to detect any regressions and automatically
      bisect them - or, with PRTS, reject the patches before they are even
      Signed-off-by: Paulo Zanoni's avatarPaulo Zanoni <paulo.r.zanoni@intel.com>
    • Paulo Zanoni's avatar
      tests/template: add IGT_TEST_DESCRIPTION · 46a17919
      Paulo Zanoni authored
      So people that write tests based on the template don't forget to use
      the macro.
      Signed-off-by: Paulo Zanoni's avatarPaulo Zanoni <paulo.r.zanoni@intel.com>
  5. 08 Jun, 2015 2 commits
  6. 05 Jun, 2015 2 commits
    • Damien Lespiau's avatar
      build: Add the automake subdir-objects option · fd772e32
      Damien Lespiau authored
      automake 1.14 was complaining here:
      overlay/Makefile.am:44: warning: source file 'x11/x11-window.c' is in a
      subdirectory, but option 'subdir-objects' is disabled.
      Signed-off-by: default avatarDamien Lespiau <damien.lespiau@intel.com>
    • Tim Gore's avatar
      tests/gem_reset_stats : mask off ring_stop bits · c221e094
      Tim Gore authored
      Function check_gpu_ok checks to make sure that any hangs
      have cleared by testing for (flags == 0). Some tests set
      but these do not get cleared by an individual ring reset,
      (a feature added recently to the driver), leading the
      check_gpu_ok function to think that the gpu is still hung.
      So I mask the flags with STOP_RING_ALL, to ignore the mode
      bits and look only at the bits that stop the rings.
      Once gpu_check_ok sees that the gpu is not hung I write 0
      to stop_rings in order to clear it completely. This is
      because igt_set_stop_rings will only write to stop_rings
      if either a) they are currently 0 or b) we are writing 0.
      If we leave the mode bits set then subsequent calls to
      igt_set_stop_rings to create hangs will fail.
      Signed-off-by: default avatarTim Gore <tim.gore@intel.com>
  7. 03 Jun, 2015 1 commit
  8. 02 Jun, 2015 2 commits
  9. 29 May, 2015 1 commit
  10. 28 May, 2015 3 commits
  11. 27 May, 2015 3 commits
  12. 20 May, 2015 2 commits
  13. 19 May, 2015 10 commits
  14. 18 May, 2015 1 commit