Skip to content

tests: New userptr test case

Tvrtko Ursulin intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4tests/gem_evict_everything: Factor out eviction logictests/eviction_common.c tests/gem_evict_everything.c+276 -1690 replies
2/4tests/eviction_common: Avoid submitting duplicate objectstests/eviction_common.c+7 -01 reply
3/4tests/gem_userptr_blits: Expanded userptr test casestests/.gitignore tests/Makefile.sources tests/gem_userptr_blits.c+1187 -01 reply
4/4tests/gem_vmap_blits: Remove obsolete test casetests/.gitignore tests/Makefile.sources tests/gem_vmap_blits.c+0 -3460 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/4] tests: New userptr test case

From: Tvrtko Ursulin <[email protected]>

This patch series replaces the old vmap with the new userptr test case.

Some refactoring precedes the actual introduction to pull out code from gem_evict_everything which is useful for both.

Test case at the moment tests dmabuf sharing of userptr objects which is not currently implemented in the latest kernel patch.

Tvrtko Ursulin (4):
tests/gem_evict_everything: Factor out eviction logic tests/eviction_common: Avoid submitting duplicate objects tests/gem_userptr_blits: Expanded userptr test cases tests/gem_vmap_blits: Remove obsolete test case

 tests/.gitignore             |    2 +-
 tests/Makefile.sources       |    2 +-
 tests/eviction_common.c      |  242 +++++++++
 tests/gem_evict_everything.c |  210 ++------
 tests/gem_userptr_blits.c    | 1185 ++++++++++++++++++++++++++++++++++++++++++
 tests/gem_vmap_blits.c       |  344 ------------
 6 files changed, 1470 insertions(+), 515 deletions(-)
 create mode 100644 tests/eviction_common.c
 create mode 100644 tests/gem_userptr_blits.c
 delete mode 100644 tests/gem_vmap_blits.c
Signature · 1 line
1.8.4.3