[PATCH i-g-t v2 0/5] Add vmwgfx prime tests
Zack Rusin
zack.rusin at broadcom.com
Thu Jun 27 19:56:10 UTC 2024
The following series makes some adjustments for testing prime/dma-buf
on vmwgfx, adds a vmwgfx dedicated test for it and fixes some minor
issues.
The last patch in the series adds very basic prime tests to dumb_buffer
test to verify dumb_buffer<->prime functionality.
v2: Add a reference counting and dumb buffer tests plus fix issues
spotted by Kamil
Maaz Mombasawala (1):
tests/vmwgfx: Removing incorrect assert in mob_repeated_unref
Zack Rusin (4):
lib/vmwgfx: Allow using any buffer handle as a surface backing
tests/vmwgfx: Add a prime test
tests/vmwgfx: Fix and extend the reference counting test
tests/dumb_buffer: Add subtests for mixing dumb buffers with prime
lib/igt_vmwgfx.c | 76 ++--
lib/igt_vmwgfx.h | 42 +--
tests/dumb_buffer.c | 96 +++++
tests/vmwgfx/meson.build | 7 +-
tests/vmwgfx/vmw_mob_stress.c | 5 +-
tests/vmwgfx/vmw_prime.c | 609 ++++++++++++++++++++++++++++++++
tests/vmwgfx/vmw_ref_count.c | 217 +++++++++---
tests/vmwgfx/vmw_surface_copy.c | 8 +-
tests/vmwgfx/vmw_tri.c | 12 +-
9 files changed, 945 insertions(+), 127 deletions(-)
create mode 100644 tests/vmwgfx/vmw_prime.c
--
2.40.1
More information about the igt-dev
mailing list