[PATCH i-g-t v4 0/4] Add vmwgfx prime tests

Zack Rusin zack.rusin at broadcom.com
Mon Jul 29 04:37:52 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
v4: checkpatch.pl improvements suggested by Kamil

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                |  43 +--
 tests/vmwgfx/meson.build        |   7 +-
 tests/vmwgfx/vmw_mob_stress.c   |   5 +-
 tests/vmwgfx/vmw_prime.c        | 584 ++++++++++++++++++++++++++++++++
 tests/vmwgfx/vmw_ref_count.c    | 214 +++++++++---
 tests/vmwgfx/vmw_surface_copy.c |   8 +-
 tests/vmwgfx/vmw_tri.c          |  12 +-
 8 files changed, 821 insertions(+), 128 deletions(-)
 create mode 100644 tests/vmwgfx/vmw_prime.c

-- 
2.43.0



More information about the igt-dev mailing list