Re: [PATCH i-g-t v5 00/10] tests/imagination: Add initial test coverage for Imagination DRM driver

Brajesh Gupta <[email protected]> Tue, 28 Jul 2026 15:45:05 +0000
Newsgroups org.freedesktop.lists.igt-dev
Message-ID <[email protected]>
On Tue, 2026-07-28 at 09:18 +0200, Robert Mazur wrote:
Hi Robert,
> *** NOTE: This is an internal email from Imagination Technologies ***
> 
> 
> 
> 
> 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 <[email protected]>
> ---
> Changes in v5:
> - Resent due to mail server issues.
> - Link to v4: https://lore.kernel.org/r/20260727-test-imagination-add-support-v4-0-a3dbe0382437@imgtec.com
> 
> Changes in v4:
> - Added Acked-by tags from Kamil Konieczny.
> - Switched DEV_QUERY helper to use to_user_pointer() instead of a direct uint64_t pointer cast.
> - Fixed userspace errno include in VM_CONTEXT tests.
> - Simplified helper function naming and moved first parameter to the same line in free list and HWRT tests.
> - Fixed formatting and kernel-doc style issues (whitespace and comments).
> - Improved commit message wording in DEV_QUERY-related tests.
> - Removed an extra blank line in runtime_info tests.
> - Link to v3: https://lore.kernel.org/r/20260717-test-imagination-add-support-v3-0-ce69f9ad330c@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           | 216 ++++++++++++++++++
>  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                | 166 ++++++++++++++
>  tests/imagination/pvr_quirks_enhancements.c | 112 ++++++++++
>  tests/imagination/pvr_runtime_info.c        |  31 +++
>  tests/imagination/pvr_vm_context.c          |  78 +++++++
>  tests/meson.build                           |   2 +
>  18 files changed, 1457 insertions(+)
> ---
> base-commit: 1e912fa143a35c4238a1fbcf94443175d8ce1d60
> change-id: 20260717-test-imagination-add-support-5c2a9e84fadb
> 
> Best regards,
> --
> Robert Mazur <[email protected]>
> 
For the whole series:
Tested-by: Brajesh Gupta <[email protected]>

Thanks,
Brajesh