[igt-dev] [PATCH i-g-t 0/7] Prepare IGTs to allow only zero alignment

Zbigniew Kempczyński zbigniew.kempczynski at intel.com
Thu Oct 14 08:19:10 UTC 2021


In the future we're planning to allow passing only zero alignment so
this is preparation step to introduce check and disable or fix 
igts which uses this constraint.

v2: rename to gem_allows_obj_alignment() (Ashutosh)
    addressing review comments from Ashutosh

Cc: Petri Latvala <petri.latvala at intel.com>
Cc: Ashutosh Dixit <ashutosh.dixit at intel.com>

Zbigniew Kempczyński (7):
  lib/gem_submission: Add kernel exec object alignment capability
  lib/intel_batchbuffer: Detect and use kernel alignment capability
  tests/gem_exec_alignment: Add prerequisite alignment condition
  tests/gem_evict_alignment: Skip if kernel doesn't support obj
    alignment
  tests/i915_pm_rpm: Fix invalid alignment
  benchmarks/gem_exec_fault: Add timeout argument
  benchmarks/gem_exec_fault: Add softpin mode to support gens with ppgtt

 benchmarks/gem_exec_fault.c      | 67 +++++++++++++++++++++++++++-----
 lib/i915/gem_submission.c        | 32 +++++++++++++++
 lib/i915/gem_submission.h        |  1 +
 lib/intel_batchbuffer.c          |  9 ++++-
 lib/intel_batchbuffer.h          |  1 +
 tests/i915/gem_evict_alignment.c |  1 +
 tests/i915/gem_exec_alignment.c  |  1 +
 tests/i915/i915_pm_rpm.c         |  2 +-
 8 files changed, 101 insertions(+), 13 deletions(-)

-- 
2.26.0



More information about the igt-dev mailing list