[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:35:38 UTC 2017
On 12/10/17 15:30, Daniele Ceraolo Spurio wrote:
> 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
>
Forgot to mention that this series depends on both the other series I've
sent
Daniele
> 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(-)
>
More information about the Intel-gfx
mailing list