1. 28 Feb, 2019 1 commit
  2. 26 Feb, 2019 3 commits
  3. 25 Feb, 2019 1 commit
  4. 21 Feb, 2019 2 commits
  5. 20 Feb, 2019 4 commits
  6. 19 Feb, 2019 2 commits
  7. 18 Feb, 2019 1 commit
  8. 17 Feb, 2019 1 commit
  9. 15 Feb, 2019 5 commits
  10. 13 Feb, 2019 1 commit
    • Guillaume Tucker's avatar
      i915/gem_ctx_sseu: Fix 32-bit build · c551087d
      Guillaume Tucker authored
      This fixes a compiler warning treated as an error when building for
      32-bit architectures since their pointer size does not match the size
      of drm_i915_gem_context_param.value which is 64 bits:
      
        CC       i915/gem_ctx_sseu.o
        i915/gem_ctx_sseu.c: In function ‘test_ggtt_args’:
        i915/gem_ctx_sseu.c:384:9: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
          munmap((void *)arg.value, 4096);
      
      It was found while building for arm with gcc 6.3.0 and I suspect the
      same problem would arise for i386 or other 32-bit architectures.  The
      uintptr_t type is by definition an unsigned integer of the same length
      as a pointer on a given architecture, so this should fix the problem
      for all architectures up to 64 bits.
      Signed-off-by: Guillaume Tucker's avatarGuillaume Tucker <guillaume.tucker@collabora.com>
      Reviewed-by: Chris Wilson's avatarChris Wilson <chris@chris-wilson.co.uk>
      c551087d
  11. 12 Feb, 2019 3 commits
  12. 08 Feb, 2019 2 commits
  13. 05 Feb, 2019 3 commits
    • Tony Ye's avatar
      tests/gem_media_vme: Shut down half of subslices to avoid gpu hang on ICL · 6975affb
      Tony Ye authored
      On Icelake we need to turn off subslices not containing the VME block or
      the VME kernel will hang.
      
      v2: (Tvrtko Ursulin)
       * Remove libdrm usage for setting context param.
       * Cleanup bitmask operation.
       * Only apply the workaround for ICL.
      
      v3: (Tvrtko Ursulin)
       * Added hang detector. (Chris Wilson)
      
      v4: (Tvrtko Ursulin)
       * Rebase for hang detector moved to previous patch.
       * Tidy curly braces.
      
      v5: (Tvrtko Ursulin)
       * Whitespace tidy. (Joonas)
      Signed-off-by: default avatarTony Ye <tony.ye@intel.com>
      Signed-off-by: Tvrtko Ursulin's avatarTvrtko Ursulin <tvrtko.ursulin@intel.com>
      Cc: Tony Ye <tony.ye@intel.com>
      Reviewed-by: Joonas Lahtinen's avatarJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
      6975affb
    • Tony Ye's avatar
      tests/gem_media_vme: Simple test to exercise the VME block · c4b2b2f0
      Tony Ye authored
      Simple test which exercises the VME fixed function block.
      
      v2: (Tvrtko Ursulin)
       * Small cleanups like copyright date, tabs, remove unused bits.
      
      v3: (Tony Ye)
       * Added curbe data entry for dst surface.
       * Read the dst surface after the VME kernel being executed.
      
      v4: (Tony Ye)
       * Added the media_vme.gxa kernel source code and compile instructions.
      
      v5: (Tvrtko Ursulin)
       * Added hang detector.
      
      v6: (Tvrtko Ursulin)
       * Replace gem_read with gem_sync. (Chris Wilson)
      Signed-off-by: default avatarTony Ye <tony.ye@intel.com>
      Signed-off-by: Tvrtko Ursulin's avatarTvrtko Ursulin <tvrtko.ursulin@intel.com>
      Cc: Tony Ye <tony.ye@intel.com>
      Reviewed-by: Joonas Lahtinen's avatarJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
      c4b2b2f0
    • Lionel Landwerlin's avatar
      tests/gem_ctx_sseu: Dynamic (sub)slice programming tests · 5b31f04a
      Lionel Landwerlin authored
      Verify that the per-context dynamic SSEU uAPI works as expected.
      
      v2: Add subslice tests (Lionel)
          Use MI_SET_PREDICATE for further verification when available (Lionel)
      
      v3: Rename to gem_ctx_rpcs (Lionel)
      
      v4: Update kernel API (Lionel)
          Add 0 value test (Lionel)
          Exercise invalid values (Lionel)
      
      v5: Add perf tests (Lionel)
      
      v6: Add new sysfs entry tests (Lionel)
      
      v7: Test rsvd fields
          Update for kernel series changes
      
      v8: Drop test_no_sseu_support() test (Kelvin)
          Drop drm_intel_*() apis (Chris)
      
      v9: by Chris:
          Drop all do_ioctl/do_ioctl_err()
          Use gem_context_[gs]et_param()
          Use gem_read() instead of mapping memory
          by Lionel:
          Test dynamic sseu on/off more
      
      Tvrtko Ursulin:
      
      v10:
       * Various style tweaks and refactorings.
       * New test coverage.
      
      v11:
       * Change platform support to just Gen11.
       * Simplify availability test. (Chris Wilson)
       * More invalid pointer tests. (Chris Wilson)
      
      v12:
       * Fix MAP_FIXED use (doh!).
       * Fix get/set copy&paste errors.
       * Drop supported platform test. (Chris Wilson)
       * Add mmap__gtt test. (Chris Wilson)
      
      v13:
       * Commit message tweaks.
       * Added reset/hang/suspend tests. (Chris Wilson)
       * Assert spinner is busy. (Chris Wilson)
       * Remove some more ABI assumptions. (Chris Wilson)
      
      v14:
       * Use default resume time. (Chris Wilson)
       * Trigger hang after rpcs read batch has been submitted. (Chris Wilson)
      
      v15:
       * Adjust for uAPI restrictions.
      
      v16:
       * Build system changes.
      
      v17:
       * Remove all subtests which read the RPCS register. (Joonas Lahtinen)
      
      v18:
       * Tidy curly braces. (Joonas Lahtinen)
      
      v19:
       * Check flags/rsvd MBZ.
      
      v20:
       * Rebase for engine_class/engine_instance uapi change.
      
      v21:
       * Fixed meson.build.
      Signed-off-by: Lionel Landwerlin's avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
      Signed-off-by: Tvrtko Ursulin's avatarTvrtko Ursulin <tvrtko.ursulin@intel.com>
      Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> # v14
      Reviewed-by: Joonas Lahtinen's avatarJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
      5b31f04a
  14. 04 Feb, 2019 1 commit
  15. 02 Feb, 2019 1 commit
  16. 31 Jan, 2019 1 commit
  17. 30 Jan, 2019 4 commits
  18. 29 Jan, 2019 2 commits
  19. 28 Jan, 2019 1 commit
  20. 24 Jan, 2019 1 commit