From: Janusz Krzysztofik <janusz.krzysztofik@linux.intel.com>
To: Krzysztof Niemiec <krzysztof.niemiec@intel.com>,
igt-dev@lists.freedesktop.org
Cc: Andi Shyti <andi.shyti@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 v2 3/3] tests/gpu_buddy: Rename the KUnit buddy allocator test
Date: Fri, 26 Jun 2026 12:28:34 +0200 [thread overview]
Message-ID: <fdc04285c77b28487c70dca208328df0795345ea.camel@linux.intel.com> (raw)
In-Reply-To: <20260625192850.56004-4-krzysztof.niemiec@intel.com>
On Thu, 2026-06-25 at 21:28 +0200, 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.
>
> Signed-off-by: Krzysztof Niemiec <krzysztof.niemiec@intel.com>
> Reviewed-by: Sebastian Brzezinka <sebastian.brzezinka@intel.com>
> Reviewed-by: Krzysztof Karas <krzysztof.karas@intel.com>
Reviewed-by: Janusz Krzysztofik <janusz.krzysztofik@linux.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..4cea2e124 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);
> }
> diff --git a/tests/meson.build b/tests/meson.build
> index 4c1a39e9e..0d9008bbd 100644
> --- a/tests/meson.build
> +++ b/tests/meson.build
> @@ -12,11 +12,11 @@ test_progs = [
> 'dmabuf_sync_file',
> 'device_reset',
> 'dumb_buffer',
> - 'drm_buddy',
> 'drm_mm',
> 'drm_read',
> 'drm_virtgpu',
> 'fbdev',
> + 'gpu_buddy',
> 'kms_3d',
> 'kms_addfb_basic',
> 'kms_async_flips',
next prev parent reply other threads:[~2026-06-26 10:29 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-25 19:28 [PATCH i-g-t v2 0/3] Treat new/moved KUnit tests as such Krzysztof Niemiec
2026-06-25 19:28 ` [PATCH i-g-t v2 1/3] tests/intel-ci: Remove dmabuf tests from i915 fast feedback Krzysztof Niemiec
2026-06-26 9:16 ` Janusz Krzysztofik
2026-06-25 19:28 ` [PATCH i-g-t v2 2/3] tests/dmabuf: Port dmabuf tests to KUnit Krzysztof Niemiec
2026-06-26 9:17 ` Janusz Krzysztofik
2026-06-25 19:28 ` [PATCH i-g-t v2 3/3] tests/gpu_buddy: Rename the KUnit buddy allocator test Krzysztof Niemiec
2026-06-26 10:28 ` Janusz Krzysztofik [this message]
2026-06-25 21:41 ` ✗ Xe.CI.BAT: failure for Treat new/moved KUnit tests as such (rev3) Patchwork
2026-06-25 22:10 ` ✓ i915.CI.BAT: success " Patchwork
2026-06-26 1:36 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-06-26 7:10 ` ✗ 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=fdc04285c77b28487c70dca208328df0795345ea.camel@linux.intel.com \
--to=janusz.krzysztofik@linux.intel.com \
--cc=andi.shyti@linux.intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=kamil.konieczny@linux.intel.com \
--cc=krzysztof.karas@intel.com \
--cc=krzysztof.niemiec@intel.com \
--cc=sebastian.brzezinka@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