1. 01 Oct, 2018 1 commit
  2. 12 Feb, 2018 1 commit
  3. 05 Feb, 2018 1 commit
  4. 20 Oct, 2017 1 commit
  5. 30 Aug, 2017 1 commit
  6. 28 Jun, 2017 1 commit
  7. 20 Mar, 2017 1 commit
  8. 03 Feb, 2017 1 commit
  9. 02 Feb, 2017 2 commits
  10. 14 Dec, 2016 1 commit
  11. 26 Sep, 2016 2 commits
    • Liu Ying's avatar
      kms_atomic: plane_primary: Allow modeset if atomic check returns -EINVAL · a23769ca
      Liu Ying authored
      Allowing modeset may prevent the test case from failing in case the atomic
      check phase finds the userspace doesn't allow modeset for the commit and
      returns -EINVAL.  A real case is to run the test case on imx-drm which
      requires a full modeset when we change an active plane's configuration,
      e.g., pixel format and stride.
      
      Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
      Cc: Marius Vlad <marius.c.vlad@intel.com>
      Cc: Micah Fedke <micah.fedke@collabora.com>
      Cc: Daniel Stone <daniels@collabora.com>
      Signed-off-by: default avatarLiu Ying <gnuiyl@gmail.com>
      a23769ca
    • Liu Ying's avatar
      kms_atomic: Expose atomic commit flags to crtc_commit_atomic() · b7096c69
      Liu Ying authored
      This patch exposes atomic commit flags to crtc_commit_atomic()
      so that users of the macro may control the flags.
      
      Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
      Cc: Marius Vlad <marius.c.vlad@intel.com>
      Cc: Micah Fedke <micah.fedke@collabora.com>
      Cc: Daniel Stone <daniels@collabora.com>
      Signed-off-by: default avatarLiu Ying <gnuiyl@gmail.com>
      b7096c69
  12. 20 Apr, 2016 1 commit
  13. 14 Apr, 2016 1 commit
  14. 05 Apr, 2016 1 commit
  15. 26 Feb, 2016 1 commit
    • Matt Roper's avatar
      kms_atomic: drop unnecessary connector looping from plane_primary test · 34829254
      Matt Roper authored
      Local variable num_connectors is never initialized before being
      auto-incremented in the loop.  If we wind up with a non-zero garbage
      value, it will lead us to try to write to an out-of-bounds array index.
      We should probably initialize it to zero before use.
      
      However on closer inspection, the plane_primary test doesn't actually
      wind up using the connector list or number of connectors, so just remove
      the whole block of code; it was probably brought in by accident as part
      of a copy-paste operation.
      
      Cc: Daniel Stone <daniels@collabora.com>
      Signed-off-by: Matt Roper's avatarMatt Roper <matthew.d.roper@intel.com>
      34829254
  16. 29 Jan, 2016 1 commit
    • Paulo Zanoni's avatar
      tests/igt_fb: rename igt_get_all_formats to igt_get_all_cairo_formats · 7ca55f43
      Paulo Zanoni authored
      I recently had this discussion with Daniel where I didn't want to use
      igt_drm_format_to_bpp() because it uses the format_desc array, and
      igt_fb currently assumes that all the format_desc formats have a
      matching valid Cairo format, so I wouldn't be able to easily add
      formats such as ARGB2101010.
      
      The function that has the assumption mentioned above is
      igt_get_all_formats: its current users call igt_get_all_formats, and
      then call cairo-dependent functions, such as igt_get_cairo_ctx on the
      returned formats.
      
      In order to document the current behavior and prevent any problems in
      case we start adding new formats without matching Cairo versions to
      format_desc, rename igt_get_all_formats to igt_get_all_cairo_formats
      and make it explicitly check for CAIRO_FORMAT_INVALID.
      Requested-by: Daniel Vetter's avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      Acked-by: Daniel Vetter's avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      Signed-off-by: Paulo Zanoni's avatarPaulo Zanoni <paulo.r.zanoni@intel.com>
      7ca55f43
  17. 08 Jan, 2016 1 commit
  18. 03 Nov, 2015 1 commit
    • Daniel Stone's avatar
      kms_atomic: Add basic atomic modesetting tests · bc37e029
      Daniel Stone authored
      Add tests for KMS atomic modesetting, to exercise the basic interface
      and test failure/corner cases. Should ensure coherency between the
      legacy and atomic interfaces.
      
      v2: New patch.
      v3: Disable connector checking for now, as it was causing GPU hangs on
          newer kernels.
      v4: Rebase.
      v5: Use do_ioctl or do_ioctl_err consistently. Use igt_assert_*()
          helper macros rather than igt_assert() directly.
          Move assertions into helper/check functions. Define atomic commit
          helper.
      v6: Use do_ioctl_err, and define macros to move errors to
          actual callsite, rather than helper functions.
      Co-authored-by: default avatarMicah Fedke <micah.fedke@collabora.com>
      Signed-off-by: Daniel Stone's avatarDaniel Stone <daniels@collabora.com>
      bc37e029