Skip to content

Keep tests working without relocations

Andrzej Turko igt-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tests/gem_exec_store: Support gens without relocationstests/i915/gem_exec_store.c+106 -283 replies
2/2tests/gem_softpin: Exercise eviction with softpinningtests/i915/gem_softpin.c+211 -11 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchZbigniew Kempczyński
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [igt-dev] [PATCH i-g-t 0/2] 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/gem_exec_store: Support gens without relocations tests/gem_softpin: Exercise eviction with softpinning

 tests/i915/gem_exec_store.c | 134 ++++++++++++++++++-----
 tests/i915/gem_softpin.c    | 212 +++++++++++++++++++++++++++++++++++-
 2 files changed, 317 insertions(+), 29 deletions(-)
Signature · 1 line
2.25.1