Skip to content

Keep tests working without relocations 2

Andrzej Turko igt-dev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tests/i915/gem_streaming_writes: Support gens without relocationstests/i915/gem_streaming_writes.c+100 -510 replies
2/2tests/i915/gem_exec_lut_handle: Require relocation supporttests/i915/gem_exec_lut_handle.c+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [igt-dev] [PATCH i-g-t 0/2] Keep tests working without relocations 2

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_streaming_writes: Support gens without relocations tests/i915/gem_exec_lut_handle: Require relocation support

 tests/i915/gem_exec_lut_handle.c  |   1 +
 tests/i915/gem_streaming_writes.c | 151 ++++++++++++++++++++----------
 2 files changed, 101 insertions(+), 51 deletions(-)
Signature · 1 line
2.25.1