From: sashiko-bot@kernel.org
To: "Geert Uytterhoeven" <geert@linux-m68k.org>
Cc: dri-devel@lists.freedesktop.org
Subject: Re: [PATCH v2] gpu: GPU_BUDDY_KUNIT_TEST should not select GPU_BUDDY
Date: Tue, 25 Aug 2026 15:40:14 +0000 [thread overview]
Message-ID: <20260825154015.41B4D1F000E9@smtp.kernel.org> (raw)
In-Reply-To: <e67a2cb0d599b75ae365882913c543e7b0c5b8a3.1787671708.git.geert@linux-m68k.org>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] Adding `depends on DRM || COMPILE_TEST` to the `bool` symbol `GPU_BUDDY` causes a Kconfig unmet direct dependencies warning when `DRM=m`, and breaks manual selection of the KUnit test.
--
--- Patch [1]: [PATCH v2] gpu: GPU_BUDDY_KUNIT_TEST should not select GPU_BUDDY ---
commit 0c0f9dc26f6481afe68d4de6c66198acb6cb9883
Author: Geert Uytterhoeven <geert@linux-m68k.org>
gpu: GPU_BUDDY_KUNIT_TEST should not select GPU_BUDDY
This commit changes GPU_BUDDY_KUNIT_TEST to depend on GPU_BUDDY instead
of selecting it. It also adds a dependency on DRM or COMPILE_TEST to
GPU_BUDDY and makes it user-visible when KUNIT is enabled.
> diff --git a/drivers/gpu/Kconfig b/drivers/gpu/Kconfig
> index 3bcf08260d73a..d881ab6f7a006 100644
> --- a/drivers/gpu/Kconfig
> +++ b/drivers/gpu/Kconfig
> @@ -1,14 +1,15 @@
> # SPDX-License-Identifier: GPL-2.0
>
> config GPU_BUDDY
> - bool
> + bool "Page based buddy allocator for GPU memory" if KUNIT
> + depends on DRM || COMPILE_TEST
[Severity: Low]
Does adding this dependency cause a Kconfig warning when DRM is configured
as a module?
Because GPU_BUDDY is a boolean symbol, this dependency restriction evaluates
to 'm' when CONFIG_DRM=m and CONFIG_COMPILE_TEST=n. This causes a conflict
with the 'select' from DRM_BUDDY, resulting in an unmet direct dependencies
warning.
Additionally, could this prevent developers from manually enabling the KUnit
test when DRM=m without COMPILE_TEST?
--
Sashiko AI review · https://sashiko.dev/#/patchset/e67a2cb0d599b75ae365882913c543e7b0c5b8a3.1787671708.git.geert@linux-m68k.org?part=1
next prev parent reply other threads:[~2026-08-25 15:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-25 15:29 [PATCH v2] gpu: GPU_BUDDY_KUNIT_TEST should not select GPU_BUDDY Geert Uytterhoeven
2026-08-25 15:40 ` sashiko-bot [this message]
2026-08-25 18:55 ` Andi Shyti
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=20260825154015.41B4D1F000E9@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=geert@linux-m68k.org \
--cc=sashiko-reviews@lists.linux.dev \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.