dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: Kamil Konieczny <kamil.konieczny@linux.intel.com>
To: Daniel Almeida <daniel.almeida@collabora.com>
Cc: adrinael@adrinael.net, arek@hiler.eu,
	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,
	steven.price@arm.com, intel-gfx@lists.freedesktop.org,
	igt-dev@lists.freedesktop.org, dri-devel@lists.freedesktop.org
Subject: Re: [PATCH i-g-t 3/4] lib: initial panthor infrastructure
Date: Fri, 29 Aug 2025 13:42:43 +0200	[thread overview]
Message-ID: <20250829114243.wkerbxpyngc7h3ha@kamilkon-DESK.igk.intel.com> (raw)
In-Reply-To: <20250828130402.2549948-4-daniel.almeida@collabora.com>

Hi Daniel,
On 2025-08-28 at 10:03:59 -0300, Daniel Almeida wrote:
> Add the basic infrastructure that will be used by the Panthor tests
> themselves.
> 
> Signed-off-by: Daniel Almeida <daniel.almeida@collabora.com>
> ---
>  lib/igt_panthor.c | 14 ++++++++++++++
>  lib/igt_panthor.h |  8 ++++++++
>  lib/meson.build   |  1 +

Could you squash patch 2 and this one plus one basic test?
imho panthor_query.c is a good candidate for a first
working test, simple enough.

>  3 files changed, 23 insertions(+)
>  create mode 100644 lib/igt_panthor.c
>  create mode 100644 lib/igt_panthor.h
> 
> diff --git a/lib/igt_panthor.c b/lib/igt_panthor.c
> new file mode 100644
> index 000000000..3e2c29b17
> --- /dev/null
> +++ b/lib/igt_panthor.c
> @@ -0,0 +1,14 @@
> +// SPDX-License-Identifier: MIT
> +// SPDX-FileCopyrightText: Copyright (C) 2025 Collabora Ltd.
> +
> +#include "igt_panthor.h"
> +
> +/**
> + * SECTION:igt_panthor
> + * @short_description: Panthor support library
> + * @title: Panthor
> + * @include: igt.h
> + *
> + * This library provides various auxiliary helper functions for writing Panthor
> + * tests.
> + */
> diff --git a/lib/igt_panthor.h b/lib/igt_panthor.h
> new file mode 100644
> index 000000000..c4bee1838
> --- /dev/null
> +++ b/lib/igt_panthor.h
> @@ -0,0 +1,8 @@
> +// SPDX-License-Identifier: MIT

In headers you should use C-ctyle comments:

/* SPDX-License-Identifier: MIT */

> +// SPDX-FileCopyrightText: Copyright (C) 2025 Collabora Ltd.

Same here.

Regards,
Kamil

> +
> +#ifndef IGT_PANTHOR_H
> +#define IGT_PANTHOR_H
> +
> +
> +#endif /* IGT_PANTHOR_H */
> diff --git a/lib/meson.build b/lib/meson.build
> index f078dad4e..1738f1b54 100644
> --- a/lib/meson.build
> +++ b/lib/meson.build
> @@ -104,6 +104,7 @@ lib_sources = [
>  	'igt_kmod.c',
>  	'igt_ktap.c',
>  	'igt_panfrost.c',
> +	'igt_panthor.c',
>  	'igt_v3d.c',
>  	'igt_vc4.c',
>  	'igt_vmwgfx.c',
> -- 
> 2.50.1
> 

  reply	other threads:[~2025-08-29 11:42 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-28 13:03 [PATCH i-g-t 0/4] Add initial Panthor tests Daniel Almeida
2025-08-28 13:03 ` [PATCH i-g-t 1/4] lib: add support for opening Panthor devices Daniel Almeida
2025-08-28 15:39   ` Steven Price
2025-08-29 11:35     ` Kamil Konieczny
2025-08-28 13:03 ` [PATCH i-g-t 2/4] tests: panthor: add initial infrastructure Daniel Almeida
2025-08-28 13:03 ` [PATCH i-g-t 3/4] lib: initial panthor infrastructure Daniel Almeida
2025-08-29 11:42   ` Kamil Konieczny [this message]
2025-08-28 13:04 ` [PATCH i-g-t 4/4] tests/panthor: add panthor tests Daniel Almeida
2025-08-28 15:39   ` Steven Price
2025-08-29 11:31   ` Kamil Konieczny
2025-08-28 14:01 ` [PATCH i-g-t 0/4] Add initial Panthor tests Boris Brezillon
2025-08-29 11:46 ` Juha-Pekka Heikkilä
2025-08-29 11:48 ` 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=20250829114243.wkerbxpyngc7h3ha@kamilkon-DESK.igk.intel.com \
    --to=kamil.konieczny@linux.intel.com \
    --cc=adrinael@adrinael.net \
    --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=juhapekka.heikkila@gmail.com \
    --cc=karthik.b.s@intel.com \
    --cc=liviu.dudau@arm.com \
    --cc=steven.price@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;
as well as URLs for NNTP newsgroup(s).