All of lore.kernel.org
 help / color / mirror / Atom feed
From: Antonio Argenziano <antonio.argenziano@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [RFC 0/4] Improve mmap interface coverage
Date: Tue, 12 Mar 2019 14:57:34 -0700	[thread overview]
Message-ID: <20190312215738.5598-1-antonio.argenziano@intel.com> (raw)

Adding some negative interface tests to the mmap IOCTL. The tests introduced
here supply some invalid parameters to the MMAP IOCTL and expect an error
in return.

The series also adds a new test for prime mmap correctness. The idea was to add
tests for all coherency correctness checks but the tests but all those I looked
at had a WC subtest. Since I probably missed something sending this as RFC :).

Antonio Argenziano (4):
  tests/i915/gem_mmap_gtt: Add invalid parameters test
  tests/i915/gem_mmap: Add invalid parameters tests
  tests/i915/gem_mmap_wc: Add invalid params tests
  tests/i915/prime_mmap: Add WC correctness test

 tests/i915/gem_mmap.c     | 18 ++++++++++++++
 tests/i915/gem_mmap_gtt.c | 12 +++++++++
 tests/i915/gem_mmap_wc.c  | 52 +++++++++++++++++++++++++++++++++++++++
 tests/prime_mmap.c        | 36 +++++++++++++++++++++++++--
 4 files changed, 116 insertions(+), 2 deletions(-)

-- 
2.20.1

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

             reply	other threads:[~2019-03-12 21:58 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-12 21:57 Antonio Argenziano [this message]
2019-03-12 21:57 ` [igt-dev] [RFC 1/4] tests/i915/gem_mmap_gtt: Add invalid parameters test Antonio Argenziano
2019-03-12 22:04   ` Chris Wilson
2019-03-12 22:11     ` Antonio Argenziano
2019-03-12 22:18       ` Chris Wilson
2019-03-12 21:57 ` [igt-dev] [RFC 2/4] tests/i915/gem_mmap: Add invalid parameters tests Antonio Argenziano
2019-03-12 22:02   ` Chris Wilson
2019-03-12 22:13     ` Antonio Argenziano
2019-03-13 22:18     ` Antonio Argenziano
2019-03-13 22:52       ` Chris Wilson
2019-03-12 21:57 ` [igt-dev] [RFC 3/4] tests/i915/gem_mmap_wc: Add invalid params tests Antonio Argenziano
2019-03-12 21:57 ` [igt-dev] [RFC 4/4] tests/i915/prime_mmap: Add WC correctness test Antonio Argenziano
2019-03-12 22:07   ` Chris Wilson
2019-03-13 13:38 ` [igt-dev] ✓ Fi.CI.BAT: success for Improve mmap interface coverage Patchwork
2019-03-13 16:12 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork

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=20190312215738.5598-1-antonio.argenziano@intel.com \
    --to=antonio.argenziano@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.