[Intel-gfx] [PATCH i-g-t 0/4] Move imported bo pread/pwrite tests

Daniele Ceraolo Spurio daniele.ceraolospurio at intel.com
Thu Oct 12 22:30:40 UTC 2017


We already had coverage in prime_vgem.c, but since we're testing
pread/pwrite ioctl it makes more sense to have it in the corresponding
test binaries

Suggested-by: Chris Wilson <chris at chris-wilson.co.uk>
Cc: Chris Wilson <chris at chris-wilson.co.uk>

Daniele Ceraolo Spurio (4):
  lib/igt_vgem: extract vgem_create_and_import
  tests/gem_pread: test reads from a bo not backed by struct page
  test/gem_pwrite: test writes to a bo not backed by struct page
  tests/prime_vgem: drop basic-read/write subtests

 lib/igt_dummyload.c |  10 +---
 lib/igt_vgem.c      |  35 +++++++++++
 lib/igt_vgem.h      |   2 +
 tests/gem_pread.c   | 160 ++++++++++++++++++++++++++++++++++---------------
 tests/gem_pwrite.c  | 167 ++++++++++++++++++++++++++++++++++++++++------------
 tests/prime_vgem.c  | 104 +++-----------------------------
 6 files changed, 287 insertions(+), 191 deletions(-)

-- 
1.9.1



More information about the Intel-gfx mailing list