Keep tests working without relocations
cover Keep tests working without relocations
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 <[email protected]>
Andrzej Turko (2):
tests/i915/gem_exec_gttfill: Support gens without relocations tests/i915/gem_exec_store: Support gens without relocations
tests/i915/gem_exec_gttfill.c | 75 +++++++++++-- tests/i915/gem_exec_store.c | 194 +++++++++++++++++++++++++--------- 2 files changed, 209 insertions(+), 60 deletions(-)
Signature · 6 lines
2.25.1 _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev