Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Zack Rusin <zack.rusin@broadcom.com>
To: igt-dev@lists.freedesktop.org
Cc: ian.forbes@broadcom.com, martin.krastev@broadcom.com,
	maaz.mombasawala@broadcom.com, kamil.konieczny@linux.intel.com,
	Zack Rusin <zack.rusin@broadcom.com>
Subject: [PATCH i-g-t v5 0/4] Add vmwgfx prime tests
Date: Tue, 30 Jul 2024 14:59:26 -0400	[thread overview]
Message-ID: <20240730190037.1134020-1-zack.rusin@broadcom.com> (raw)

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
v5: Add a commit message saying that the copyrights have been updated

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


             reply	other threads:[~2024-07-30 19:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-30 18:59 Zack Rusin [this message]
2024-07-30 18:59 ` [PATCH i-g-t v5 1/4] tests/vmwgfx: Removing incorrect assert in mob_repeated_unref Zack Rusin
2024-07-30 18:59 ` [PATCH i-g-t v5 2/4] lib/vmwgfx: Allow using any buffer handle as a surface backing Zack Rusin
2024-07-30 18:59 ` [PATCH i-g-t v5 3/4] tests/vmwgfx: Add a prime test Zack Rusin
2024-07-30 18:59 ` [PATCH i-g-t v5 4/4] tests/vmwgfx: Fix and extend the reference counting test Zack Rusin
2024-07-30 19:43 ` ✗ CI.xeBAT: failure for Add vmwgfx prime tests (rev5) Patchwork
2024-07-31 18:07   ` Kamil Konieczny
2024-07-30 19:54 ` ✓ Fi.CI.BAT: success " Patchwork
2024-07-30 21:19 ` ✗ CI.xeFULL: failure " Patchwork
2024-07-31 18:10   ` Kamil Konieczny
2024-07-31  4:56 ` ✗ Fi.CI.IGT: " Patchwork
2024-07-31 18:08   ` Kamil Konieczny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240730190037.1134020-1-zack.rusin@broadcom.com \
    --to=zack.rusin@broadcom.com \
    --cc=ian.forbes@broadcom.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=kamil.konieczny@linux.intel.com \
    --cc=maaz.mombasawala@broadcom.com \
    --cc=martin.krastev@broadcom.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox