Skip to content
Snippets Groups Projects
  1. Mar 15, 2020
  2. Mar 13, 2020
  3. Mar 12, 2020
    • KunalJoshi95's avatar
      tests/kms_chamelium: Add support to validate RGB/YUV pixel formats · 59fd8a0d
      KunalJoshi95 authored
      
      Currently, only hard coded pixel formats are validated which are not
      generic across platforms which leads to SKIPS.
      Added support to validate only those pixel formats which are supported by
      platform. Covering both RGB and YUV pixel formats.
      
      v2: added support for RGB pixel formats (Swati)
      v3: simplified constraint and made it more readable (Petri)
      v4: -used igt_format_str instead of macro to print fourcc code (Ville)
          -dropped patch#1 because of above change
      v5: -Removed connector_dynamic_subtest_end macro and modified
           connector_dynamic_subtest to allow scoping depending on
           requirement (Petri)
          -Changed test names to make it more revealing (Arek)
      
      Signed-off-by: KunalJoshi95's avatarKunal Joshi <kunal1.joshi@intel.com>
      Reviewed-by: default avatarArkadiusz Hiler <arkadiusz.hiler@intel.com>
      59fd8a0d
  4. Mar 11, 2020
    • Emil Velikov's avatar
      test/core_setmaster: new test for drop/set master semantics · 8973d811
      Emil Velikov authored and Petri Latvala's avatar Petri Latvala committed
      
      This test adds three distinct subtests:
       - drop/set master as root
       - drop/set master as non-root
       - drop/set master for a shared fd
      
      Currently the second subtest will fail, with kernel patch to address
      that has been submitted.
      
      v2:
       - Add to the autotools build
      
      v3:
       - Add igt_describe()
       - Use igt_fixture() for tweak_perm
       - Enhance comments
      
      v4:
       - More comment tweaks
       - Add close(drm_open_driver()) workaround
       - Use igt_require() for the fd, in final test
      
      v5:
       - Drop the close(drm_open_driver()) workaround
      
      Cc: Petri Latvala <petri.latvala@intel.com>
      Reviewed-by: default avatarPetri Latvala <petri.latvala@intel.com>
      Signed-off-by: default avatarEmil Velikov <emil.velikov@collabora.com>
      8973d811
  5. Mar 09, 2020
  6. Mar 07, 2020
  7. Mar 06, 2020
  8. Mar 05, 2020
    • Janusz Krzysztofik's avatar
      tests/gem_userptr_blits: Refresh map-fixed-invalidate* subtests · 22df72de
      Janusz Krzysztofik authored and Petri Latvala's avatar Petri Latvala committed
      
      map-fixed-invalidate* subtests utilize gem_set_tiling() which may fail,
      e.g. on hardware with no mappable aperture, due to missing fences.
      Skip those subtests if fences are not available.
      
      Moreover, those subtests use GEM_MMAP_GTT IOCTL which has been replaced
      by GEM_MMAP_OFFSET that supports other mapping types, not only GTT.
      Use the new IOCTL and dynamically examine all MMAP_OFFSET types
      supported by hardware.
      
      v2: Examine all supported MMAP_OFFSET types, not only the first one
          that works,
        - add subtest description.
      v3: Refresh on top of commit 384e7ecb ("lib/i915: Restrict mmap
          types to GTT if no MMAP_OFFSET support").
      
      Signed-off-by: default avatarJanusz Krzysztofik <janusz.krzysztofik@linux.intel.com>
      Cc: Michał Winiarski <michal.winiarski@intel.com>
      Reviewed-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      22df72de
    • Chris Wilson's avatar
      i915/gem_exec_balancer: Exercise bonded-payload synchronisation · 48fa8e88
      Chris Wilson authored
      
      Our goal with bonded submission is to submit the pair of user batches to
      the HW at roughly the same time, and so try to avoid any bubbles. If we
      submit the secondary batch too early, it will be running before the
      first and stuck on the HW preventing others from utilising the GPU. At
      worst, it may even appear unresponsive and trigger a GPU hang as it
      waits for its master. If we submit the secondary too late, the reverse
      situation may apply to the master as it has to wait for the secondaries.
      
      This test tries to verify that using a submit-fence to create a bonded
      pair does not prevent others from using the HW. By using a pair of
      spinners, we can create a bonded hog that when set in motion will fully
      utilize both engines [if the scheduling is incorrect]. We then use a
      third party submitted after the bonded pair to cancel the spinner from
      the GPU -- if it is unable to run, the spinner is never cancelled, and
      the bonded pair will cause a GPU hang.
      
      Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
      Reviewed-by: default avatarTvrtko Ursulin <tvrtko.ursulin@intel.com>
      48fa8e88
    • Tvrtko Ursulin's avatar
      gem_wsim: Fix calibration for default and virtual engine · 41422f83
      Tvrtko Ursulin authored
      
      When providing engine calibrations on the command line, we need to apply
      the one given for RCS to DEFAULT as well.
      
      Also when load balancing is used we need to get calibration from one of
      the real engines from the map which should provide a better match.
      
      Signed-off-by: default avatarTvrtko Ursulin <tvrtko.ursulin@intel.com>
      Reviewed-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      41422f83
    • Tvrtko Ursulin's avatar
      tests/i915/query: Do not assert engine info rsvd being zero · c58b4492
      Tvrtko Ursulin authored
      
      These are not input fields and i915 currently leaves them untouched.
      
      In the spirit of trusting the query as the authoritative source of
      information, stop asserting these output only reserved fields are zero.
      
      This should prevent the test from auto-failing if we extend the data in
      the future.
      
      Signed-off-by: default avatarTvrtko Ursulin <tvrtko.ursulin@intel.com>
      Cc: Brian Welty <brian.welty@intel.com>
      Reviewed-by: default avatarBrian Welty <brian.welty@intel.com>
      c58b4492
  9. Mar 04, 2020
  10. Mar 03, 2020
Loading