All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lucas De Marchi <lucas.demarchi@intel.com>
To: intel-xe@lists.freedesktop.org
Cc: "Lucas De Marchi" <lucas.demarchi@intel.com>,
	"Randy Dunlap" <rdunlap@infradead.org>,
	"Jani Nikula" <jani.nikula@intel.com>,
	"Harry Austen" <hpausten@protonmail.com>,
	"Thomas Hellström" <thomas.hellstrom@linux.intel.com>,
	"Jani Nikula" <jani.nikula@linux.intel.com>,
	"Maarten Lankhorst" <maarten.lankhorst@linux.intel.com>
Subject: [PATCH v2 2/2] drm/xe: Allow dropping kunit dependency as built-in
Date: Fri, 27 Jun 2025 13:30:35 -0700	[thread overview]
Message-ID: <20250627-xe-kunit-v2-2-756fe5cd56cf@intel.com> (raw)
In-Reply-To: <20250627-xe-kunit-v2-0-756fe5cd56cf@intel.com>

From: Harry Austen <hpausten@protonmail.com>

Fix Kconfig symbol dependency on KUNIT, which isn't actually required
for XE to be built-in. However, if KUNIT is enabled, it must be built-in
too.

Fixes: 08987a8b6820 ("drm/xe: Fix build with KUNIT=m")
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Harry Austen <hpausten@protonmail.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
---
 drivers/gpu/drm/xe/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/xe/Kconfig b/drivers/gpu/drm/xe/Kconfig
index 553c29e1030b1..827bc75b8b48f 100644
--- a/drivers/gpu/drm/xe/Kconfig
+++ b/drivers/gpu/drm/xe/Kconfig
@@ -1,7 +1,8 @@
 # SPDX-License-Identifier: GPL-2.0-only
 config DRM_XE
 	tristate "Intel Xe2 Graphics"
-	depends on DRM && PCI && (m || (y && KUNIT=y))
+	depends on DRM && PCI
+	depends on KUNIT || !KUNIT
 	depends on INTEL_VSEC || !INTEL_VSEC
 	depends on X86_PLATFORM_DEVICES || !(X86 && ACPI)
 	select INTERVAL_TREE

-- 
2.49.0


  parent reply	other threads:[~2025-06-27 20:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-27 20:30 [PATCH v2 0/2] drm/xe: xe with/without kunit Lucas De Marchi
2025-06-27 20:30 ` [PATCH v2 1/2] drm/xe: Fix conflicting intel_pcode_* symbols Lucas De Marchi
2025-06-27 21:24   ` Rodrigo Vivi
2025-06-28  2:55   ` Randy Dunlap
2025-06-27 20:30 ` Lucas De Marchi [this message]
2025-06-28  2:56   ` [PATCH v2 2/2] drm/xe: Allow dropping kunit dependency as built-in Randy Dunlap
2025-06-28 14:33 ` [PATCH v2 0/2] drm/xe: xe with/without kunit Lucas De Marchi

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=20250627-xe-kunit-v2-2-756fe5cd56cf@intel.com \
    --to=lucas.demarchi@intel.com \
    --cc=hpausten@protonmail.com \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=jani.nikula@intel.com \
    --cc=jani.nikula@linux.intel.com \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=rdunlap@infradead.org \
    --cc=thomas.hellstrom@linux.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 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.