1. 08 Jan, 2019 1 commit
  2. 01 Oct, 2018 1 commit
  3. 14 Aug, 2018 1 commit
  4. 26 Feb, 2018 1 commit
  5. 13 Dec, 2017 1 commit
  6. 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>
  7. 14 Aug, 2017 1 commit
  8. 16 Jun, 2017 1 commit
  9. 21 Mar, 2017 3 commits
  10. 31 Jan, 2017 3 commits
  11. 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>