[igt-dev] [PATCH v4 i-g-t 0/4] Keep tests working without relocations
Andrzej Turko
andrzej.turko at linux.intel.com
Fri Jul 2 11:52:30 UTC 2021
With relocations disabled for newer generations
the addresses of buffer objects in memory need
to be known in advance and, hence, assigned in
userspace.
If relocations are not supported, the tests now
use the intel allocator to find offsets and
update the contents of batches correspondingly.
Cc: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
Andrzej Turko (4):
tests/i915/gem_exec_store: Support gens without relocations
tests/i915/gem_exec_gttfill: Require relocation support
tests/i915/gem_softpin: Exercise eviction with softpinning
tests/i915/gem_exec_capture: Support gens without relocations
tests/i915/gem_exec_capture.c | 213 +++++++++++++++++++++++---------
tests/i915/gem_exec_gttfill.c | 1 +
tests/i915/gem_exec_store.c | 194 +++++++++++++++++++++--------
tests/i915/gem_softpin.c | 221 ++++++++++++++++++++++++++++++++++
4 files changed, 525 insertions(+), 104 deletions(-)
--
2.25.1
More information about the igt-dev
mailing list