[PATCH i-g-t v3 0/4] Add vmwgfx prime tests
Zack Rusin
zack.rusin at broadcom.com
Fri Jun 28 19:02:39 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
v3: Fix a silly compile error in vmw_prime test and remove dumb buffer
test
Maaz Mombasawala (1):
tests/vmwgfx: Removing incorrect assert in mob_repeated_unref
Zack Rusin (3):
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
lib/igt_vmwgfx.c | 76 ++--
lib/igt_vmwgfx.h | 42 +--
tests/vmwgfx/meson.build | 7 +-
tests/vmwgfx/vmw_mob_stress.c | 5 +-
tests/vmwgfx/vmw_prime.c | 599 ++++++++++++++++++++++++++++++++
tests/vmwgfx/vmw_ref_count.c | 217 +++++++++---
tests/vmwgfx/vmw_surface_copy.c | 8 +-
tests/vmwgfx/vmw_tri.c | 12 +-
8 files changed, 839 insertions(+), 127 deletions(-)
create mode 100644 tests/vmwgfx/vmw_prime.c
--
2.40.1
More information about the igt-dev
mailing list