1. 20 Oct, 2017 10 commits
  2. 03 Oct, 2017 1 commit
  3. 02 Oct, 2017 1 commit
  4. 12 Sep, 2017 1 commit
    • Maarten Lankhorst's avatar
      tests: Add kms_atomic_interruptible test, v4. · bbc0b3cd
      Maarten Lankhorst authored
      This tests the various parts of atomic that I want to make
      interruptible. Running with --debug shows the stats from
      __igt_sigiter_continue, which can be used to make sure that
      we don't fall over.
      The default igt kms helpers use drmIoctl, which is not intercepted
      by igt_while_interruptible. Only igt_ioctl is. This means we have
      to call the ioctls manually here.
      Changes since v1:
      - Implement interruptible DPMS checking too.
      - Use igt_ioctl + igt_while_interruptible, instead of the signal helper
      Changes since v2:
      - Bump whitespace to get rid of the weird double } at same indent.
      - Use more newlines in the call to the atomic ioctl.
      Changes since v3:
      - Fix copyright on year. (Adrinael)
      - Use do_ioctl instead of do_or_die(igt_ioctl) (ickle).
      - Add test description. (Adrinael)
      Signed-off-by: default avatarMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Cc: Daniel Stone <daniels@collabora.com>
      Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> #v1
      Reviewed-by: Petri Latvala's avatarPetri Latvala <petri.latvala@intel.com>
      [mlankhorst: Document sleep values (Adrinael)]
  5. 14 Aug, 2017 3 commits
  6. 16 Jun, 2017 2 commits
  7. 14 Jun, 2017 1 commit
  8. 20 Apr, 2017 1 commit
  9. 21 Mar, 2017 3 commits
  10. 20 Mar, 2017 1 commit
  11. 13 Mar, 2017 1 commit
  12. 02 Feb, 2017 3 commits
  13. 31 Jan, 2017 5 commits
  14. 26 Jan, 2017 3 commits
    • Lyude Paul's avatar
      igt_kms: Add kmstest_set_connector_broadcast_rgb() · 3bd89da2
      Lyude Paul authored
      A simple helper that checks whether or not the given connector has the
      "Broadcast RGB" prop, and if so sets it to the given mode. Required for
      working with the Chamelium since the Chamelium EDIDs enable limited
      color ranges by default on i915 and break frame dump comparisons/CRCs.
      Cc: Tomeu Vizoso <tomeu@tomeuvizoso.net>
      Signed-off-by: Lyude Paul's avatarLyude <lyude@redhat.com>
    • Lyude Paul's avatar
      igt_kms: Add igt_output_from_connector() · 528cdaf0
      Lyude Paul authored
      A simple helper for getting the igt_output_t struct corresponding to the
      given DRM connector id.
      Cc: Tomeu Vizoso <tomeu@tomeuvizoso.net>
      Signed-off-by: Lyude Paul's avatarLyude <lyude@redhat.com>
    • Lyude Paul's avatar
      igt_kms: Add helpers for watching for sysfs hotplug events · 6adb7b37
      Lyude Paul authored
      This adds some basic helpers for connecting to udev and watching for
      sysfs hotplug events.
      Cc: Tomeu Vizoso <tomeu@tomeuvizoso.net>
      Signed-off-by: Lyude Paul's avatarLyude <lyude@redhat.com>
      Changes since v1:
      - Remove unused arg from documentation
      Changes since v2:
      - Make udev_monitor explicit so that we can use this for detecting FSMs
        from the Chamelium in rpc calls
  15. 21 Jan, 2017 1 commit
  16. 20 Jan, 2017 1 commit
  17. 13 Jan, 2017 1 commit
    • Mika Kahola's avatar
      tests/kms_plane_lowres: Plane visibility after atomic modesets · 12e34d8c
      Mika Kahola authored
      Testcase for plane visibility after atomic modesets. The idea of the test
      is the following:
       - draw a blue screen with high resolution
       - enable a yellow plane, visible, in lower-left corner
       - set a new lower resolution mode (1024x768) that makes plane invisible
       - check from debugfs 'i915_display_info' that the plane is invisible
       - switch back to higher resolution mode
       - check from debugfs 'i915_display_info' that the plane is visible again
       - repeat number of iterations, default 64
      v2: allow test to be run on non-Intel drivers (Daniel)
          moved test for plane visibility to as helper function (Daniel)
          moved get_vblank() function to be part of helper functions (Daniel)
          rename 'tiling' parameter as 'modifier' (Daniel)
          select a mode from a list so that the plane should be invisible.
          use default 1024x768 mode only as a fallback if decent mode has not
          been found (Daniel)
          add tiling MODE_NONE (Daniel)
      v3: draw as many overlay planes as the platform supports + cursor plane
          on top of each other on lower-left corner
          skip the test if i915_display_info file is not available
          test plane visibility with igt_assert_plane_visibility() function
          drop option for multiple test iterations (Daniel Vetter)
      v4: switch 'for_each_connected_output()' to
          skip Y and Yf tiling for generations older than 9 (Maarten)
      Cc: Daniel Stone <daniel@fooishbar.org>
      Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Reviewed-by: default avatarMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Signed-off-by: default avatarMika Kahola <mika.kahola@intel.com>
  18. 10 Jan, 2017 1 commit