[igt-dev] [PATCH i-g-t 0/3] Add start offset and alignment detection

Zbigniew Kempczyński zbigniew.kempczynski at intel.com
Thu Jan 6 10:00:40 UTC 2022


Add some universal code which tries to detect kernel offset capabilities.

v2: unify cache, fix start offset iteration
    run gem_softpin at safe-alignment also on integrated
v3: move cache entry out of mutex
v4: avoid assert and skip adding to cache if there's no memory
    rename to safe-start
    verify safe start offset on each engine
v5: fix function doc (Ashutosh)
v6: remove unnecessary initialization + rename to safe-alignment (Ashutosh)
    add 48b flag for softpin (Zbigniew)

Zbigniew Kempczyński (3):
  lib/intel_memory_region: Add start offset and alignment detection
  tests/i915/gem_softpin: Add safe-alignment test
  tests/fast-feedback.testlist: Add gem_softpin at safe-alignment subtest

 lib/i915/intel_memory_region.c        | 373 ++++++++++++++++++++++++++
 lib/i915/intel_memory_region.h        |   5 +
 tests/i915/gem_softpin.c              |  87 ++++++
 tests/intel-ci/fast-feedback.testlist |   1 +
 4 files changed, 466 insertions(+)

-- 
2.32.0



More information about the igt-dev mailing list