Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Steven Price <steven.price@arm.com>
To: Daniel Almeida <daniel.almeida@collabora.com>,
	adrinael@adrinael.net, arek@hiler.eu,
	kamil.konieczny@linux.intel.com, juhapekka.heikkila@gmail.com,
	bhanuprakash.modem@gmail.com, ashutosh.dixit@intel.com,
	karthik.b.s@intel.com, boris.brezillon@collabora.com,
	liviu.dudau@arm.com, aliceryhl@google.com, jeffv@google.com
Cc: intel-gfx@lists.freedesktop.org, igt-dev@lists.freedesktop.org,
	dri-devel@lists.freedesktop.org
Subject: Re: [PATCH i-g-t v2 0/3] Add initial Panthor tests
Date: Mon, 15 Sep 2025 15:40:39 +0100	[thread overview]
Message-ID: <3ef3dc64-69dc-43b2-a77a-7fb3e552e4e6@arm.com> (raw)
In-Reply-To: <20250912181931.3738444-1-daniel.almeida@collabora.com>

On 12/09/2025 19:19, Daniel Almeida wrote:
> This series adds basic Panthor tests. In particular, these are being
> used to test both Panthor[0] and Tyr[1], i.e.: the new Rust GPU driver
> that implements Panthor's uAPI (i.e.: panthor_drm.h). Most of the
> initial tests were chosen in order to have something to test Tyr with,
> but this series lays the groundwork so that more interesting tests can
> be added to test more of Panthor itself.
> 
> This work is being tested on a RockPi 5, featuring an rk3588 SoC and
> Mali-G610 Valhall.
> 
> Note that there's a few (less than five?) remaining checkpatch.pl
> comments about long lines. IMHO there's no way to format them better so
> I hope we can live with this.
> 
> [0]: https://patchwork.freedesktop.org/patch/msgid/20240229162230.2634044-12-boris.brezillon@collabora.com
> [1]: https://lore.kernel.org/dri-devel/aMLB0Vs0dJ_AkU4z@google.com/
> 
> Changes from v1:
> - Rebased on top of the latest master
> - Squashed patch 3 from v1 into patch 2.
> - Switched to /* */ comments in headers
> - Initialized padding fields to 0 as applicable in group_destroy and
>   vm_destroy
> - Removed wrong assert(gpu_rev != 0)
> - Changed indentation to use tabs
> - Rework igt_panthor_mmap_bo to take an offset (so we don't call the
>   mmap_offset ioctl twice)
> - Added igt_describe and docs to the functions igt_panthor.c
> - Linked to the driver in the cover letter and patch 1.
> - Improved the commit message for patch 1.
> Link to v1: https://lore.kernel.org/dri-devel/20250828130402.2549948-1-daniel.almeida@collabora.com/

Looks good to me, and all the tests now pass (using Panthor) on my Rock5B.

Tested-by: Steven Price <steven.price@arm.com>

Thanks,
Steve

> 
> Daniel Almeida (3):
>   lib: add support for opening Panthor devices
>   panthor: add initial infrastructure
>   tests/panthor: add panthor tests
> 
>  lib/drmtest.c                 |   1 +
>  lib/drmtest.h                 |   1 +
>  lib/igt_panthor.c             | 229 ++++++++++++++++++++++++++++
>  lib/igt_panthor.h             |  30 ++++
>  lib/meson.build               |   1 +
>  meson.build                   |   8 +
>  tests/meson.build             |   2 +
>  tests/panthor/meson.build     |  15 ++
>  tests/panthor/panthor_gem.c   |  66 ++++++++
>  tests/panthor/panthor_group.c | 276 ++++++++++++++++++++++++++++++++++
>  tests/panthor/panthor_query.c |  25 +++
>  tests/panthor/panthor_vm.c    |  80 ++++++++++
>  12 files changed, 734 insertions(+)
>  create mode 100644 lib/igt_panthor.c
>  create mode 100644 lib/igt_panthor.h
>  create mode 100644 tests/panthor/meson.build
>  create mode 100644 tests/panthor/panthor_gem.c
>  create mode 100644 tests/panthor/panthor_group.c
>  create mode 100644 tests/panthor/panthor_query.c
>  create mode 100644 tests/panthor/panthor_vm.c
> 


      parent reply	other threads:[~2025-09-15 14:40 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-12 18:19 [PATCH i-g-t v2 0/3] Add initial Panthor tests Daniel Almeida
2025-09-12 18:19 ` [PATCH i-g-t v2 1/3] lib: add support for opening Panthor devices Daniel Almeida
2025-09-16 12:03   ` Kamil Konieczny
2025-09-12 18:19 ` [PATCH i-g-t v2 2/3] panthor: add initial infrastructure Daniel Almeida
2025-09-16 12:12   ` Kamil Konieczny
2025-09-25 12:42     ` Daniel Almeida
2025-09-25 14:51       ` Kamil Konieczny
2025-09-12 18:19 ` [PATCH i-g-t v2 3/3] tests/panthor: add panthor tests Daniel Almeida
2025-09-16 12:15   ` Kamil Konieczny
2025-09-25 15:45   ` Daniel Stone
2025-10-07 13:39     ` Daniel Almeida
2025-10-07 16:40       ` Daniel Almeida
2025-10-07 16:50         ` Boris Brezillon
2025-09-25 17:46   ` Kamil Konieczny
2025-09-15 14:40 ` Steven Price [this message]

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=3ef3dc64-69dc-43b2-a77a-7fb3e552e4e6@arm.com \
    --to=steven.price@arm.com \
    --cc=adrinael@adrinael.net \
    --cc=aliceryhl@google.com \
    --cc=arek@hiler.eu \
    --cc=ashutosh.dixit@intel.com \
    --cc=bhanuprakash.modem@gmail.com \
    --cc=boris.brezillon@collabora.com \
    --cc=daniel.almeida@collabora.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=jeffv@google.com \
    --cc=juhapekka.heikkila@gmail.com \
    --cc=kamil.konieczny@linux.intel.com \
    --cc=karthik.b.s@intel.com \
    --cc=liviu.dudau@arm.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