From: Sebastian Brzezinka <sebastian.brzezinka@intel.com>
To: Krzysztof Niemiec <krzysztof.niemiec@intel.com>,
<igt-dev@lists.freedesktop.org>
Cc: Andi Shyti <andi.shyti@linux.intel.com>,
Janusz Krzysztofik <janusz.krzysztofik@linux.intel.com>,
Kamil Konieczny <kamil.konieczny@linux.intel.com>,
Krzysztof Karas <krzysztof.karas@intel.com>,
Sebastian Brzezinka <sebastian.brzezinka@intel.com>
Subject: Re: [PATCH i-g-t 2/3] tests/gpu_buddy: Update buddy allocator tests
Date: Wed, 24 Jun 2026 11:54:16 +0200 [thread overview]
Message-ID: <DJH6SPTN4KBN.3JB1UQ6IQ2PS@intel.com> (raw)
In-Reply-To: <20260623200152.12996-3-krzysztof.niemiec@intel.com>
Hi Krzysztof,
On Tue Jun 23, 2026 at 10:01 PM CEST, Krzysztof Niemiec wrote:
> The DRM buddy allocator has been moved one level up, and is now renamed
> to just the GPU buddy allocator. This means that the .ko object used to
> run the KUnit test has been renamed, so IGT tries to run a test that
> doesn't exist anymore.
>
> Rename the drm_buddy.c file to gpu_buddy.c to reflect the kernel change,
> and update the igt_kunit() call to invoke the proper tests. Also update
> tests/meson.build to prevent the build system from trying to build
> drm_buddy, and make it build gpu_buddy in its stead.
>
> Signed-off-by: Krzysztof Niemiec <krzysztof.niemiec@intel.com>
> ---
> tests/{drm_buddy.c => gpu_buddy.c} | 4 ++--
> tests/meson.build | 2 +-
> 2 files changed, 3 insertions(+), 3 deletions(-)
> rename tests/{drm_buddy.c => gpu_buddy.c} (51%)
>
> diff --git a/tests/drm_buddy.c b/tests/gpu_buddy.c
> similarity index 51%
> rename from tests/drm_buddy.c
> rename to tests/gpu_buddy.c
> index dbc7c957d..8683b5af0 100644
> --- a/tests/drm_buddy.c
> +++ b/tests/gpu_buddy.c
> @@ -6,9 +6,9 @@
> #include "igt.h"
> #include "igt_kmod.h"
>
> -IGT_TEST_DESCRIPTION("Basic sanity check of DRM's buddy allocator (struct drm_buddy)");
> +IGT_TEST_DESCRIPTION("Basic sanity check of the GPU buddy allocator (struct gpu_buddy)");
>
> int igt_main()
> {
> - igt_kunit("drm_buddy_test", NULL, NULL);
> + igt_kunit("gpu_buddy_tests", NULL, NULL);
For some reason, I checked it, and igt_kunit uses strstr() to match _test,
so the _tests might be ok. Still, I would prefer the singular form.
But if it works, I'm fine with this.
Reviewed-by: Sebastian Brzezinka <sebastian.brzezinka@intel.com>
--
Best regards,
Sebastian
next prev parent reply other threads:[~2026-06-24 9:54 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-23 20:01 [PATCH i-g-t 0/3] Treat new/moved KUnit tests as such Krzysztof Niemiec
2026-06-23 20:01 ` [PATCH i-g-t 1/3] tests/dmabuf: Port dmabuf tests to KUnit Krzysztof Niemiec
2026-06-24 14:12 ` Krzysztof Karas
2026-06-23 20:01 ` [PATCH i-g-t 2/3] tests/gpu_buddy: Update buddy allocator tests Krzysztof Niemiec
2026-06-24 9:54 ` Sebastian Brzezinka [this message]
2026-06-24 12:08 ` Kamil Konieczny
2026-06-24 14:15 ` Krzysztof Karas
2026-06-23 20:01 ` [PATCH i-g-t 3/3] tests/intel-ci: Remove dmabuf tests from i915 fast feedback Krzysztof Niemiec
2026-06-24 11:50 ` Kamil Konieczny
2026-06-24 14:17 ` Krzysztof Karas
2026-06-23 20:54 ` ✓ Xe.CI.BAT: success for Treat new/moved KUnit tests as such Patchwork
2026-06-23 21:09 ` ✗ i915.CI.BAT: failure " Patchwork
2026-06-24 3:22 ` ✗ Xe.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=DJH6SPTN4KBN.3JB1UQ6IQ2PS@intel.com \
--to=sebastian.brzezinka@intel.com \
--cc=andi.shyti@linux.intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=janusz.krzysztofik@linux.intel.com \
--cc=kamil.konieczny@linux.intel.com \
--cc=krzysztof.karas@intel.com \
--cc=krzysztof.niemiec@intel.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