1. 25 Oct, 2018 1 commit
    • Ramalingam C's avatar
      kms_content_protection: Add Content Protection test · 7889b6a8
      Ramalingam C authored
      Pretty simple test:
      - picks the hdcp capable output with suitable pipe and apply modeset.
      - checks the connected sink's hdcp capability through debugfs
      - apply a FB and wait for the flip completion.
      - clears the content protection property
      - verifies that it clears
      - sets the content protection property to desired
      - verifies that it transitions to enabled
      - incase of timeout three reattempts are implemented
      - clear the content protection property and modeset on the crtc
      
      Above steps are repeated on all HDCP capable connectors for both
      legacy and atomic subtests.
      
      v2:
        dynamic subtests are dropped [Daniel]
      v3:
        debugfs is used to detect the sink's hdcp capability [Daniel]
        data structure is made as global variable.
      v4:
        debugfs file from connector's debugfs dir is used [Daniel]
      v5:
        i915_debugfs_connector_dir() usage is modified [Chris]
      Signed-off-by: Sean Paul's avatarSean Paul <seanpaul@chromium.org>
      Signed-off-by: Ramalingam C's avatarRamalingam C <ramalingam.c@intel.com>
      Reviewed-by: Daniel Vetter's avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      Signed-off-by: Daniel Vetter's avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      7889b6a8
  2. 17 Oct, 2018 1 commit
  3. 03 Oct, 2018 1 commit
  4. 02 Oct, 2018 1 commit
  5. 01 Oct, 2018 1 commit
  6. 11 Sep, 2018 1 commit
  7. 30 Aug, 2018 1 commit
  8. 08 Jun, 2018 1 commit
  9. 24 May, 2018 1 commit
  10. 11 Apr, 2018 1 commit
  11. 21 Mar, 2018 1 commit
  12. 19 Mar, 2018 1 commit
  13. 16 Mar, 2018 1 commit
  14. 15 Mar, 2018 1 commit
  15. 27 Feb, 2018 3 commits
  16. 15 Jan, 2018 1 commit
  17. 02 Jan, 2018 1 commit
  18. 12 Dec, 2017 1 commit
  19. 22 Nov, 2017 1 commit
  20. 21 Nov, 2017 1 commit
  21. 23 Oct, 2017 1 commit
    • Maarten Lankhorst's avatar
      tests/kms_plane_lowres: Rework tests to work without fbcon, v3. · cdfe9921
      Maarten Lankhorst authored
      kmstest_get_crtc was skipping because at that point the crtc was not
      active yet, instead we should only use igt_assert_plane_visible
      directly. Unexport kmstest_get_crtc, since nothing here should need it.
      While at it fix a small leak in igt_assert_plane_visible, the only
      remaining user.
      
      Additionally, it' s not allowed to obtain crc on a disabled pipe, so
      wait until the pipe is enabled before allocating the crc.
      
      Changes since v1:
      - Move igt_pipe_crc_new until after pipe is enabled.
      - Move test_init() into test_setup(), it's redundant..
      - Remove pipe_crc from data, no need to have it there.
      Changes since v2:
      - Increment fb pointer for igt_plane_set_fb, in order to set a different
        fb on each plane correctly.
      Signed-off-by: default avatarMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Reviewed-by: default avatarMika Kahola <mika.kahola@intel.com>
      cdfe9921
  22. 20 Oct, 2017 10 commits
  23. 03 Oct, 2017 1 commit
  24. 02 Oct, 2017 1 commit
  25. 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
        shotgun.
      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)]
      bbc0b3cd
  26. 14 Aug, 2017 3 commits
  27. 16 Jun, 2017 1 commit