Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Mazur <robert.mazur@imgtec.com>
To: <igt-dev@lists.freedesktop.org>
Cc: Alessio Belle <alessio.belle@imgtec.com>,
	Luigi Santivetti <luigi.santivetti@imgtec.com>,
	Brajesh Gupta <brajesh.gupta@imgtec.com>,
	Robert Mazur <robert.mazur@imgtec.com>,
	Matt Coster <matt.coster@imgtec.com>,
	Donald Robson <donald.robson@imgtec.com>,
	Frank Binns <frank.binns@imgtec.com>,
	Sarah Walker <sarah.walker@imgtec.com>
Subject: [PATCH i-g-t v3 00/10] tests/imagination: Add initial test coverage for Imagination DRM driver
Date: Fri, 17 Jul 2026 16:21:32 +0200	[thread overview]
Message-ID: <20260717-test-imagination-add-support-v3-0-ce69f9ad330c@imgtec.com> (raw)

This series introduces a new Imagination-specific
set of tests covering core driver functionality exposed through GEM and
IOCTL interfaces. The tests focus on validating userspace-visible APIs.
 
The series includes:
 
  - Imagination test framework
  - GEM mmap coverage
  - DEV_QUERY API validation
  - GPU ID verification
  - Heap information tests
  - Static data area tests
  - VM context tests
  - Free list creation tests
  - HWRT creation tests
  - Runtime information tests
  - Quirks and enhancements query tests
 
This establishes the foundation for future Imagination driver testing.

Signed-off-by: Robert Mazur <robert.mazur@imgtec.com>
---
Changes in v3:
- Added descriptions for the library functions.
- Moved system headers to the top of the include list.
- Switched to drm_driver_close().
- Fixed formatting issues.
- Link to v2: https://lore.kernel.org/r/20260717-test-imagination-add-support-v2-0-e1bf415adcee@imgtec.com

Changes in v2:
- Fix threading issue
- Link to v1: https://lore.kernel.org/r/20260717-test-imagination-add-support-v1-0-2f02f9cc3b53@imgtec.com

---
Donald Robson (5):
      tests/imagination: Add DEV_QUERY tests
      tests/imagination: Add DEV_QUERY static data area tests
      tests/imagination: Add VM_CONTEXT tests
      tests/imagination: Add DEV_QUERY quirks and enhancements tests
      tests/imagination: Add DEV_QUERY runtime_info tests

Frank Binns (1):
      tests/imagination: Add GPU ID test

Matt Coster (2):
      tests/imagination: Add framework for Imagination tests
      tests/imagination: Add GEM mmap tests

Sarah Walker (2):
      tests/imagination: Add DEV_QUERY heap info tests
      tests/imagination: Add tests for free list and hwrt creation ioctls

 docs/platforms.md                           |   1 +
 lib/drmtest.c                               |  11 +
 lib/drmtest.h                               |   3 +
 lib/igt_pvr.c                               | 335 ++++++++++++++++++++++++++++
 lib/igt_pvr.h                               |  40 ++++
 lib/meson.build                             |   1 +
 meson.build                                 |   8 +
 tests/imagination/meson.build               |  21 ++
 tests/imagination/pvr_dev_query.c           |  99 ++++++++
 tests/imagination/pvr_free_list.c           | 218 ++++++++++++++++++
 tests/imagination/pvr_gem.c                 | 110 +++++++++
 tests/imagination/pvr_gpu_info.c            |  54 +++++
 tests/imagination/pvr_heap_info.c           | 169 ++++++++++++++
 tests/imagination/pvr_hwrt.c                | 168 ++++++++++++++
 tests/imagination/pvr_quirks_enhancements.c | 112 ++++++++++
 tests/imagination/pvr_runtime_info.c        |  32 +++
 tests/imagination/pvr_vm_context.c          |  78 +++++++
 tests/meson.build                           |   2 +
 18 files changed, 1462 insertions(+)
---
base-commit: 1e912fa143a35c4238a1fbcf94443175d8ce1d60
change-id: 20260717-test-imagination-add-support-5c2a9e84fadb

Best regards,
-- 
Robert Mazur <robert.mazur@imgtec.com>


             reply	other threads:[~2026-07-17 14:23 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-17 14:21 Robert Mazur [this message]
2026-07-17 14:21 ` [PATCH i-g-t v3 01/10] tests/imagination: Add framework for Imagination tests Robert Mazur
2026-07-22 13:44   ` Kamil Konieczny
     [not found]     ` <3a08b2b97b01954f2e6afef9244c05680d33e98d.camel@imgtec.com>
2026-07-27 18:18       ` [EXTERNAL] " Kamil Konieczny
2026-07-17 14:21 ` [PATCH i-g-t v3 02/10] tests/imagination: Add GEM mmap tests Robert Mazur
2026-07-22 13:46   ` Kamil Konieczny
2026-07-17 14:21 ` [PATCH i-g-t v3 03/10] tests/imagination: Add DEV_QUERY tests Robert Mazur
2026-07-22 14:12   ` Kamil Konieczny
2026-07-17 14:21 ` [PATCH i-g-t v3 04/10] tests/imagination: Add GPU ID test Robert Mazur
2026-07-22 14:13   ` Kamil Konieczny
2026-07-17 14:21 ` [PATCH i-g-t v3 05/10] tests/imagination: Add DEV_QUERY heap info tests Robert Mazur
2026-07-22 14:14   ` Kamil Konieczny
2026-07-17 14:21 ` [PATCH i-g-t v3 06/10] tests/imagination: Add DEV_QUERY static data area tests Robert Mazur
2026-07-22 14:21   ` Kamil Konieczny
2026-07-17 14:21 ` [PATCH i-g-t v3 07/10] tests/imagination: Add VM_CONTEXT tests Robert Mazur
2026-07-22 14:22   ` Kamil Konieczny
2026-07-17 14:21 ` [PATCH i-g-t v3 08/10] tests/imagination: Add tests for free list and hwrt creation ioctls Robert Mazur
2026-07-22 14:41   ` Kamil Konieczny
2026-07-17 14:21 ` [PATCH i-g-t v3 09/10] tests/imagination: Add DEV_QUERY quirks and enhancements tests Robert Mazur
2026-07-22 14:43   ` Kamil Konieczny
2026-07-17 14:21 ` [PATCH i-g-t v3 10/10] tests/imagination: Add DEV_QUERY runtime_info tests Robert Mazur
2026-07-22 14:45   ` Kamil Konieczny
2026-07-17 21:16 ` ✓ i915.CI.BAT: success for tests/imagination: Add initial test coverage for Imagination DRM driver (rev3) Patchwork
2026-07-17 21:20 ` ✓ Xe.CI.BAT: " Patchwork
2026-07-18  4:13 ` ✓ Xe.CI.FULL: " Patchwork
2026-07-18 10:57 ` ✓ i915.CI.Full: " 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=20260717-test-imagination-add-support-v3-0-ce69f9ad330c@imgtec.com \
    --to=robert.mazur@imgtec.com \
    --cc=alessio.belle@imgtec.com \
    --cc=brajesh.gupta@imgtec.com \
    --cc=donald.robson@imgtec.com \
    --cc=frank.binns@imgtec.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=luigi.santivetti@imgtec.com \
    --cc=matt.coster@imgtec.com \
    --cc=sarah.walker@imgtec.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