Skip to content

Keep tests working without relocations

Andrzej Turko igt-dev 5 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest5 patches 0 repliesNew
  2. v55 patches 0 repliesSuperseded
  3. v44 patches 0 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v32 patches0 repliesSuperseded
v12 patches0 repliesSuperseded

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5tests/i915/gem_exec_store: Support gens without relocationstests/i915/gem_exec_store.c+112 -300 replies
2/5tests/i915/gem_exec_gttfill: Require relocation supporttests/i915/gem_exec_gttfill.c+1 -00 replies
3/5tests/i915/gem_exec_capture: Support gens without relocationstests/i915/gem_exec_capture.c+102 -310 replies
4/5tests/i915/gem_softpin: Exercise eviction with softpinningtests/i915/gem_softpin.c+215 -00 replies
5/5tests/i915/gem_exec_big: Require relocation supporttests/i915/gem_exec_big.c+1 -00 replies

Reviews trailers per patch

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

Read the v7 thread

Cover letter [igt-dev] [PATCH i-g-t v7 0/5] 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 (5):
tests/i915/gem_exec_store: Support gens without relocations tests/i915/gem_exec_gttfill: Require relocation support tests/i915/gem_exec_capture: Support gens without relocations tests/i915/gem_softpin: Exercise eviction with softpinning tests/i915/gem_exec_big: Require relocation support

 tests/i915/gem_exec_big.c     |   1 +
 tests/i915/gem_exec_capture.c | 133 ++++++++++++++++-----
 tests/i915/gem_exec_gttfill.c |   1 +
 tests/i915/gem_exec_store.c   | 142 +++++++++++++++++-----
 tests/i915/gem_softpin.c      | 215 ++++++++++++++++++++++++++++++++++
 5 files changed, 431 insertions(+), 61 deletions(-)
Signature · 6 lines
2.25.1

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev