1. 19 Feb, 2016 1 commit
  2. 08 Jan, 2016 1 commit
  3. 04 Dec, 2015 1 commit
    • Daniel Vetter's avatar
      lib/kms+tests: Use cached connector state · db4f83ca
      Daniel Vetter authored
      Speeds up testcases except for those where we want to exercise the
      probing itself. The only exceptions left where we do a full probe are
      - pm_rpm: We use it to make sure the kernel doesn't get things wrong
        with power domains, so we really want to exercise the full probe
        paths. And there the only place really is the specific validation
        done with the data gathered by get_drm_info.
      - kmstest_force_ functions: Newer kernels should be better at
        re-probing state when the force sysfs fields change, but better safe
        than sorry.
      v2: I also consolidated the start_n_modes and start_connectors while
      at it - move one of the fixup hunks to this patch that accidentally
      got misplaced (Thomas).
      Cc: Thomas Wood <thomas.wood@intel.com>
      Signed-off-by: Daniel Vetter's avatarDaniel Vetter <daniel.vetter@intel.com>
  4. 11 Nov, 2015 1 commit
  5. 11 Sep, 2015 1 commit
  6. 21 Aug, 2015 1 commit
  7. 26 Mar, 2015 1 commit
  8. 12 Mar, 2015 1 commit
  9. 06 Mar, 2015 1 commit
  10. 30 Sep, 2014 1 commit
    • Imre Deak's avatar
      test/kms, pm: use drm_open_any_master · c256af5d
      Imre Deak authored
      These tests require DRM master right, so make sure they have it from the
      beginning. This gives an early indication if another DRM master is running
      and makes the given test skip (with a proper explanation of the reason)
      instead of exiting with error.
      Signed-off-by: Imre Deak's avatarImre Deak <imre.deak@intel.com>
  11. 21 Aug, 2014 1 commit
  12. 12 Aug, 2014 1 commit
  13. 07 Aug, 2014 1 commit
  14. 26 Mar, 2014 3 commits
    • Daniel Vetter's avatar
      lib/igt_fb: switch to igt_ prefix from kmstest_ · 9aea7ae5
      Daniel Vetter authored
      Shorter and more in line with our general igt_ prefix for everything
      which isn't somehow intel or i915-gem or otherwise hw specific - these
      helpers here are all fully generic framebuffer handling functions
      based on kms + cairo.
      Well, the actual buffer alloc is done with i915 gem, but meh ;-)
      Two special cases:
      - bpp_depth_to_drm_format and drm_format_to_bpp completely lacked
        prefixes, so just add igt_.
      - write_fb was a bit misleading given that we have gem_write for
        uploading to buffers. Rename that to write_fb_to_png to make it
        crystal clear what this thing does even without looking at docs.
      Signed-off-by: Daniel Vetter's avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    • Daniel Vetter's avatar
      lib/igt_kms: s/kmstest_create_fb2/kmstest_create_fb/ · 2fc2fa54
      Daniel Vetter authored
      Simplify the name since the old _fb function is now gone.
      Signed-off-by: Daniel Vetter's avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    • Daniel Vetter's avatar
      lib: remove kmstest_create_fb · 70182167
      Daniel Vetter authored
      Use the new-style function using drm fourcc codes instead everywhere.
      To easily use thew fourcc based interface also expose
      bpp_depth_to_drm_format from the library. Finally include drm_fourcc.h
      from the igt_kms.h header since pretty much everyone needs this now.
      Signed-off-by: Daniel Vetter's avatarDaniel Vetter <daniel.vetter@ffwll.ch>
  15. 22 Mar, 2014 2 commits
  16. 31 Dec, 2013 1 commit
    • Chris Wilson's avatar
      kmstest: Fix up lifetimes of cairo objects · 164d9d26
      Chris Wilson authored
      cairo_t is the short lived drawing context, whereas cairo_surface_t is
      the heavyweight object that persists and is also tied to underlying GEM
      objects. So make the kmstest API reflect the different weights and fix
      the lifetime and underlying object reference leaks.
      Based on the fix by Paulo Zanoni.
      Signed-off-by: Chris Wilson's avatarChris Wilson <chris@chris-wilson.co.uk>
  17. 06 Dec, 2013 1 commit