[Intel-gfx] [PATCH 0/4] tests: New userptr test case

Tvrtko Ursulin tvrtko.ursulin at linux.intel.com
Mon Feb 3 11:59:39 CET 2014


From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>

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

-- 
1.8.4.3




More information about the Intel-gfx mailing list