[igt-dev] [PATCH i-g-t v2 0/2] Fix invalid usage of put_offset()

Zbigniew Kempczyński zbigniew.kempczynski at intel.com
Mon Dec 19 11:58:10 UTC 2022


Fixes invalid usage of put_offset() - it should be called with handle,
not with offset (all three tests have this problem).

Also change allocator opening a bit in gem_exec_whisper - with stateful
reloc allocator separation of vm spaces is necessary (previously it 
just incremented offsets so there was no risk of overlapping even
when all processes uses single allocator underneath).

Cc: Kamil Konieczny <kamil.konieczny at linux.intel.com>

Zbigniew Kempczyński (2):
  tests/gem_*: Fix release offsets
  tests/gem_exec_whisper: Fix offsets handling and separate allocators

 tests/i915/gem_blits.c         | 12 ++++++------
 tests/i915/gem_ctx_isolation.c |  6 +++---
 tests/i915/gem_exec_whisper.c  |  7 ++++---
 3 files changed, 13 insertions(+), 12 deletions(-)

-- 
2.34.1



More information about the igt-dev mailing list